hi

i ve got a InputParameter Object with 4 attributes(order, name, type and
value)

in xml i have

<InputParameter order="3" name="frame"
type="java.lang.String">'main'</InputParameter>

my mapping.xml

        <class name="test.InputParameter">

                <map-to xml="InputParameter"/>

                <field name="name" type="string">
                <bind-xml name="name" node="attribute" />
                </field>
                <field name="order" type="string">
                <bind-xml name="order" node="attribute" />
                </field>
                <field name="type" type="string">
                <bind-xml name="type" node="attribute" />
                </field>

        </class>

the value 'main' must match value attribute
what kind of mapping may i use ?

thanks

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to