-
15. Re: Property 'statusMessages' not found on type org.jboss.seam.Namespace
pmuir Aug 31, 2008 11:42 AM (in response to nimo22)You cannot use binding with conversation scoped components, this is well documented.
-
16. Re: Property 'statusMessages' not found on type org.jboss.seam.Namespace
blabno Sep 1, 2008 7:58 AM (in response to nimo22)I missed that :
In a web archive (WAR) file, you must place a seam.properties file in the WEB-INF/classes directory if you have any Seam components included here.
-
17. Re: Property 'statusMessages' not found on type org.jboss.seam.Namespace
nimo22 Sep 1, 2008 8:55 AM (in response to nimo22)Hey Bernard,
I do not have a seam.properties-file in my WAR, I have one in my JAR. I have uses the seam-gen to setup my EJB-Project. Do I need to insert the seam.properties-file in my WAR-File?Hey Pete,
I do not use binding anymore in my conversation scoped components. Even there is a workaround for that (Inject a event scope component into an conversation scoped component. Docu 7.10. Conversational components and JSF component bindings).However, my problem is, I cannot use this in a class-File stored in my WAR-Archive:
@In private FacesMessages facesMessages;
I get this error:
Caused by: javax.el.PropertyNotFoundException: Property 'statusMessages' not found on type org.jboss.seam.Namespace at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:193)
Do I need to put the seam.properties-File in the WEB-INF/classes-directory of my WAR-Archive? Is this the problem? I have a EJB-Project setup by seam-gen and have a seam.properties in the root of my JAR-File.
-
18. Re: Property 'statusMessages' not found on type org.jboss.seam.Namespace
blabno Sep 1, 2008 9:14 AM (in response to nimo22)If you do not put seam.properties into WEB-INF/classes then Seam should not create
view
component. I don't know how the hell is your EL #{view.show} resolved since you don't have such method and Seam should not create such component. Maybe you haveview
component in your EJB module ? -
19. Re: Property 'statusMessages' not found on type org.jboss.seam.Namespace
nimo22 Sep 1, 2008 9:18 AM (in response to nimo22)Hello,
now I am using SEAM 2.1 beta and I can use the @In private FacesMessages facesMessages; without failures. Thanks.
But another question:
Do I need to put the seam.properties-File in the WEB-INF/classes-directory of my WAR-Archive? I have a EJB-Project setup by seam-gen and have a seam.properties in the root of my JAR-File.
-
20. Re: Property 'statusMessages' not found on type org.jboss.seam.Namespace
blabno Sep 1, 2008 9:23 AM (in response to nimo22)I have also EAR project with EJB and Web modules. If I want to have component in Web module then I must put seam.properties in WEB-INF/classes. Elsewhere I cannot resolve such component.
-
21. Re: Property 'statusMessages' not found on type org.jboss.seam.Namespace
etirk Nov 24, 2008 1:34 PM (in response to nimo22)Exactly this error is thrown from our application when one tries to perform dual triggering of a state change using pageflow.
A page has 2 transitions, back and forward. If one first clicks forward, and immideatly before the browser has been redirected, clicks the other commandLink with the back-transition, the exception is thrown.
It originates from our authenticator-component, which also has facesMessages configured.
Removing the facesMessages from the component also removes the exception from being thrown.
The cannot-read-values-from-javassist-errors has been showing up throughout the application lately and they were most oftenly originating from the Authenticator component.
Something wrong with facesMessages?/K