[
http://jira.jboss.com/jira/browse/RF-1482?page=all ]
Maksim Kaszynski resolved RF-1482.
----------------------------------
Resolution: Done
Known issue of support-like components. Could not be fixed.
Added disableDefault attribute to componentControl - use it instead of return false.
<h:commandButton value="zzz">
<cc:componentControl for="m" event="onclick"
operation="show" disableDefault="true">
<f:param name="param" value="Hallo!"></f:param>
</cc:componentControl>
</h:commandButton>
componentControl: <h:commandButton onclick = " return false;
"...> does not show modalPanel
-------------------------------------------------------------------------------------------
Key: RF-1482
URL:
http://jira.jboss.com/jira/browse/RF-1482
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.3
Environment: tomcat 6.0.13
jsf 1.1
FF
Reporter: Aleksej Yanul
Assigned To: Maksim Kaszynski
Fix For: 3.1.3
<rich:modalPanel id="ccModalPanelID"
onshow="alert(event.parameters.show)"
onhide="alert(event.parameters.hide)">
<h:outputLink id="hideButton1ID" onclick="return false;"
value="Close" ><f:verbatim>Close
1</f:verbatim></h:outputLink>
<f:verbatim><br/></f:verbatim>
<h:outputLink id="hideButton2ID" onclick="return false;"
value="Close" ><f:verbatim>Close
2</f:verbatim></h:outputLink>
</rich:modalPanel>
<h:commandButton onclick="return false;" id="showButtonID"
value="show" >
<rich:componentControl for="ccModalPanelID" event="onclick"
operation="show" params="show:'componentControl work(show)'"
/>
</h:commandButton>
--
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