This content has been marked as final.
Show 4 replies
-
1. Re: @In reference a bit strange
ruettimac Jan 19, 2008 1:50 AM (in response to dhinojosa)Hi,
You reference the seam component in the seam context by name. If you are using the EL-Notation, you expect that your component is named #{componentname} including the curly braces. That is not what you want. Please have a look at the following slide sets. The seam architecture in UML!
http://wendtstud1.hpi.uni-potsdam.de/sysmod-seminar/SS2006/presentations/16_JBossSeam.pdf
http://wendtstud1.hpi.uni-potsdam.de/sysmod-seminar/SS2006/presentations/17_JBossSeam_Session_Handling.pdf
Regards,
Cyrill -
2. Re: @In reference a bit strange
matt.drees Jan 19, 2008 2:34 AM (in response to dhinojosa)"dhinojosa" wrote:
If I inject with the #{} notation objects get created whether even if you specify create=false;
Yeah, I've noticed that too. Component lookup through EL always creates the component, if it doesn't exist.
Maybe Seam should issue a warning (or an exception?) if a developer tries to use@In(value="#{...}", create=false)
-
3. Re: @In reference a bit strange
pmuir Jan 19, 2008 5:07 PM (in response to dhinojosa)Please file a JIRA issue for this. We should probably issue a WARN as it's not really an ERROR, but a programmer mistake.
-