You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/07/21 16:13:46 UTC

[jira] Assigned: (TAPESTRY-425) Foreach components cannot handle primitive arrays

     [ http://issues.apache.org/jira/browse/TAPESTRY-425?page=all ]

Howard M. Lewis Ship reassigned TAPESTRY-425:
---------------------------------------------

    Assign To: Howard M. Lewis Ship

> Foreach components cannot handle primitive arrays
> -------------------------------------------------
>
>          Key: TAPESTRY-425
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-425
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 4.0
>  Environment: Windows XP Pro SP2
> Tomcat 5.5.9
> Tapestry 4.0b2
> Java 1.5.0u4
>     Reporter: Laurent Etiemble
>     Assignee: Howard M. Lewis Ship
>  Attachments: contrib.jar
>
> When deploying the Hangman application from the book "Tapestry in Action", the application failed because it cannot iterate over an char array.
> In the Guess page, the Spell component failed to iterate over the word to guess, which is hold by char array. Tapestry doesn't manage to coerce the char array into an Iterator to make the Foreach component happy.
> The solution is to create new TypeConverter implementation class that can handle primitive array, and contribute them through the "tapestry.coerce.IteratorConverters" extension point.

-- 
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