[richfaces-issues] [JBoss JIRA] Updated: (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 updated RF-3282:
--------------------------------
Fix Version/s: (was: 3.1.4)
Affects Version/s: 3.1.4
> 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
> Affects Versions: 3.1.4
> Reporter: Tomislav Tkal?evi?
>
> 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