p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   JSP Basics (http://p2p.wrox.com/forumdisplay.php?f=92)
-   -   Dynamic form fields (JSF + XSLT) (http://p2p.wrox.com/showthread.php?t=81231)

prss October 13th, 2010 09:41 AM

Dynamic form fields (JSF + XSLT)
 
I'm working on a project which I need to build a form depending on user's wish. Trying to explain better, suppose I have two buttons ('input' and 'output' button), if user clicks on input button an inputText appears in the screen, if he/she clicks on output one an outputText shows up. To do that, everytime some button is clicked, my bean build a xml file containing the components. For instance, if user clicks on input then output button I'll have this xml file:

Code:

<form>
    <component name='input'/>
    <component name='output'/>
</form>

Ok. Suppose I have an xsl file to allow the transformation to jsf. How can I make this transformation on the fly? I'd like practical aspects of how implement it.

I appreciate any help.
Thanks, Paulo S.


All times are GMT -4. The time now is 05:14 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.