Re: Does Xforms bind foce ajax

Posted by Adrian Baker-2 on
URL: https://discuss.orbeon.com/DMV-Forms-Example-tp27273p27337.html

Hi Richard - I think Alex explained why the style attribute is placed in
the wrapping span: because an xforms:input can result in *many* HTML
elements being generated, not just a single xhtml:input.

If an xforms:input results in 3 xhtml elements being generated (for
example), which of these should the style attribute being assigned to?
It's easiest just consistently apply them to the containing span, then
if required this can be used as a reference to apply styles to the child
elements, such as the xhtml:input.

Adrian

Richard Braman wrote:

> That last post by Alex was a little off topic.  I have spent the last
> few posts asking about the behaviour is OPS that takes attribute in an
> input tag and puts it into a style tag.  I think that an xforms tag
> should be rendered as an html input tag in any tranformation.  If you
> want to put a <span> around it that's fine, but don't move the xforms
> style attribute into it.  That doesn't make any real sense.  The
> span tags DO NOT style input boxes, so why move the style tag that is
> found in an XForms input tag into a span tag?
>
>  



--
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