[richfaces-issues] [JBoss JIRA] Resolved: (RF-932) ModalPanel: js error activating by oncomplete
Ilya Shaikovsky (JIRA)
jira-events at lists.jboss.org
Mon Oct 29 10:29:15 EDT 2007
[ http://jira.jboss.com/jira/browse/RF-932?page=all ]
Ilya Shaikovsky resolved RF-932.
--------------------------------
Resolution: Rejected
resolved in 3.2.0. (framework changes should not be submitted to stable branch)
> ModalPanel: js error activating by oncomplete
> ---------------------------------------------
>
> Key: RF-932
> URL: http://jira.jboss.com/jira/browse/RF-932
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.0
> Environment: IE7
> Reporter: Nick Belaevski
> Assigned To: Ilya Shaikovsky
> Fix For: 3.2.0
>
>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
> <%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>
> <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
> <html>
> <head>
> <title>Test</title>
> <script type="text/javascript">
> function show() {
> alert("Showing Model Dialog");
> Richfaces.showModalPanel('msgPanel')
> }
> </script>
> </head>
> <body>
> <f:view>
> <a4j:status>
> <f:facet name="start">
> <f:verbatim><span class="loading">Working..</span></f:verbatim>
> </f:facet>
> </a4j:status>
> <rich:modalPanel id="msgPanel" width="200" height="200">
> <f:facet name="header">
> <h:outputText value="Selected Message"/>
> </f:facet>
> <h:panelGroup id="msgPanel1">
> <h:outputText value="#{testBean.selected}"/>
> <button type="button" onclick="Richfaces.hideModalPanel('msgPanel')">Close</button>
> </h:panelGroup>
> </rich:modalPanel>
> <h:form>
> <rich:dataTable id="msgList" binding="#{testBean.table}" width="97%" value="#{testBean.messages}" var="msg">
> <f:facet name="header">
> <rich:columnGroup>
> <h:column>
> <h:outputText styleClass="headerText" value="Message"/>
> </h:column>
> </rich:columnGroup>
> </f:facet>
> <h:column>
> <a4j:commandLink action="#{testBean.select}" value="#{msg}" reRender="msgPanel"
> oncomplete="show();"/>
> </h:column>
> </rich:dataTable>
> </h:form>
> </f:view>
> </body>
> </html>
> click link, JS error occurs: panel HTML element is found, but modalPanel property doesn't exist
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list