-
1. Re: rich:popupPanel is not working with wildfly AS?
michpetrov Sep 30, 2014 3:43 AM (in response to abucs01)You'll have to specify what "not working" means. Can you share some code?
-
2. Re: rich:popupPanel is not working with wildfly AS?
abucs01 Sep 30, 2014 5:13 AM (in response to michpetrov)My xhtml files below:
1. This is main page here i am including homeResults.xhtml and popUpDlg.xhtml
<h:form>
<h:panelGroup id="showloyaltyhome">
<ui:include
src="../../homeResults.xhtml"></ui:include>
</h:panelGroup>
</h:form>
<ui:include
src="../../pages/loyalty/include/popUpDlg.xhtml"></ui:include>
2. homeResults.xhtml contains command button
<h:commandButton value="Edit"
oncomplete="Richfaces.showModalPanel('popUpDlg');"
immediate="true"
title="Edit" image="/images/edit_icon.png"
styleClass="categoryInner_EditIcon">
<f:setPropertyActionListener
target="#{managedBean.bindBandMaster}"
value="#{bandMaster}" />
<f:setPropertyActionListener
target="#{managedBean.bindMaster}"
value="#{master}" />
</h:commandButton>
3. popUpDlg.xhtml(after clicking command button this page is not dispalying)
<rich:popupPanel id="popUpDlg" minHeight="60"
minWidth="500" height="60" width="500" zIndex="2000" moveable="true" resizeable="false" autosized="true">
.......
......
......
</rich:popupPanel>
Richfaces: 4.3.3
Spring : 4.0.0
Jsf: 2.2.4
-
3. Re: rich:popupPanel is not working with wildfly AS?
michpetrov Sep 30, 2014 5:24 AM (in response to abucs01)The RichFaces.showModalPanel function is not implemented in 4.3.x (you should see an error in the console), simply use #{rich:component('popUpDlg')}.show()