maxLength for input

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

maxLength for input

ozenzin
First - thanks for all the fish :) I mean your quick and effective responses.

There is another question, if you pls: can I define restriction for input, like html:input/@maxLength? I've found that xforms-to-xhtml.xsl had such possibility - to pass all attributes (not xforms and empty namespaced) to html:input. But NG seems to use native xForms processor "oxf:xforms-to-xhtml" which somehow passes attributes not to html:input but to html:span sibling.

Thank you,
Oleg



--
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
Reply | Threaded
Open this post in threaded view
|

Re: maxLength for input

Erik Bruchez
Administrator
Oleg,

 > First - thanks for all the fish :) I mean your quick and effective
responses.

You're welcome. We answer quickly to easy questions, but a little
slower to hard questions ;-)

 > There is another question, if you pls: can I define restriction for
 > input, like html:input/@maxLength? I've found that
 > xforms-to-xhtml.xsl had such possibility - to pass all attributes
 > (not xforms and empty namespaced) to html:input. But NG seems to use
 > native xForms processor "oxf:xforms-to-xhtml" which somehow passes
 > attributes not to html:input but to html:span sibling.

This is an easy one:

   <xforms:input xxforms:maxlength="20" ...>

I just added this to the documentation.

-Erik

--
Orbeon Forms - XForms Everywhere
http://www.orbeon.com/blog/




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