This content has been marked as final.
Show 1 reply
-
1. Re: ScopeType.EVENT versus getter method actionBean.getPrope
norman.richards Nov 30, 2006 6:12 PM (in response to antispart)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.