Hi I tried now for several hours to fix my validwhen-example.

The property time should only be validated if the checkbox (property
calculatingShift)

Is not checked.

How can help me? Thank you so much!

 

 

<form name="ItemForm">

          <field property="time"  depends="validwhen,date">

                 <arg position="0" key="error.form.time"
bundle="PROD_TLV"/>

                 <arg position="1" name="test" resource="false"/>

                   <var>

                    <var-name>test</var-name>

                    <var-value>(calculatingShift==false)</var-value>

                  </var>

             <arg position="2" name="date"
key="${var:datePatternStrict}"  bundle="PROD_TLV" resource="false"/>

                   <var>

                    <var-name>datePatternStrict</var-name>

                    <var-value>HH:mm</var-value>

                  </var>

          </field>

           <field property="calculatingShift" depends="required">

           <arg position="0" key="error.form.ShiftNotchecked"
bundle="PROD_TLV"/>

           </field>

 

On tomcat the error message is: No input attribute for mapping path 

-- 
E-Mails und Internet immer und überall!
1&1 PocketWeb, perfekt mit GMX: http://www.gmx.net/de/go/pocketweb

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

Reply via email to