-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas,

Thomas Thomas wrote:
> <var-value>(*this* == password)</var-value>
> 
> But it still doesn't work

This is exactly what I have in my setup, and it works like a charm:

      <field property="passwordAgain"
            depends="validwhen">
        <msg name="validwhen" key="error.unmatched.password.confirm" />
        <arg position="0" bundle="xxx" key="yyy" />
        <!-- This lets us require password again only when the pwd != null -->
        <var>
            <var-name>test</var-name>
            <var-value>
                (
                    (password == null)
                    or
                    (*this* == password)
                )
            </var-value>
        </var>
      </field>

Make sure that your config file is being re-loaded. You will have to
reload the webapp in order to make that happen... changing the file will
not trigger a reload.

Hope that helps,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFeJ929CaO5/Lv0PARAp7nAKCsGhwmlzurFklQmTLBH9cvgS85VgCgpqP5
hQ76T7r5u++UL5P4X8M1Q/Q=
=4/iJ
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to