[PJUG Javamail] JSF question

Zack Radick zack at crc-corp.com
Fri Feb 13 12:39:22 EST 2009


Mike,
It depends on what libraries you are using for your JSF.  If you are 
using RichFaces and Ajax4JSF, I would suggest simply re-rendering the 
appropriate region after calling your backing-bean 
function.  However, assuming your backing-bean scope is "request" (or 
that you re-set the values of the fields for your checkbox initial 
states if not) then it should work to simply reload the page.  There 
are many ways to do things with JSF, especially once you add in an 
Ajax enabled framework to the picture (assuming you can also use JS of course).
Cheers,
--Zack

At 09:28 AM 2/13/2009, Michael Phoenix wrote:
>This is kind of a newbie question, but I've only been working with JSF
>professionally for about 6 months, so I'm hoping for some advice from
>more experienced developers.
>
>I'm doing some major renovations to our application's UI. I want to be
>able to check several boxes, click a button to perform a backing bean
>function, and then come back to the same screen re-initialized to
>clear the check boxes. I'm thinking of using the faces configuration
>navigation faculty to do this by having the function I invoke return
>the action string and using my page as the "to-view". Will this work
>or is there a better way to clear the check boxes?
>
>Thanks,
>Mike
>_______________________________________________
>Web Site - http://www.pjug.org/
>Javamail mailing list
>Javamail at pjug.org
>http://www.pjug.org/mailman/listinfo/javamail




More information about the Javamail mailing list