[
https://issues.jboss.org/browse/RF-12660?page=com.atlassian.jira.plugin.s...
]
Brian Leathem commented on RF-12660:
------------------------------------
Try placing the jsFunction outside of your dataTable, and passing it the relevant
parameters (using the a4j:param tag).
Second call of jsFunction inside dataTable does reach an action
---------------------------------------------------------------
Key: RF-12660
URL:
https://issues.jboss.org/browse/RF-12660
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-a4j-core
Affects Versions: 4.2.2.Final
Environment: Windows 7, Tomcat 6
Reporter: Andrei Tikhomirov
Labels: regression, waiting_on_user
jsFunction works correclty only for the row clicked at first.
For second and other rows _onbegin_ fires, but _action_ and _oncomplete_ are not
executed.
POST request is executed.
It worked for me on 4.0.0.Final and does not work after migration on 4.2.2.Final
Reproduced on 4.2.3.Final
{code}
<rich:column>
<span id="toggler#{row.id}" onclick="click(#{row.id});">
<rich:collapsibleSubTableToggler for="subtbl"
rendered="true"
expandedIcon="/images/minus.png"
collapsedIcon="/images/plus.png" />
<a4j:jsFunction name="readFeeadbackMessage#{row.id}"
onbegin="unbindFeedbackMessageClick(#{row.id});"
action="#{bean.action(row.id)}"
oncomplete="complete(#{row.id})"/>
</span>
...........
</rich:column>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira