[jboss-user] [JBoss Seam] - Re: @Factory is not working

evdelst do-not-reply at jboss.com
Tue Nov 20 09:46:05 EST 2007


>From the docs:
anonymous wrote : A factory method will be called when a context variable is referenced but has no value bound to it. 

You are however not referencing the context variable, but a getter method on another context variable. (if you had an @Out at the list, the factory would have been called).

Also, for selectitems, you can use the s:convertEntity tag and return the results from the query instead. Much simpler!



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

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



More information about the jboss-user mailing list