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

Gavin King (JIRA) jira-events at jboss.com
Mon Sep 18 19:25:55 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBSEAM-270?page=all ]

Gavin King updated JBSEAM-270:
------------------------------

    Issue Type: Feature Request  (was: Bug)
      Priority: Minor  (was: Major)

> Annotations @DataModelSelection and @DataModelSelectionIndex can't be used in one component together
> ----------------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-270
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-270
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: JSF
>    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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list