[jboss-user] [JBoss Seam] - Re: Session context variable missing

petemuir do-not-reply at jboss.com
Mon Jun 11 12:32:40 EDT 2007


@DataModelSelection
  | @In(required = false, create = false)
  | @Out(required = false)
  | private Category currentCategory;

Having both @DataModelSelection and @In on the same variable isn't advisable - how does Seam know which one to jnject from?

Also, you would probably have more luck if you actually outjected to the SESSION scope, rather than the CONVERSATION scope (by default you it outjects to the scope of it's parent).

And, a hint about posting - exclude irrelevant information - I don't need to see your imports, your named queries, all your getters and setters - you've provided so much information to trawl through!

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053192



More information about the jboss-user mailing list