[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3608) self-written DataModel as @DataModel

Said TOUIMI (JIRA) jira-events at lists.jboss.org
Fri Dec 19 10:27:55 EST 2008


    [ https://jira.jboss.org/jira/browse/JBSEAM-3608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12443626#action_12443626 ] 

Said TOUIMI commented on JBSEAM-3608:
-------------------------------------

Have exactly the same problem, and have done the same solution.
Thanks for minding this little fix in the next release.

> self-written DataModel as @DataModel
> ------------------------------------
>
>                 Key: JBSEAM-3608
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3608
>             Project: Seam
>          Issue Type: Feature Request
>          Components: Framework
>    Affects Versions: 2.0.2.SP1
>            Reporter: Juergen Hartler
>            Priority: Minor
>
> Dear Seam-Team! 
> I have self-written DataModel extending the org.richfaces.model.ExtendedTableDataModel to support true pagination via the database. The only problem is just that the @DataModel tag of seam does not support self-written DataModels. I added manually in the downloaded source code of jboss-seam-2.0.2.SP1 and added to the class org.jboss.seam.faces.DataModels.getDataModel(Object value) the lines: 
> ... 
> else if (value instanceof DataModel){ return (DataModel)value; }else{ ... 
> Could you please mind to add this to your next release? 
> Many thanks, Juergen

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

        



More information about the seam-issues mailing list