RE: Does Xforms bind foce ajax

Posted by Richard Braman on
URL: https://discuss.orbeon.com/DMV-Forms-Example-tp27273p27284.html

Span tags are meant to format text, not inputs.
please review the following code in IE and tell me what works:

<html>
<body>
<form>
<span style="font-size:11px;font-weight:bold">
<input type="text" name="doesnotwork">
</span>
<input type="text" name="styley"
style="font-size:11px;font-weight:bold">
</form>
</body>
</html>

Putting this code in the native java is a buzkill.

-----Original Message-----
From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez
Sent: Thursday, February 09, 2006 3:59 PM
To: [hidden email]
Subject: Re: [ops-users] Does Xforms bind foce ajax


Richard Braman wrote:
 > It seems when I switched to using x forms:bid, it sent tverything
into  > ajax.

Not sure what you mean here.

 > I see at least one issue with ajax.  The code below seems to puts a
> span tag around the xforms input, which doesn't work on IE.

Note that xforms-to-ajax-xhtml.xsl is no longer used: we should take it
out of the code base (just did that in the CVS). The translation to HTML
is now done natively in Java.

This said, we do put <span> around <input>. But all the OPS examples do
work with IE, and they too have <span> around <input>. What is the
specific problem you are seeing?

 > What if I don't want to use AJAX?

The only way for now is to use XForms Classic, but then you don't get
any of the XForms improvements in OPS 3.0. In other words, you get
fairly limited XForms support with Classic.

-Erik





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws