This content has been marked as final.
Show 3 replies
-
1. Re: togglePanel initState use
ma.aqcon May 9, 2008 4:19 AM (in response to astarte)Page flow control (where i am, where i am coming from) is a big gap in JSF. To control that you need an additional framework like Apache Shale or JBoss Seam.
But there might be a workaroung which helps you without using one of the additions:
Create an attribute in your backing beanprivate String initialTogglePanel; ...
and use this in your page:<rich:togglePanel initialState="#{BackingBean.initialTogglePanel}"
Set the value of initialTogglePanel in your action method which is called from your previous page, e.g.public String moveToTogglePage() { initialTogglePanel = "tip1"; return "action_to_toggle_page"; }
Hope that helps! -
2. Re: togglePanel initState use
astarte May 11, 2008 8:02 PM (in response to astarte)Thanx for the tip, I figured I would have to use a backing bean. The refeering page currently navigates via an image map, I am not sure how I would implement the backing bean setting call into that?
-
3. Re: togglePanel initState use
astarte May 11, 2008 11:12 PM (in response to astarte)Figured it out!