I like it too, but what about Groovy from Scott's experience ?
Jacques
From: "Ashish Vijaywargiya" <[EMAIL PROTECTED]>
Jacopo,
I liked the second option i.e
<field name="statusId">...</field>
<field name="statusId" use-when="example!=null">...</field>
--
Ashish
On Thu, Jun 5, 2008 at 6:06 AM, Scott Gray <[EMAIL PROTECTED]> wrote:
Hi Jacopo
I just ran a quick test and Groovy seems to throw an error when an
undeclared variable is used.
Scott
2008/6/5 Jacopo Cappellato <[EMAIL PROTECTED]>:
>
> In fact for the Beanshell interpreter (by the way... should we consider
to
> use Groovy instead of Beanshell for the use-when scripts too?) an
undeclared
> variable is void but not null.
>