kristolcrawley
Programmer
I have 2 properties. One is the numeric value for a type and the other is the character value. The char has a reference to the numeric value. I'd like the numeric value to be set based on what the char value is. Isn't there a way to copy one property to another? It has to be done from the xml file.
<property category="Basics" name="userType" data-type="enumerated" column-name="user_type" display-name="User type">
<attribute name="useCodeForValue" value="false"/>
<option value="GUEST" code="0"/>
<option value="RSL" code="2"/>
<option value="RV" code="4"/>
<option value="FE" code="5"/>
<option value="CSR" code="100"/>
<option value="NCCLEAD" code="120"/>
<option value="ADMIN" code="150"/>
<option value="ITUSER" code="999"/>
</property>
<property category="Basics" name="userTypeCode" data-type="enumerated" column-name="user_type_code" display-name="User type code">
<attribute name="useCodeForValue" value="true"/>
<option value="GUEST" code="0"/>
<option value="RSL" code="2"/>
<option value="RV" code="4"/>
<option value="FE" code="5"/>
<option value="CSR" code="100"/>
<option value="NCCLEAD" code="120"/>
<option value="ADMIN" code="150"/>
<option value="ITUSER" code="999"/>
</property>
<property category="Basics" name="userType" data-type="enumerated" column-name="user_type" display-name="User type">
<attribute name="useCodeForValue" value="false"/>
<option value="GUEST" code="0"/>
<option value="RSL" code="2"/>
<option value="RV" code="4"/>
<option value="FE" code="5"/>
<option value="CSR" code="100"/>
<option value="NCCLEAD" code="120"/>
<option value="ADMIN" code="150"/>
<option value="ITUSER" code="999"/>
</property>
<property category="Basics" name="userTypeCode" data-type="enumerated" column-name="user_type_code" display-name="User type code">
<attribute name="useCodeForValue" value="true"/>
<option value="GUEST" code="0"/>
<option value="RSL" code="2"/>
<option value="RV" code="4"/>
<option value="FE" code="5"/>
<option value="CSR" code="100"/>
<option value="NCCLEAD" code="120"/>
<option value="ADMIN" code="150"/>
<option value="ITUSER" code="999"/>
</property>