-
1. Re: Problem with popupPanel and validate
fafino Oct 25, 2011 6:52 AM (in response to fafino)The problem is that I use region and form, I used:
<h:form id="idform" autocomplete="off">
<a4j:commandLink styleClass="no-decor" render="panelgridNuovaLinea" value="apri"
execute="@this" oncomplete="#{rich:component('popupNuovaLinea')}.show()" >
</a4j:commandLink>
...
</h:form>
<a4j:region>
<h:forum>
<rich:popupPanel id="popupNuovaLinea" modal="true" autosized="true"
....
validate
</h:forum>
</a4j:region>
the follows code function:
<h:form id="idform" autocomplete="off">
<a4j:commandLink styleClass="no-decor" render="panelgridNuovaLinea" value="apri"
execute="@this" oncomplete="#{rich:component('popupNuovaLinea')}.show()" >
</a4j:commandLink>
....
<rich:popupPanel id="popupNuovaLinea" modal="true" autosized="true"
....
validate
</h:forum>
-
2. Re: Problem with popupPanel and validate
bleathem Oct 25, 2011 2:11 PM (in response to fafino)Youll have to "attach" the popup panel to the form using the domElementAttachment attribute.