[
http://jira.jboss.com/jira/browse/RF-2955?page=comments#action_12406916 ]
Andreas Höhmann commented on RF-2955:
-------------------------------------
my fault ;) this is allready implemented in 3.2.0 sorry!
New event-handle beforehide and beforeshow for rich:modalPanel would
be nice
----------------------------------------------------------------------------
Key: RF-2955
URL:
http://jira.jboss.com/jira/browse/RF-2955
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.2.0
Reporter: Andreas Höhmann
Priority: Minor
It would be nice to define a "before***" javascript handler, before modal panel
is shown / before modal panel is hide like this :
<rich:modalPanel
beforehide="foobar()"
beforeshow="updateContent()">
<h:form>
<a4j:jsFunction name="updateContent" reRender="content"/>
<a4j:outputPanel id="content">
dynamic content comes here ... e.g.
<a4j:include viewId="#{dialogBean.contentViewId}/>
</a4j:outputPanel>
</h:form>
</rich:modalPanel>
I need the beforeshow event for a special case - i want update the content of the modal
panel from the server *before* the content becomes visible.
What do you think?
--
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