You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Tsvetelin Saykov (JIRA)" <ta...@jakarta.apache.org> on 2005/03/30 15:34:22 UTC

[jira] Created: (TAPESTRY-290) Incorrect binding type converter for array of int[]

Incorrect binding type converter for array of int[]
---------------------------------------------------

         Key: TAPESTRY-290
         URL: http://issues.apache.org/jira/browse/TAPESTRY-290
     Project: Tapestry
        Type: Bug
  Components: Framework  
    Versions: 3.1    
 Environment: 29.03.2005 head version of framework
    Reporter: Tsvetelin Saykov


In contrib tree component, the TreeNodeView pass array of int[] to the foreach's binding "source". The binding type convertor take the array as a object insted of array. As a result the foreach receive an Iterator with one element from type java.lang.Object instead of list of int types. This cause the problem with foreach's binding "value" when foreach set the current iteration value.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


[jira] Resolved: (TAPESTRY-290) Incorrect binding type converter for array of int[]

Posted by "Mind Bridge (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-290?page=all ]
     
Mind Bridge resolved TAPESTRY-290:
----------------------------------

    Fix Version: 4.0
     Resolution: Fixed

A coercion added for int[]

> Incorrect binding type converter for array of int[]
> ---------------------------------------------------
>
>          Key: TAPESTRY-290
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-290
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 4.0
>  Environment: 29.03.2005 head version of framework
>     Reporter: Tsvetelin Saykov
>      Fix For: 4.0

>
> In contrib tree component, the TreeNodeView pass array of int[] to the foreach's binding "source". The binding type convertor take the array as a object insted of array. As a result the foreach receive an Iterator with one element from type java.lang.Object instead of list of int types. This cause the problem with foreach's binding "value" when foreach set the current iteration value.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org