Modify JSF Page Dynamically via Java
I'm working on a project which I need to turn a XML file into a JSF Page using XSLT for this purpose. I'm using Xalan parser to make this conversion in Java.
My JSF main page includes another JSF page called "questionario.jsp". Everytime I click on a button I need to modify the content of the page "questionario.jsp" dynamically, that is, I need to call a method in the bean that will create a XML file and make the transformation (XML -> JSF). After I get my JSF page code well formed in a String for example, I need to write such code in "questionario.jsp" page.
The problem is that I can modify page's content but nothing appears in my browser unless I open "questionario.jsp", refresh it (using eclipse as IDE) and rerender the page on browser. How can I make the content to be shown without that refresh step, I mean, automatically update the screen after button's action?
Is that possible?
Thanks in advance!
Last edited by prss; October 7th, 2010 at 07:49 AM..