PopupPanel: doesn't open after re-rendering
--------------------------------------------
Key: RF-9133
URL:
https://jira.jboss.org/browse/RF-9133
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-output
Affects Versions: 4.0.0.Milestone2
Reporter: Nick Belaevski
Assignee: Nick Belaevski
Source code to reproduce:
<h:form>
<h:panelGrid>
<h:outputText value="Is modal:"/>
<h:selectOneRadio id="selectModal"
value="#{popupPanel.modal}">
<f:selectItem itemLabel="Yes" itemValue="true"/>
<f:selectItem itemLabel="No" itemValue="false"/>
<a4j:ajax event="click" render="selectModal popup"/>
</h:selectOneRadio>
</h:panelGrid>
</h:form>
<input type="button"
onclick="#{rich:component(':popup')}.show();"
value="Open" />
<rich:popupPanel id="popup"
modal="#{popupPanel.modal}"
autosized="false"
resizeable="#{popupPanel.resizeable}"
moveable="#{popupPanel.moveable}"
width="400"
height="300">
<f:facet name="header">
<h:outputText value="Moscow" />
</f:facet>
<f:facet name="controls">
<h:outputLink value="#"
onclick="#{rich:component('popup')}.hide(); return false;">
X
</h:outputLink>
</f:facet>
<rich:panel>
<h:graphicImage value="/images/moscow.png" />
<br />
Moscow is the capital, the most populous city, and the most populous federal subject
of Russia.
The city is a major political, economic, cultural, religious, financial, educational,
and transportation centre of Russia and the world, a global city. Moscow is the most
populous city
on the continent of Europe and the seventh largest city proper in the world, a
megacity.
The population of Moscow (as of 1 January 2010) is 10,562,099.
</rich:panel>
</rich:popupPanel>
<a4j:log /
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira