Thanks again for your response. I just have one more question along the same 
line.

Can I initialize some member variables(id) in load method and make it available 
in category.xhtml(categoryAction.id)?  I tried it but again unless 
categoryAction is in session context, it does not work.

In the previous case I understand the parameter is just the name in the page 
and seam injects it from session/conversation context when the action is 
performed. But here the Action bean is loading the page but it goes out of 
context when the page is rendered I guess. I expected at least event 
context(which I assumed is equivalent to request context in servlet/JSP) to 
work but it does not.


  | @Name(categoryAction)
  | Class CategoryAction
  | {
  | private String id;
  | 
  | public String getId()
  | {
  |     return Id;
  | }
  | 
  | public String action()
  | {
  | this.id = 1;
  | return "category.xhtml"
  | }
  | }   

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044833#4044833

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044833
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to