You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Ravindra Mandre <ra...@gmail.com> on 2010/12/25 10:37:34 UTC
How I can set two values using OR in set tag.
Hi all,
How I can use the OR function in <set /> tag under form's actions tag. I
want to pass two values as OR .
consider the following example
productId = 1000
productId = 1001
<set field="productId" value="either 1000 or 1001" />
then I want to set above two values in set as or .
can any body help me to get me. or if it exist, then please let me know .
Ravi
Re: How I can set two values using OR in set tag.
Posted by Ravindra Mandre <ra...@gmail.com>.
Thanks Jacques for your reply.
Ravi
Re: How I can set two values using OR in set tag.
Posted by Jacques Le Roux <ja...@les7arts.com>.
I'd use a groovy snippet, there are plenty of examples in code (not specific to your pb though)
Jacques
From: "Ravindra Mandre" <ra...@gmail.com>
> Hi all,
>
> How I can use the OR function in <set /> tag under form's actions tag. I
> want to pass two values as OR .
> consider the following example
> productId = 1000
> productId = 1001
>
> <set field="productId" value="either 1000 or 1001" />
> then I want to set above two values in set as or .
>
> can any body help me to get me. or if it exist, then please let me know .
>
>
>
> Ravi
>