autosuggest in xforms:repeat ?

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

autosuggest in xforms:repeat ?

johnecobo
Hello,

I am attempting to create a repeating xform set (xforms:repeat) where the repeating input fields can use a javascript autosuggest function (see http://www.webreference.com/programming/javascript/ncz/column3/index.html for the script I want to use ).

Has anyone done this ?  For me trips to the server ala AJAX are not necessary as the list of options is fixed.

My attemps have failed at the point where the java script is using <input id="txt1" type="text"/>.  <xforms:input ...> does not seem to like the 'id' property.

Thanks,

John C.



--
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: autosuggest in xforms:repeat ?

Alessandro  Vernet
Administrator
--- [hidden email] wrote:
> I am attempting to create a repeating xform set (xforms:repeat) where
> the repeating input fields can use a javascript autosuggest function
> (see
>
http://www.webreference.com/programming/javascript/ncz/column3/index.html
> for the script I want to use ).
>
> Has anyone done this ?  For me trips to the server ala AJAX are not
> necessary as the list of options is fixed.

AFAIK, nobody has done that yet. The idea would be to do this in the OPS
XForms engine, so a developer could just use a <xforms:select1
select="open" appearance="minimal">. If you write some code to this
effect, please let us know. That would make a nice contribution to the OPS
XForms engine.

Alex

--
Blog (XML, Web apps, Open Source): 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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet