[jboss-user] [JBoss Seam] - Re: Automatic disabling of ui components
jacob.orshalick
do-not-reply at jboss.com
Fri Sep 14 14:11:13 EDT 2007
You could observe the org.jboss.seam.afterPhase event after the RENDER_RESPONSE phase as follows:
| @Observer("org.jboss.seam.afterPhase")
| public void handleDisabling(PhaseEvent event) {
| if(event.getPhaseId() == PhaseId.RENDER_RESPONSE) {
| if(date is reached) {
| do disabling logic
| }
| }
| }
|
Hope that helps.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084599#4084599
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084599
More information about the jboss-user
mailing list