Persisting RichMaces Panel State Between Requests

I'm trying to use the RichFacesMenu dashboard as a navigation menu, but can't find a way to maintain state between requests yet. Is there anyway to tell the menu panel to render with specific groups extended without using ajax?

I have tried setting a value in the Menu Bar and using selectedChild, all to no avail.

+2


source to share


1 answer


The state of extended sections is controlled by children rich:panelMenuGroup

, in particular their attributes expanded

; they can be bound to server objects. You have to make sure that their server side state is updated in some way, either by setting rich:panelMenu

with an attribute expandMode="server"

(which will cause a submission to the server) or by giving it a child of any form.



+2


source







All Articles