You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Denis Stepanov (JIRA)" <ji...@apache.org> on 2009/05/28 16:16:45 UTC

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

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.


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

Posted by "Denis Stepanov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788295#action_12788295 ] 

Denis Stepanov commented on TAP5-726:
-------------------------------------

I know, you can close it if you want, in all cases we are using our own GridSource and BeanModel

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


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

Posted by "Denis Stepanov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788295#action_12788295 ] 

Denis Stepanov commented on TAP5-726:
-------------------------------------

I know, you can close it if you want, in all cases we are using our own GridSource and BeanModel

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


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

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
    [ 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.