This content has been marked as final.
Show 3 replies
-
1. Re: i cant use commandButton within modal panel
ilya_shaikovsky Jun 27, 2007 11:02 AM (in response to alexrozario)1) http://labs.jboss.com/auth/wiki/ModalPanelValidation
2) yes you may use commandButton of type="button" and use onclick -
2. Re: i cant use commandButton within modal panel
sergeysmirnov Jun 27, 2007 11:15 AM (in response to alexrozario)1.
add id="formpanel" for your h:panelGrid
2.
replace
<h:commandButton value="Login" action="#{identity.login}"/>
with
<a4j:commandButton value="Login" action="#{identity.login}" reRender="formpanel"/>
3.
important: be sure the navigation rule for #{identity.login} outcome has option
4.
replace:
<h:commandButton value="cancel" onClick="javascript:Richfaces.hideModalPanel('mp')"/>
with
<h:commandButton type="button" value="cancel" onClick="javascript:Richfaces.hideModalPanel('mp')"/> -
3. Re: i cant use commandButton within modal panel
alexrozario Jun 28, 2007 12:47 AM (in response to alexrozario)thanks a lot to both of you.
thank you for you valuable help.