[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-1202) seam remoting js->bag multiple dimension problem

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Fri May 4 03:57:30 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-1202?page=all ]

Shane Bryzak closed JBSEAM-1202.
--------------------------------

    Fix Version/s: 1.3.0.BETA1
       Resolution: Done

Fixed.  I couldn't reproduce the issue with passing a Map, this is the test case I used:

      var m = new Seam.Remoting.Map();
      m.put("abc", "zzzz");
      m.put("def", "yyyy");
      Seam.Component.getInstance("helloAction").testMap(m, testMapCallback);

If you have a test case that doesn't work, please re-open this issue and include your test case.

> seam remoting js->bag multiple dimension problem
> ------------------------------------------------
>
>                 Key: JBSEAM-1202
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1202
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Remoting
>    Affects Versions: 1.2.1.GA, 1.2.0.GA
>            Reporter: Christoph Aigner
>         Assigned To: Shane Bryzak
>            Priority: Critical
>             Fix For: 1.3.0.BETA1
>
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
> there is an error when passing multidimensional Arrays from Javascript to a webRemote function. 
> var csArr = new Array(); 
> csArr[0] = 1; 
> converts without problems to: 
> ArrayList ssArr 
> but 
> js: 
> var csArr = new Array(); 
> csArr[0] = new Array(); 
> csArr[0][0] = 11; 
> ArrayList<ArrayList<integer>> ssArr 
> is null on Serverside (although the seam-debugger shows that the array is transfered correctly) 
> also tried it out with HashSet, and [] -> same result
> it works from the serverside -> clientside though.

-- 
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 seam-issues mailing list