That's right: you can't dynamically introduce new controls into an
XForms document, at least this way. You could possibly do this as a
pre-processing step in XSLT, for example, but that's a completely
different matter.
Florian's approach below is the one we have been using in many cases.
-Erik
On Mar 19, 2008, at 4:07 AM, Florian Schmitt wrote:
> hi sathish,
>
> you can use:
>
> <xforms:group ref=".[<condition>]">
> [content conditionally shown depending on the evaluation of
> <condition>]
> </xforms:group>
>
> So, to dynamically switch between two controls, you've got to insert
> both of them, each in a xforms:group that references the condition
> that tells which control to show.
>
> HTH
> florian
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/--
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