On Tue, 2004-02-03 at 19:40, Joerg Heinicke wrote:
<snip/>
>      <wd:validation>
>        <wd:assert test="If(persontype = 0, Not(IsNull(lastname)), true)"/>
>      </wd:validation>

The expression language doesn't have a predefined true constant, instead
'true' here means a variable named true which likely doesn't exist,
unless you would happen to have a widget with id 'true'.

Instead, use the True() function.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]                          [EMAIL PROTECTED]

Reply via email to