[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-270) Annotations @DataModelSelection and @DataModelSelectionIndex can't be used in one component together
by Denis Forveille (JIRA)
[ http://jira.jboss.com/jira/browse/JBSEAM-270?page=comments#action_12413356 ]
Denis Forveille commented on JBSEAM-270:
----------------------------------------
oups forgot the details:
seam 2.0.2
exception is slightly different and more precise:
...
Caused by: java.lang.IllegalStateException: Multiple @DataModelSelection fields for: listeDocuments
at org.jboss.seam.Component.initMembers(Component.java:571)
at org.jboss.seam.Component.<init>(Component.java:254)
at org.jboss.seam.Component.<init>(Component.java:217)
at org.jboss.seam.init.Initialization.addComponent(Initialization.java:974)
> 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: 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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 8 months
[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-270) Annotations @DataModelSelection and @DataModelSelectionIndex can't be used in one component together
by Denis Forveille (JIRA)
[ http://jira.jboss.com/jira/browse/JBSEAM-270?page=comments#action_12413355 ]
Denis Forveille commented on JBSEAM-270:
----------------------------------------
+1 for us
> 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: 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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 8 months