I tried the following annotations:
@Stateful
| @Scope(ScopeType.EVENT) // @Scope(ScopeType.CONVERSATON) //
@Scope(ScopeType.SESSION)
| @Name("ping")
| public class PingBean ....{
|
| @In(required=false) @Out(required=false)
| private String talk = "";
|
| @In(required=false) @Out(required=false)
| private String line = "";
| ...
| // means that I tried all those Scopes.
Well, and still I can't even get #{ping.line} resolved in the JSP, though the
bean is stateful (I do know that stateless beans can't provide properties to
JSF) and has getters/setters (which are also defined in the Local Interface).
And talk still is "Ping: null null"
Only the getTalk-method gets called, but there's no call on set/getLine or
setTalk (found out via @AroundInvoke and logging).
This just doesn't make sense to me...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955268#3955268
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955268
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user