]
Shane Bryzak commented on JBSEAM-1061:
--------------------------------------
Oh, and the ability to call for example #{helloAction.sayHello(name)} should just
magically work once Seam Remoting supports page context propagation.
Support EL expressions in remoting calls
----------------------------------------
Key: JBSEAM-1061
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1061
Project: JBoss Seam
Issue Type: Feature Request
Components: Remoting
Reporter: Shane Bryzak
Assigned To: Shane Bryzak
Priority: Minor
Fix For: 2.0.0.CR1
It would be really cool to tie in EL expressions directly with Seam remoting. For
example, take this method call:
Seam.Component.getInstance("helloAction").sayHello(nameValue,
sayHelloCallback);
instead, this could be rewritten (and tied into the page context) like this:
Seam.Remoting.pageContext.set("name", nameValue);
Seam.Remoting.evaluate("#{helloAction.sayHello(name)}", sayHelloCallback);
This is not a perfect example, however it demonstrates the potential of this feature.
Plus it makes remoting more consistent with the rest of Seam.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: