I browsed RichFaces SimpleTogglePanel demo page, and reloaded it after
I pushed "Ajax switch type" button for hiding the additional content.
After reloading, the additional content was shown as default.
But when I pushed the button, tried to hide the content again,
it did not work (unless push the button twice).
The most strange thing is that it only happens when the browser is Firefox.
I had wrote a similar UI and here is the process:
Firefox:
load page
savestate: content is shown
push button
restorestate: content is shown
savestate: content is hidden
reload page
savestate: content is shown
push button
restorestate: content is hidden ???
savestate: content is shown
IE and Opera:
load page
savestate: content is shown
push button
restorestate: content is shown
savestate: content is hidden
reload page
savestate: content is shown
push button
restorestate: content is shown
savestate: content is hidden
Is this a bug?
Thanks in advance.