Login  Register

RE: Form Widget: Two Thumbs Up

Posted by Vinay Agarwal on Jul 06, 2006; 8:39pm
URL: http://ofbiz.116.s1.nabble.com/Form-Widget-Two-Thumbs-Up-tp140531p140537.html

Si,
Here's the simplified version.

Regards,
Vinay Agarwal

<form name="membersEdit" type="single" target="membersEdit" title=""
    default-title-style="tableheadtext" default-widget-style="inputBox"
default-tooltip-style="tabletext">
    <field map-name="personUserLogin" name="partyId"><hidden/></field>
    <field map-name="personUserLogin" name="firstName"
title="${uiLabelMap.PartyFirstName}*"><text size="20"/></field>
    <field map-name="personUserLogin" name="lastName"
title="${uiLabelMap.PartyLastName}*"><text size="20"/></field>
    <field name="space1" title=" " widget-style="tabletext"><display
description=" " also-hidden="false"/></field>

    <field map-name="contactMechEmail" name="email" entry-name="infoString"
title="${uiLabelMap.PartyEmailAddress}*"><text size="40"/></field>

    <field name="labelCountryCode" title=" " position="1"
widget-style="tabletext"><display
description="${uiLabelMap.PartyCountryCode}" also-hidden="false"/></field>
    <field name="labelAreaCode" title=" " position="2"
widget-style="tabletext"><display description="${uiLabelMap.PartyAreaCode}"
also-hidden="false"/></field>
    <field name="labelPhoneNumber" title=" " position="3"
widget-style="tabletext"><display
description="${uiLabelMap.PartyPhoneNumber}" also-hidden="false"/></field>
    <field map-name="phoneHome" name="countryCodeHome"
entry-name="countryCode" title="${uiLabelMap.PartyHomePhone}"><text size="4"
maxlength="10"/></field>
    <field map-name="phoneHome" name="areaCodeHome" entry-name="areaCode"
title=" " position="2"><text size="4" maxlength="10"/></field>
    <field map-name="phoneHome" name="phoneNumberHome"
entry-name="contactNumber" title=" " position="3"><text size="15"
maxlength="15"/></field>
    <field name="space4" title=" " widget-style="tabletext"><display
description=" " also-hidden="false"/></field>

    <field map-name="contactMechAddress" name="chooseAddress"
entry-name="contactMechId" title="${uiLabelMap.GZChooseAddress}*"
widget-style="radioButton">
        <radio>
            <list-options list-name="contactMechAddresses"
key-name="contactMechId" description="${address1} ${address2}, ${city},
${stateProvinceGeoId} ${postalCode}, ${countryGeoId}"/>
        </radio>
    </field>
    <field name="space" title=" " widget-style="tabletext"><display
description=" " also-hidden="false"/></field>
    <field name="labelRequired" title="*" widget-style="tabletext"><display
description="Required fields" also-hidden="false"/></field>
    <field name="submitButton" title="${uiLabelMap.CommonUpdate}"
widget-style="smallSubmit"><submit button-type="button"/></field>
</form>