Hello,

I'm trying to change the true-param-value of a booleanfield. I want change the true value for '1'. The code is so simple but it doesn't works.

The Definition:

   <fd:booleanfield id="miboolean" state="active">
         <fd:true-param-value>1</fd:true-param-value>
         <fd:label>mibooleano</fd:label>
         <fd:validation>
             <fd:assert test="miboolean = True()">
<fd:failmessage><i18n:text key="sol.motsol.validacio.condicionsus" /></fd:failmessage>
             </fd:assert>
         </fd:validation>
       </fd:booleanfield>

The Binding:

   <fb:value path="VALOR" id="miboolean">
       <fd:convertor datatype="boolean"/>
   </fb:value>

It not give me any error but in the XML of the binding always put true or false. I'm using a cocoon 2.1.9.

Thanks, Carlos.

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

Reply via email to