The support for @Factory methods that return values causes problems for me and
my DataBinders.
I have the following:
| @SelectItems
| private List items;
|
| @Factory("items")
| public List getItems()
| {
| ... static lookup code
| }
|
Prior to the enhancement this was great. When my EJB clients were accessing
the bean they could get the items via the getItems method. When JSF needed the
items, Seam resolved the variable, called the factory method that set the
instance variable and sent everything through my DataBinder.
With the latest CVS it seems the DataBinder is called but the List that's
eventually exposed to JSF is the one from the @Factory method, which JSF can't
process.
I guess I'd either ask that Seam check for and apply data binders for things
created via a @Factory return. Or supply some way to disable the new @Factory
logic.
Thanks,
Jim
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958311#3958311
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958311
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user