This is covered (fairly extensively!) in the examples/reference manual.
@Name("todoList")
| public class TodoListBean {
|
| @Out(scope=SESSION)
| User currentUser;
|
| @Factory("currentUser")
| // Continue as above
| }
#{currentUser}
OR
@Name("todoList")
| public class TodoListBean {
|
| User currentUser;
|
| public User getCurrentUser() {
| // Initialise currentUser
| return currentUser;
| }
| ...
| }
#{todoList.currentUser}
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977283#3977283
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977283
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user