Users - <form> and map-name attribute

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Users - <form> and map-name attribute

Charles Johnson-2
Can anyone clear up the doubts expressed in my comments below?

    <form name="HotelEdit" type="single" default-title-style="myTitle">
        <!--
        We need a 'map-name' here in order for the form to get its
fields populated.
        But it's unclear to me why, and why this doesn't appear to work
with any name other than
        'hotel'
        -->
        <auto-fields-entity entity-name="Hotel"
default-field-type="edit" map-name="hotel" />
        <!-- Hide these fields -->
        <field name="hotelId"><hidden/></field>
        <field name="addressLine2"><hidden/></field>
    </form>

CJ
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users