[
https://jira.jboss.org/jira/browse/RF-3427?page=com.atlassian.jira.plugin...
]
Ilya Shaikovsky commented on RF-3427:
-------------------------------------
when attachTo used - component control tries to add event handlers using event.observe.
And button has not such event.
component control not working on oncomplete event
-------------------------------------------------
Key: RF-3427
URL:
https://jira.jboss.org/jira/browse/RF-3427
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Reporter: Ilya Shaikovsky
Assignee: Ilya Shaikovsky
Fix For: 3.3.2.CR1
<a4j:commandButton value="Show Current Selection"
reRender="table"
action="#{dataTableScrollerBean.takeSelection}" id="button">
<rich:componentControl attachTo="button" for="panel"
event="oncomplete" operation="show" />
</a4j:commandButton>
doesn't works but
<a4j:commandButton value="Show Current Selection"
reRender="table"
action="#{dataTableScrollerBean.takeSelection}"
oncomplete="javascript:Richfaces.showModalPanel('panel');"/>
works fine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira