Login  Register

Users - bsh List Interface from Arralist ?

Posted by oceatoon on Mar 01, 2006; 3:28pm
URL: http://ofbiz.116.s1.nabble.com/Users-bsh-List-Interface-from-Arralist-tp137676.html

Hello Again every one

Sorry this is a Bsh oriented question, but I can't seem to find the answer :
why can't I instanciate a List with an ArrayList in BSH, it stays
an ArrayList and then I can't use filterProductsInCategory(delegator,List ,String) ?

Thanks for telling me What am I doing wrong ? I'm sure it's some obvious answer but I just don't get it ?

List prodL = new ArrayList(result.get("productIds"));
print("List Size : "+prodL.size());
CatalogWorker.filterProductsInCategory(delegator,prodL , "COMBI"));

return an error
WEB-INF\actions\catalog\keywordsearch.bsh : Error in method invocation: Static method filterProductsInCategory( org.ofbiz.entity.GenericDelegator, java.util.ArrayList, java.lang.String ) not found in class'org.ofbiz.product.catalog.CatalogWorker'

Thanks for you help
tibor

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users