This content has been marked as final.
Show 2 replies
-
1. Re: simpleTogglePanel onExpand event
Kristof Vanhaeren Feb 18, 2009 6:07 PM (in response to Kristof Vanhaeren)Seems like I needed to use the actionListener attribute and bind it to a method that takes an ActionEvent parameter in the backing bean.
I still don't know how best to differentiate between an expand and a collapse event, however -
2. Re: simpleTogglePanel onExpand event
Nick Belaevski Feb 18, 2009 8:30 PM (in response to Kristof Vanhaeren)on* handlers are client-side event handlers and contain Javascript code to execute when some event happened (like common onclick attribute). These handlers are requested each time the component is rendered.
Cast ActionEvent to org.richfaces.event.SimpleToggleEvent - then use isIsOpen() method to get new state.