- From: Mark Birbeck <mark.birbeck@webbackplane.com>
- Date: Thu, 28 Aug 2008 20:32:48 +0100
- To: "Thomas Ling" <nkling@gmail.com>
- Cc: www-forms@w3.org
Hi Thomas, This is great...nice work. A few things on your notes: On point 2, I don't think we need a switch. The idea has always been that we are dealing with is still an HTML form, but that we're giving it an XForms 'interpretation'. So if I write this: <form action="blah"> ... </form> the normal HTML behaviour is to request the URL "blah" and replace the current form with it. We're not changing that behaviour; all we're saying is that you could use different 'words' to describe that behaviour, and in XForms that could be represented by: <submission method="get" resource="blah" replace="all" /> So we're seeking to 'map' HTML form behaviour to XForms form behaviour, since that then makes it easy to add further XForms behaviour. On point 4 about label, the way you have done it is _exactly_ how it will have to be done. :) This is because current browsers don't allow children of <input>, so neither of these are possible: <input id="name" name="name" type="string" default="Joe Q. Public">Name: </input> <input id="name" name="name" type="string" default="Joe Q. Public"> <label>Name:</label> </input> I think @for is a good solution, as it happens, and you'll notice that we've started to use it with <xf:alert> in the Ubiquity XForms library, and plan to use it for hint and other such elements. By the way, the problem with the other alternative you list: <input id="name" label="Name :" name="name" type="string" default="Joe Q. Public" /> is that it is difficult to internationalise; having an element is better. Regards, Mark On Wed, Aug 27, 2008 at 10:47 PM, Thomas Ling <nkling@gmail.com> wrote: > > Hi all, > > I posted a Simplified Syntax Loan Application Form Example on the > ubiquity-xforms wiki > > http://code.google.com/p/ubiquity-xforms/wiki/SimplifiedLoanForm > > The example is based on John's Proposal on Simplified Syntax > http://lists.w3.org/Archives/Public/public-forms/2008Mar/0097.html > with some tentative syntaxes added, in order to make the example complete. > > The example is created to outline a basic implementation of the Forms > WG simplified syntax > suitable for HTML4 forms authors using the ubiquity-xforms codebase. > You can found the story here: > http://code.google.com/p/ubiquity-xforms/wiki/StorySimplifiedSyntax > > Please let me know if you have any comment. > > Thanks > > Thomas > > > -- Mark Birbeck, webBackplane mark.birbeck@webBackplane.com http://webBackplane.com/mark-birbeck webBackplane is a trading name of Backplane Ltd. (company number 05972288, registered office: 2nd Floor, 69/85 Tabernacle Street, London, EC2A 4RR)
Received on Thursday, 28 August 2008 19:33:30 UTC