You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Justin Robinson <ju...@venturenet.co.za> on 2011/05/20 14:17:24 UTC

Form Widgets ... Are Nested Tables Possible?

I have the following, forms defined, my problem is I have 2 lists that
need to be displayed & it seem you can only display a  list in a
separate form. So the end effect of including all the forms in a
screen, is the 2 list tables are out of alignment with the
SubscriptionUser table.
Is there any way to display a list within a form.

This is the view, but when I get to the form to edit these entity
values I'll run into the same problem, how can I include editable
lists in a multi form?

If anyone has any tips off the top of their heads it would save a lot
of time. Thanks!


    <!-- display a Subscription -->
    <form name="SubscriptionUser" type="single"
default-map-name="Subscription" target="" title=""
        default-title-style="tableheadtext"
default-widget-style="tabletext" default-tooltip-style="tabletext">
            <field name="subscriptionUser.virtualProductId"
title="Product Group" ><display/></field>
			<field name="subscriptionUser.customerPartyId"	title="Customer
PartyId" ><display/></field>
			<field name="subscriptionUser.sequenceNum"	title="User Number"
><display/></field>
			<field name="subscriptionUser.currentVarientProductId"
title="Current Product" ><display/></field>
			<field name="subscriptionUser.currentSubscriptionId"	title="Current
SubscriptionId" ><display/></field>
			<field name="subscriptionUser.lastOrderId"	title="Last OrderId"
><display/></field>
			<field name="subscriptionUser.lastOrderItemSeqId"	title="Last
OrderItemSeqId" ><display/></field>
			<field name="subscriptionUser.provisonedStamp"	title="Provisoned
Stamp" ><display/></field>
			<field name="subscriptionUser.description"	title="Description"
><display/></field>
			<field name="subscriptionUser.comments"	title="Comments"
><display/></field>
			<field name="subscriptionUser.fromDate"	title="From Date"
><display/></field>
			<field name="subscriptionUser.thruDate"	title="Thru Date" ><display/></field>
	</form>
	
	<form name="SubscriptionUserAttributes" type="list"
list-name="optionAttributes">
	    <field name="attrName" title="Attribute Name"><display/></field>
	    <field name="attrValue" title="Attribute Value"><display/></field>
    </form>
	
	<form name="OptionModel" type="single"
default-map-name="Subscription" target="" title="" >
        <field name="option.provisorPartyId" title="Provider PartyId"
><display/></field>
        <field name="option.description" title="Option Description"
><display/></field>
    </form>
	
	<form name="OptionModelAttributes" type="list" list-name="optionAttributes">
	    <field name="attrName" title="Attribute Name"><display/></field>
	    <field name="attrValue" title="Attribute Value"><display/></field>
    </form>

-- 
Regards,
Justin
Venture-Net Research & Development