[richfaces-issues] [JBoss JIRA] Created: (RF-3014) modalPanel: onshow event doesn't work for modal panel.

Mikhail Vitenkov (JIRA) jira-events at lists.jboss.org
Wed Apr 9 09:05:54 EDT 2008


modalPanel: onshow event doesn't work for modal panel.
------------------------------------------------------

                 Key: RF-3014
                 URL: http://jira.jboss.com/jira/browse/RF-3014
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.1.5
         Environment: IE6, IE7, FF, Safari, Opera 9
            Reporter: Mikhail Vitenkov
         Assigned To: Nick Belaevski


create modal panel with onshow="alert('any message goes here...')"
Use following code:
<rich:modalPanel id="MPid" moveable="true" autosized="true" onhide="alert('onhideInputID + onhide work!')"
	onshow="alert('onshowInputID + onshow work!')">	
	<f:facet name="header">
<h:outputText value="Heder goes here..." />
</f:facet>

<h:outputText value="This is Modal Panel example" styleClass="text1" />
<f:verbatim>
<br />
<br />
</f:verbatim>
<h:outputLink onclick="Richfaces.hideModalPanel('modalPanelSubviewID:MPid');return false;" value="Close">
<f:verbatim>Close</f:verbatim>
</h:outputLink> 
	</rich:modalPanel>

Actual behavior:
No alert appear when modalPanel is shown.

-- 
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