[richfaces-issues] [JBoss JIRA] (RF-12660) Second call of jsFunction inside dataTable does reach an action

Brian Leathem (JIRA) jira-events at lists.jboss.org
Mon Dec 17 03:07:08 EST 2012


     [ https://issues.jboss.org/browse/RF-12660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem updated RF-12660:
-------------------------------

    Description: 
jsFunction works correclty only for the row clicked at first.
For second and other rows
'onbegin' fires, but action and oncomplete is not executed.
POST request 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}


  was:
jsFunction works correclty only for the row clicked at first.
For second and other rows
'onbegin' fires, but action and oncomplete is not executed.
POST request 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

..........
<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>
............



    
> 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
>            Priority: Critical
>
> jsFunction works correclty only for the row clicked at first.
> For second and other rows
> 'onbegin' fires, but action and oncomplete is not executed.
> POST request 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


More information about the richfaces-issues mailing list