You can create a producer that aliases a name to a property, like this:
If you want the result of @Produces to be EL accessible just throw a @Named on it.Ken
Sent from my iPhoneFor what I understand, it's not quite the same. I think it's more like @Factory, but I agree it's nearly the same and I could use it was possible to "Named" the "outjected" property in order to use it in EL...
Antoine
Le 16 mars 2011 à 17:54, Ken Finnigan a écrit :Antoine,
I'm pretty sure the equivalent for CDI is to use @Produces.
KenOn Wed, Mar 16, 2011 at 12:47 PM, Antoine Sabot-Durand <antoine@sabot-durand.net> wrote:
Hi all,
I try to shorten my Expression language code and don't want to create delegate methods in my controller to access propertir of a business component.
I didn't found something like @Out. Does it exists ?
Thanks,
Antoine
_______________________________________________
seam-dev mailing list
seam-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/seam-dev
_______________________________________________
seam-dev mailing list
seam-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/seam-dev