Hi all,
I am using Validator.xml to compare if the LIB in the formset is the same in my 
DataBase corresponding to a COD which is in an other field of the formset.
In My Validation.xml :
<field property="lib_type_pb" depends="comparer">

<arg0 key="prompt.lib_type_pb"/>

<var>

<var-name>field[0]</var-name>

<var-value>cod_grade</var-value>

</var>

<var>

<var-name>fieldTest[0]</var-name>

<var-value>COD_DEPT</var-value>

</var>

<var>

<var-name>fieldValue[0]</var-name>

<var-value>LIB_DEPT</var-value>

</var>

<var>

<var-name>fieldTable[0]</var-name>

<var-value>TAB_DEPT</var-value>

</var>


</field>

"cod_grade" is a property of the formset.

when I execute the "select" I receive : 

select LIB_DEPT from TAB_DEPT where COD_DEPT = 'cod_grade'. with an exception.

How to get the value of "cod_grade". for example: 

select LIB_DEPT from TAB_DEPT where COD_DEPT = '125'.

Thanks......... 



Reply via email to