This content has been marked as final.
Show 2 replies
-
2. Re: Form values are getting inserted if submitted from Modal
sugi_chn Jun 24, 2008 8:29 AM (in response to rmuruga)Try with this..
here is a sample..
<rich:modalPanel id="showInviteUser" resizeable="false" moveable="false">
<a4j:form id="userInviteForm" >
<h:outputLabel value="Email Address" style="FONT-SIZE: 100%; FONT-WEIGHT: bold; color:#6f6f6f"/>
<h:outputLabel value="*" style="FONT-SIZE: 100%; FONT-WEIGHT: bold; color:#CC0033"/>
<h:outputLabel value=""/>
<h:inputText id="inviteUserEmailAddress" maxlength="250" value="#{userInfo.inviteEmail}" />
<h:outputLabel value=""/>
<h:outputLabel value=""/>
<a4j:commandButton id="inviteBtn" action="#{userInfo.inviteUser}" value="Invite"/>
</a4j:form>
</rich:modalPanel>
In your backing bean include getters/setters for inviteEmail and write a method inviteUser.
Hope it should work..
Try :)
Regards
sugi