|
Hello, I’ve got a JSF application which uses the
<f:param> tag embedded in a <h:commandLink> tag in several places. Now
I need to set a parameter in a backing bean that is accessible to the JSP when
the page is re-rendered (the same page is reloaded after the actionlistener
executes, no navigation taking place). How would I go about attaching a parameter so that it would
be accessible? Note that this type of code doesn’t work: Public void actionListener (ActionEvent evt) { UIParameter uip = new UIParameter(); Uip.setName(“blah”); Uip.setValue(“blah”); Uip.setParent(Evt.getComponent()); } I am guessing this is because the component tree is
re-created when the response is rendered, and that therefore the parameter
disappears when my JSP tries to get to it. Any ideas as to how this would be done? I’m pretty
lost and would appreciate your help. -Saumil |
- set UIParameter in backing bean Saumil Mehta
- Re: set UIParameter in backing bean Emily Gu
- Re: set UIParameter in backing bean Mike Kienenberger
- RE: set UIParameter in backing bean Saumil Mehta
- Re: set UIParameter in backing bean Emily Gu
- Re: set UIParameter in backing bean Dennis Byrne

