I have this:
| @In(create = true)
| private InObj inObj;
|
| @Out
| private OutObj outObj
|
| @Factory("outObj")
| public void init() { .. }
|
| public String action() [ ... }
|
The inObj is a Session object.
When accesing 'outObj' from a page the Factory method is called as expected
with a value assiged to inObj.
But when calling the action() method from a page the Factory method is called
again but the inObj is null. This will cause my init() method to throw, Seam
catched the exception and logs it and then Seam calls my action() method but
with a value injected into the inObj and the correct page is shown.
This seams like a bug to me but maybe I'm not using the Factory pattern
correctly?
/Magnus
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923086#3923086
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923086
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user