[seam-issues] [JBoss JIRA] Closed: (JBSEAM-270) Annotations @DataModelSelection and @DataModelSelectionIndex can't be used in one component together

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Feb 26 07:48:10 EST 2010


     [ https://jira.jboss.org/jira/browse/JBSEAM-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed JBSEAM-270.
----------------------------

    Resolution: Out of Date


Won't support @DataModel in Seam 3

> Annotations @DataModelSelection and @DataModelSelectionIndex can't be used in one component together
> ----------------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-270
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-270
>             Project: Seam
>          Issue Type: Feature Request
>          Components: JSF Integration
>    Affects Versions: 1.0
>         Environment: WinXP Professional
> JBoss AS 4.0.4.GA (ejb3.deployer libs replaced by EJB3 RC8 libs)
> myFaces Core 1.1.3
> Tomahawk 1.1.3
> Facelets (as in Seam 1.0.0.GA)
> JDK1.5.0_06
>            Reporter: Jens Weintraut
>            Priority: Minor
>
> A seam component can't use both annotations @DataModelSelection and @DataModelSelectionIndex at once. If both are used deployment shows this error message:
> java.lang.IllegalStateException: Multiple @DataModelSelection fields for: messageList
> 	at org.jboss.seam.Component.initMembers(Component.java:533)
> 	at org.jboss.seam.Component.<init>(Component.java:199)
> 	at org.jboss.seam.Component.<init>(Component.java:159)
> 	at org.jboss.seam.Component.<init>(Component.java:154)
> 	at org.jboss.seam.Component.<init>(Component.java:149)
> 	at org.jboss.seam.init.Initialization.addComponent(Initialization.java:381)
> 	at org.jboss.seam.init.Initialization.addComponents(Initialization.java:343)
> 	at org.jboss.seam.init.Initialization.init(Initialization.java:195)
> 	at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:32)
> 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
> ...

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