This content has been marked as final.
Show 2 replies
-
1. Re: ModalPanel from a4j:commandLink after correct validation
g4j Apr 29, 2010 9:53 AM (in response to marioosh.net)I think you can do this using oncomplete attribute:
<a4j:commandLink value="..." action="..." oncomplete="if (#{facesContext.maximumSeverity==null}) #{rich:component('yourModalPanelId')}.show();"/>
#{facesContext.maximumSeverity==null} verifies whether some validation occurs, else, executes #{rich:component('yourModalPanelId')}.show();
i hope this helps!
-
2. Re: ModalPanel from a4j:commandLink after correct validation
marioosh.net Apr 30, 2010 1:32 AM (in response to g4j)That works! Thanks:)