Login  Register

Re: Users - bsh List Interface from Arralist ?

Posted by Andrew Sykes on Mar 01, 2006; 4:37pm
URL: http://ofbiz.116.s1.nabble.com/Users-bsh-List-Interface-from-Arralist-tp137676p137692.html

Tibor,

Good to know I'm not the only one who does things like that ;-)

I'm not sure what result.get("productIds") is doing, but I'd guess it
isn't returning the 'java.util.List' object that you think it is.

On Wed, 2006-03-01 at 17:05 +0100, tibor katelbach wrote:

> Hahahaha that's awfull
> I was sure I'd see such an embarasing answer
> Thanks Andrew
>
> but unfortunetly I still get this
> Error: The application script threw an exception: Sourced file: C:
> \X_Dev\prodemo\components\ecommerce\webapp\ecommerce\WEB-INF\actions
> \catalog\keywordsearch.bsh : Method Invocation
> CategoryWorker.filterProductsInCategory : at Line: 46 : in file: C:
> \X_Dev\prodemo\components\ecommerce\webapp\ecommerce\WEB-INF\actions
> \catalog\keywordsearch.bsh : CategoryWorker .filterProductsInCategory
> ( delegator , result .get ( "productIds" ) , "COMBI" ) Target
> exception: java.lang.ClassCastException BSF info:
>
> any ideas ?
>
> Tibor
>
>
> On 3/1/06, Andrew Sykes <[hidden email]> wrote:
>         Tibor,
>        
>         You're using "CatalogWorker.filterProductsInCategory " it
>         should be...
>        
>         CategoryWorker.filterProductsInCategory
>         --
>         Kind Regards
>         Andrew Sykes <[hidden email]>
>         Sykes Development Ltd
>         http://www.sykesdevelopment.com
>        
>        
>         _______________________________________________
>         Users mailing list
>         [hidden email]
>         http://lists.ofbiz.org/mailman/listinfo/users
>
>  _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
--
Kind Regards
Andrew Sykes <[hidden email]>
Sykes Development Ltd
http://www.sykesdevelopment.com

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