[jboss-user] [JBoss Seam] - Re: Entity Injection question

stephen.friedrich do-not-reply at jboss.com
Mon Oct 1 16:33:57 EDT 2007


I can't really point to a paragraph in the reference where it's explicitly described.

Yet, every example uses components that way: Usually the very first reference to a component is encountered in EL in html/jsp.

When explaining the registration example the 1.2.1 reference says:

anonymous wrote : 1.2.2. How it works
  | When the form is submitted, JSF asks Seam to resolve the variable named user. Since there is no value already bound to that name (in any Seam context), Seam instantiates the user component, and returns the resulting User entity bean instance to JSF after storing it in the Seam session context.

(Well, actually I think that's wrong, too. The EL is evaluated first when the form is rendered, so the component gets instantiated even before submit.)

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

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



More information about the jboss-user mailing list