I am trying to run a groovy file that has this getAttribute request.
productCategoryId = request.getAttribute("productCategoryId");
What is the appropriate way to pass data into a groovy file, or make
data available to a groovy file?
This will get it from the paramMap of the request.
On Thu, Jan 28, 2010 at 2:33 PM, Alexander1893 <
[hidden email]> wrote:
>
> hi,
>
> could you explain a litte lo more in detail, what you want to do:
> what is the origin of the data you want to pass?
>
> alexander
>
> --
> View this message in context:
> http://n4.nabble.com/How-to-pass-data-into-a-groovy-file-tp1401304p1401318.html > Sent from the OFBiz - User mailing list archive at Nabble.com.
>
> You can access such variables by using:
>
> parameters.productCategoryId;
>
> This will get it from the paramMap of the request.
>
> On Thu, Jan 28, 2010 at 2:33 PM, Alexander1893 <
> [hidden email]> wrote:
>
>>
>> hi,
>>
>> could you explain a litte lo more in detail, what you want to do:
>> what is the origin of the data you want to pass?
>>
>> alexander
>>
>> --
>> View this message in context:
>> http://n4.nabble.com/How-to-pass-data-into-a-groovy-file-tp1401304p1401318.html >> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>