[jboss-user] [JBoss Seam] - Re: ScopeType.EVENT versus getter method actionBean.getPrope
norman.richards@jboss.com
do-not-reply at jboss.com
Thu Nov 30 18:12:12 EST 2006
That should be #{actionBean.property}.
One difference between the two is that in the second example, #{property} only will be defined when an action is invoked on actionBean. (you can solve this with a page action or factory annotation)
On the question of which is better, a good first question to ask yourself is: Is X a standalone concept or is it just a property of a component. If X has no meaning outside of your component, outjecting doesn't seem to serve any purpose.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990287#3990287
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990287
More information about the jboss-user
mailing list