[richfaces-issues] [JBoss JIRA] Updated: (RF-2232) actionparam fails when using javascript
Magnus Sandberg (JIRA)
jira-events at lists.jboss.org
Tue Feb 12 07:23:03 EST 2008
[ http://jira.jboss.com/jira/browse/RF-2232?page=all ]
Magnus Sandberg updated RF-2232:
--------------------------------
Doh - value should be value="document.getElementById('xx_node').value" and everything works as expected.
> actionparam fails when using javascript
> ---------------------------------------
>
> Key: RF-2232
> URL: http://jira.jboss.com/jira/browse/RF-2232
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.3
> Reporter: Magnus Sandberg
>
> (This might be the same as RF-1815)
> It seems like A4J.AJAX.Submit creates bad requests when a java-script is used:
> <a4j:actionparam name="XX" value="YY" assignTo="#{parameters.value}" />
> works, request contains: &XX=YY&
> <a4j:actionparam name="XX" value="screen.height" assignTo="#{parameters.value}" noEscape="true" />
> works, request contains: &XX=4711&
> <a4j:actionparam name="XX" value="document.getElementById('xx_node')" assignTo="#{parameters.value}" noEscape="true" />
> does not work, request contains: &=my_value&, so the XX= is dropped and <null> is assigned to #{parameters.value}.
--
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