]
Aleksej Yanul closed RF-3014.
-----------------------------
Assignee: Aleksej Yanul (was: Tsikhon Kuprevich)
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: Aleksej Yanul
Fix For: 3.1.5
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: