|
-
Sep 9th, 2004, 03:44 AM
#1
Thread Starter
Frenzied Member
XForms & XHTML2.0 - which UA and when?
I was thrilled to see that XHTML2 is coming along quite nicely, so I decided to read the draft. When it came to forms it said that they were implementing XForms. This is something I've never heard of before so I decided to read up on it. Even though it will require some re-learning and more un-learning I think it's a great idea and will try my hardest to get a grip on it. I then ended up with this code:
Code:
<h:html xmlns:h="http://www.w3.org/1999/xhtml"
xmlns="http://www.w3.org/2002/xforms">
<h:head>
<h:title>Search</h:title>
<model>
<submission action="http://example.com/search" method="get" id="s"/>
</model>
</h:head>
<h:body>
<h:p>
<input ref="q"><label>Find</label></input>
<select ref="flavors" appearance="full">
<label>Flavors:</label>
<item>
<label>Vanilla</label><value>v</value>
</item>
<item>
<label>Strawberry</label><value>s</value>
</item>
<item>
<label>Chocolate</label><value>c</value>
</item>
</select>
<submit submission="s"><label>Go</label></submit>
</h:p>
</h:body>
</h:html>
Which is supposed to be proper HTML and XForms, I saved that on my desktop and opened it up in FireFox. Making a long story short it didn't support it. Try it out yourself if you want. My question is, what browsers support this? Alternatively, when will Mozilla (I suppose FF,using Moz source code, will support it as Moz starts doing it) and Opera start supporting this? I daren't ask when Netscape or IE will, do I?
Have I helped you? Please Rate my posts. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|