[richfaces-issues] [JBoss JIRA] Moved: (RF-3282) jsFunction defined inside the datatable has last "var" value

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Mon Apr 28 09:49:09 EDT 2008


     [ http://jira.jboss.com/jira/browse/RF-3282?page=all ]

Ilya Shaikovsky moved AJSF-137 to RF-3282:
------------------------------------------

              Project: RichFaces  (was: Ajax4jsf)
                  Key: RF-3282  (was: AJSF-137)
        Fix Version/s: 3.1.4
                           (was: 3.1.0)
    Affects Version/s:     (was: 3.1.0)

> jsFunction defined inside the datatable has last "var" value
> ------------------------------------------------------------
>
>                 Key: RF-3282
>                 URL: http://jira.jboss.com/jira/browse/RF-3282
>             Project: RichFaces
>          Issue Type: Bug
>            Reporter: Tomislav Tkal?evi?
>             Fix For: 3.1.4
>
>
> When using jsFunction inside a datatable(inside a rich:column),
> Code:
> <r:dataTable var="v" value="#{myBean.list}" ...
> 	
> and that jsFunction has some method like:
> Code:
> <a:jsFunction eventsQueue="red"	
> name="js_AddAction" action="#{myBean.process(v)}" />
> 	
> If some element calls that jsFunction on his event,
> Code:
> <t:inputText value="#{v.property}" onkeypress="js_AddAction();"/>
> 	
> value of the var inside the jsFunction action attribute (if that jsFunction is defined inside the datatable)
> is always the last value of the var in the datatable,not the current value
> of that var.

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

        



More information about the richfaces-issues mailing list