Re: svn commit: r667358 - /ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/FindProductConfigItems.groovy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r667358 - /ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/FindProductConfigItems.groovy

Scott Gray
Hi Hans,

I had thought that Groovy would cast the string to an int but I guess not,
fixed in rev. 667555.  Another solution would be to use the type attribute
in your set operation but I guess this is easier.

Thanks
Scott

2008/6/14 Hans Bakker <[hidden email]>:

>         Hi Scott,
>
>
>
>         although your solution looks more elegant, it has the following
> problems
>         when i want to override the VIEW_SIZE:
>
>         In the url:
>
> https://localhost:8443/catalog/control/FindProductConfigItems?VIEW_SIZE=2
>
>         Also when i add the following statement to the
> FindProductConfigItems
>         screen:
>         <set field="parameters.VIEW_SIZE" value="2"/>
>
>         In both cases there is a type error that did not happen in my
> solution....
>
>         Regards,
>         Hans
>
>
>