Not when that filter needs to be injected. I don't know the specific
requirement but if it exists already, you could get it explicitly in the
factory method.
@Factory("mainformList")
| public List getMainFormData() {
| Context session = Contexts.getSessionContext();
| Object obj = sesison.get("myFilter");
| }
|
or look it up in the DB:
@Factory("mainformList")
| public List getMainFormData() {
| MyBO bo = new MyBO();
| bo.findByName("myFilter");
| }
...or get it from wherever else it might originate.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046867#4046867
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046867
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user