[
https://jira.jboss.org/jira/browse/JBSEAM-3281?page=com.atlassian.jira.pl...
]
Shane Bryzak closed JBSEAM-3281.
--------------------------------
Resolution: Won't Fix
Ok, it looks like this isn't going to be possible after all. One issue I overlooked
previously is the fact that Maps can contain objects other than strings as their key
value, which obviously isn't going to work with an associative array. I'm all for
syntactic sugar where appropriate (which is really what this issue is about) however not
at the expense of breaking functionality.
Transparently deal with associative arrays when doing remoting of
java methods that send receive Maps or Beans
--------------------------------------------------------------------------------------------------------------
Key: JBSEAM-3281
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3281
Project: Seam
Issue Type: Feature Request
Components: Remoting
Reporter: Francisco Jose Peredo Noguez
Assignee: Shane Bryzak
An alternative to seam/remoting/interface.js (other url like
seam/remoting/idiomatic_interface.js, perhaps enabled by a components.xml option) that
transparently receives associative arrays and returns associative arrays when the
@WebRemote returns (or has a parameter of type) java.util.Map or a POJO (like DWR does).
This would be specially helpful for porting Ajax enabled applications built with other
remoting technologies, but also to make it easier for those coders that prefer JavaScript
to Java to feel comfortable (and don't put objections) to the use of Seam Remoting vs
other options to do ajax/remoting.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira