Re: Form Widget: Two Thumbs Up
Posted by
Si Chen-2 on
Jul 07, 2006; 12:08am
URL: http://ofbiz.116.s1.nabble.com/Form-Widget-Two-Thumbs-Up-tp140531p140533.html
Interesting...and how did you pass the Maps into this form?
On Jul 6, 2006, at 12:39 PM, Vinay Agarwal wrote:
> 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>