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)" <ji...@apache.org> on 2009/12/09 21:10:18 UTC

[jira] Commented: (TAP5-726) Grid should determine the class row type from a field when there is no BeanModel and GridDataSource

    [ https://issues.apache.org/jira/browse/TAP5-726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788285#action_12788285 ] 

Howard M. Lewis Ship commented on TAP5-726:
-------------------------------------------

The correct solution here is to provide the model explicitly (there's a parameter for that).


> Grid should determine the class row type from a field when there is no BeanModel and GridDataSource
> ---------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-726
>                 URL: https://issues.apache.org/jira/browse/TAP5-726
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5
>            Reporter: Denis Stepanov
>            Priority: Minor
>
> CollectionGridDataSource uses first collection item to determine the class type, but in situation when collection contains different hierarchy implementation there is a ClassCastException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.