]
Pete Muir commented on JBSEAM-3104:
-----------------------------------
Post the exception and stack trace.
StatusMessages cannot be required
---------------------------------
Key: JBSEAM-3104
URL:
http://jira.jboss.com/jira/browse/JBSEAM-3104
Project: Seam
Issue Type: Bug
Components: Wicket
Affects Versions: 2.1.0.A1
Environment: JBoss 4.2, Wicket example
Reporter: Marcell Barbacena
Create a generic component:
@Name("some")
public class Some {
private @In StatusMessages statusMessages;
public void doSome() {statusMessages.info("here");}
}
attach it to components.xml:
<event type="org.jboss.seam.security.notLoggedIn">
<action execute="#{some.doSome}"/>
</event>
A error occur saying that statusMessages cannot be required. However, chaging it:
@In(required=false), the statusMessages is injected and the message enqueued.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: