-
1. Re: rest rich:popupPanel data after client side validation (bug)
sivaprasad9394 Feb 25, 2014 11:14 AM (in response to wish79)Add like below,
Use a4j:command Button and oncomplete hide the popup
<rich:popupPanel id="addPopupRole"
domElementAttachment="body"
modal="true"
header="#{lbs.ROLE_ADD_FN}"
moveable="true"
autosized="true"
headerClass="pop-header" >
<f:facet name="controls">
<h:outputLink value="#" onclick="#{rich:component('addPopupRole')}.hide(); return false;">
<a4j:commandLink value="#" action="{Do your server side action for clear values}" oncomplete="#{rich:component('addPopupRole')}.hide(); return false;"/>
X
</h:outputLink>
</f:facet>
<h:form id="addRoleForm">
-
2. Re: rest rich:popupPanel data after client side validation (bug)
wish79 Feb 26, 2014 2:22 AM (in response to sivaprasad9394)Hello Siva,
I exactly what you said :
<rich:popupPanel id="addPopupRole"
domElementAttachment="body"
modal="true"
header="#{lbs.ROLE_ADD_FN}"
moveable="true"
autosized="true"
headerClass="pop-header" >
<f:facet name="controls">
<h:outputLink value="#" onclick="#{rich:component('addPopupRole')}.hide(); return false;">
<a4j:commandLink value="#" action="{addBacking.init}" oncomplete="#{rich:component('addPopupRole')}.hide(); return false;"/>
X
</h:outputLink>
</f:facet>
But unfortunately it dose not solve the problem.