View Single Post
  #1 (permalink)  
Old October 13th, 2010, 09:41 AM
prss prss is offline
Registered User
Join Date: Oct 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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:

    <component name='input'/>
    <component name='output'/>
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.
Reply With Quote