Dynamic Controls generating issue......

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

Dynamic Controls generating issue......

Sathish K Mittapelli
Hai All ,

I am trying to generate controls dynamically.I have attached my sandbox example.Please suggest me changes to obtain my requirement.

THANKS & REGARDS
SATHISH K MITTAPELLI  

Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php

--
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
OW2 mailing lists service home page: http://www.ow2.org/wws

DynamicControls.xhtml (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Dynamic Controls generating issue......

Alessandro Vernet
Administrator
Sathish,

On Tue, May 27, 2008 at 11:02 PM, sathish kumar <[hidden email]> wrote:
> I am trying to generate controls dynamically.I have attached my sandbox
> example.Please suggest me changes to obtain my requirement.

You want to use an xforms:group instead of xforms:switch/xforms:case
here. See your example modified attached. Note that the controls
should be bound to some other node. In the current code they are bound
to <control> which specifies what type of control is to be used. You
may want to a <value> or use a separate instance to collect the actual
answers.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
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
OW2 mailing lists service home page: http://www.ow2.org/wws

DynamicControls.xhtml (3K) Download Attachment