[
https://issues.jboss.org/browse/RF-12971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ilia Vassilev updated RF-12971:
-------------------------------
Description:
The following code works in RF 3, but not in RF 4. ${tableId} does not evaluate
to a value in "oncomplete" attribute.
{code}
<a4j:commandButton id="issueButton"
onclick="alert('tableId is:
editMarginModal${tableId}');"
oncomplete="#{rich:component('editMarginModal${tableId}')}.show()"
action="#{richBean.helloWorld(margin)}"
image="img/iconEdit.png"
render="editMarginModal${tableId}">
</a4j:commandButton>
{code}
was:
The following code works in RF 3, but not in RF 4. ${tableId} does not evaluate
to a value in "oncomplete" attribute.
{code}
<a4j:commandButton id="issueButton"
onclick="alert('tableId is:
editMarginModal${tableId}');"
oncomplete="#{rich:component('editMarginModal${tableId}')}.show()"
action="#{richBean.helloWorld(margin)}"
image="img/iconEdit.png"
render="editMarginModal${tableId}">
</a4j:commandButton>
{code}
> a4j:commandButton does not evaluate value expressions in “oncomplete”
> attribute.
> --------------------------------------------------------------------------------
>
> Key: RF-12971
> URL: https://issues.jboss.org/browse/RF-12971
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-a4j-core
> Affects Versions: 4.3.1
> Reporter: Ilia Vassilev
>
> The following code works in RF 3, but not in RF 4. ${tableId} does not
> evaluate to a value in "oncomplete" attribute.
> {code}
> <a4j:commandButton id="issueButton"
> onclick="alert('tableId is:
> editMarginModal${tableId}');"
>
> oncomplete="#{rich:component('editMarginModal${tableId}')}.show()"
> action="#{richBean.helloWorld(margin)}"
> image="img/iconEdit.png"
> render="editMarginModal${tableId}">
> </a4j:commandButton>
> {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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues