I am using simpleTogglePanel in my UI inside <a4j:repeat> and I want to show certain panels in collapsed and certain in expanded mode. I am changing the value of "opened" attribute of <simpleTogglePanel> for this. But it is not getting refelected when running the application and always it is showing in expanded mode even if I give hardcoded value opened="false" .
What might be the reason? Any other way around is there to solve this issue?