2 Replies Latest reply on Mar 9, 2010 11:55 AM by Luan Cestari

    simpleTogglePanel - change opened value

    Luan Cestari Newbie



      I'd like to ask help with simpleTogglePanel. I don't know if it is a bug (I even tried to find it on https://jira.jboss.org/jira/browse/RF) or not but the problem is: if I set a variable in the context (@in and Out with required = false) holding true or false and put it on the opened  attribute of simpleTogglePanel and if I call an action to change this value and rerender the simpleTogglePanel, the simpleTogglePanel doesn't open/close. It only open/close when I go to a nested conversation and go back, but i want that the simpleTogglePanel be closed when a button is clicked to get more space in the same page.


      Well if there is another way to do it (like using rich:component) , I would like to know =D


      Could any  one help me please?




      Luan Cestari