Modified: ofbiz/trunk/specialpurpose/example/widget/example/FormWidgetExampleForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/example/widget/example/FormWidgetExampleForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/example/widget/example/FormWidgetExampleForms.xml (original) +++ ofbiz/trunk/specialpurpose/example/widget/example/FormWidgetExampleForms.xml Wed Oct 21 16:00:02 2015 @@ -266,8 +266,8 @@ under the License. <field name="dependendDropDownFields" title="${uiLabelMap.ExampleDependentDropDowns}"> <display description="${uiLabelMap.ExampleDependentDropDownTooltip}"/> </field> - <field name="stateProvinceGeoId" title="${uiLabelMap.CommonState}" widget-style="required"><drop-down allow-empty="false"/></field> - <field name="countryGeoId" title="${uiLabelMap.CommonCountry}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> + <field name="stateProvinceGeoId" title="${uiLabelMap.CommonState}" required-field="true"><drop-down allow-empty="false"/></field> + <field name="countryGeoId" title="${uiLabelMap.CommonCountry}" tooltip="${uiLabelMap.CommonRequired}" required-field="true"> <drop-down no-current-selected-key="USA"> <entity-options entity-name="Geo" key-field-name="geoId" description="${geoName}"> <entity-constraint name="geoTypeId" value="COUNTRY"/> Modified: ofbiz/trunk/specialpurpose/scrum/widget/ResourceForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/widget/ResourceForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/scrum/widget/ResourceForms.xml (original) +++ ofbiz/trunk/specialpurpose/scrum/widget/ResourceForms.xml Wed Oct 21 16:00:02 2015 @@ -247,25 +247,25 @@ </form> <form name="QuickAddParty" type="single" target="createQuickAddParty"> - <field name="firstName" title="${uiLabelMap.PartyFirstName}" widget-style="required" tooltip="${uiLabelMap.CommonRequired}"> + <field name="firstName" title="${uiLabelMap.PartyFirstName}" required-field="true" tooltip="${uiLabelMap.CommonRequired}"> <text/> </field> <field name="middleName" title="${uiLabelMap.PartyMiddleName}"> <text size="10"/> </field> - <field name="lastName" title="${uiLabelMap.PartyLastName}" widget-style="required" tooltip="${uiLabelMap.CommonRequired}"> + <field name="lastName" title="${uiLabelMap.PartyLastName}" required-field="true" tooltip="${uiLabelMap.CommonRequired}"> <text/> </field> - <field name="emailAddress" title="${uiLabelMap.PartyEmailAddress}" widget-style="required" tooltip="${uiLabelMap.CommonRequired}"> + <field name="emailAddress" title="${uiLabelMap.PartyEmailAddress}" required-field="true" tooltip="${uiLabelMap.CommonRequired}"> <text size="50"/> </field> - <field name="userLoginId" title="${uiLabelMap.CommonUsername}" widget-style="required" tooltip="${uiLabelMap.CommonRequired}"> + <field name="userLoginId" title="${uiLabelMap.CommonUsername}" required-field="true" tooltip="${uiLabelMap.CommonRequired}"> <text/> </field> - <field name="password" title="${uiLabelMap.CommonPassword}" widget-style="required" tooltip="${uiLabelMap.CommonRequired}"> + <field name="password" title="${uiLabelMap.CommonPassword}" required-field="true" tooltip="${uiLabelMap.CommonRequired}"> <password/> </field> - <field name="confirmPassword" title="${uiLabelMap.ScrumVerifyPassword}" widget-style="required" tooltip="${uiLabelMap.PartyRepeatPassword}"> + <field name="confirmPassword" title="${uiLabelMap.ScrumVerifyPassword}" required-field="true" tooltip="${uiLabelMap.PartyRepeatPassword}"> <password/> </field> <field name="roleTypeId"> @@ -276,16 +276,16 @@ </entity-options> </drop-down> </field> - <field name="company" title="${uiLabelMap.ScrumCompanyNameShow}" widget-style="required" tooltip="${uiLabelMap.CommonRequired}"> + <field name="company" title="${uiLabelMap.ScrumCompanyNameShow}" required-field="true" tooltip="${uiLabelMap.CommonRequired}"> <lookup target-form-name="LookupPartyGroup"></lookup> </field> <field name="createButton" title="${uiLabelMap.CommonCreate}"><submit/></field> </form> <form name="QuickAddPartyRelationship" type="single" target="createQuickAddPartyRelationship"> - <field name="contactPartyId" title="${uiLabelMap.PartyPartyId}" widget-style="required" tooltip="${uiLabelMap.CommonRequired}"> + <field name="contactPartyId" title="${uiLabelMap.PartyPartyId}" required-field="true" tooltip="${uiLabelMap.CommonRequired}"> <lookup target-form-name="LookupPerson"></lookup> </field> - <field name="accountPartyId" title="${uiLabelMap.ScrumCompanyPartyId}" widget-style="required" tooltip="${uiLabelMap.CommonRequired}"> + <field name="accountPartyId" title="${uiLabelMap.ScrumCompanyPartyId}" required-field="true" tooltip="${uiLabelMap.CommonRequired}"> <lookup target-form-name="LookupPartyGroup"></lookup> </field> <field name="comments"><hidden/> </field> Modified: ofbiz/trunk/specialpurpose/scrum/widget/scrumForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/widget/scrumForms.xml?rev=1709872&r1=1709871&r2=1709872&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/scrum/widget/scrumForms.xml (original) +++ ofbiz/trunk/specialpurpose/scrum/widget/scrumForms.xml Wed Oct 21 16:00:02 2015 @@ -640,11 +640,11 @@ under the License. <field name="productId"><hidden value="${parameters.productId}"/></field> <field name="partyId"><hidden value="userLogin.partyId"/></field> <field name="custRequestTypeId" use-when="custRequest==null"><hidden/></field> - <field name="description" title="${uiLabelMap.ScrumProductBacklogItem}" widget-style="required" tooltip="${uiLabelMap.ScrumMax255Chars}" use-when="custRequest==null"> + <field name="description" title="${uiLabelMap.ScrumProductBacklogItem}" required-field="true" tooltip="${uiLabelMap.ScrumMax255Chars}" use-when="custRequest==null"> <text size="63" maxlength="255"/> </field> - <field name="description" title="${uiLabelMap.ScrumProductBacklogItem}" widget-style="required" tooltip="${uiLabelMap.ScrumMax255Chars}" use-when="custRequest!=null&&isTeamMember==false"><text size="63" maxlength="255"/></field> - <field name="description" title="${uiLabelMap.ScrumProductBacklogItem}" widget-style="required" tooltip="${uiLabelMap.CommonRequired}" use-when="custRequest!=null&&isTeamMember==true"><display/></field> + <field name="description" title="${uiLabelMap.ScrumProductBacklogItem}" required-field="true" tooltip="${uiLabelMap.ScrumMax255Chars}" use-when="custRequest!=null&&isTeamMember==false"><text size="63" maxlength="255"/></field> + <field name="description" title="${uiLabelMap.ScrumProductBacklogItem}" required-field="true" tooltip="${uiLabelMap.CommonRequired}" use-when="custRequest!=null&&isTeamMember==true"><display/></field> <field name="productId" map-name="product" title="${uiLabelMap.ScrumProjectMoveToProduct}" use-when="custRequest!=null&&isTeamMember==false"> <drop-down> <entity-options description="${groupName} ${internalName}[${productId}]" entity-name="ProductAndRole" key-field-name="productId"> @@ -2827,14 +2827,14 @@ under the License. <actions> <set field="unplanned" from-field="parameters.unplanned"/> </actions> - <field name="description" title="${uiLabelMap.ScrumProductBacklogItem}" widget-style="required" tooltip="${uiLabelMap.CommonRequired}"><text size="50" maxlength="255"/></field> + <field name="description" title="${uiLabelMap.ScrumProductBacklogItem}" required-field="true" tooltip="${uiLabelMap.CommonRequired}"><text size="50" maxlength="255"/></field> <field name="billed" title="${uiLabelMap.ScrumBilled}"> <drop-down allow-empty="false" no-current-selected-key="Y"> <option key="Y" description="${uiLabelMap.CommonY}"/> <option key="N" description="${uiLabelMap.CommonN}"/> </drop-down> </field> - <field name="unplanned" title="${uiLabelMap.ScrumUnplanBacklog}" event="onchange" action="javascript:document.QuickAddBacklog.action='QuickAddBacklog';document.QuickAddBacklog.submit();" widget-style="required" tooltip="${uiLabelMap.CommonRequired}"> + <field name="unplanned" title="${uiLabelMap.ScrumUnplanBacklog}" event="onchange" action="javascript:document.QuickAddBacklog.action='QuickAddBacklog';document.QuickAddBacklog.submit();" required-field="true" tooltip="${uiLabelMap.CommonRequired}"> <drop-down allow-empty="false"> <option key="" description="- ${uiLabelMap.CommonSelectOne} -"/> <option key="Y" description="${uiLabelMap.CommonYes}"/> @@ -2842,7 +2842,7 @@ under the License. </drop-down> </field> <field name="productId" title="${uiLabelMap.ScrumProductName}" use-when="${groovy: unplanned.equals("Y")}" event="onchange" action="javascript:document.QuickAddBacklog.action='QuickAddBacklog';document.QuickAddBacklog.submit();" - widget-style="required" tooltip="${uiLabelMap.CommonRequired}"> + required-field="true" tooltip="${uiLabelMap.CommonRequired}"> <drop-down allow-empty="true"> <entity-options description="${groupName} -- ${internalName}[${productId}]" entity-name="ProductAndRole" key-field-name="productId"> <entity-constraint name="supportDiscontinuationDate" operator="equals" value=""/> @@ -2853,7 +2853,7 @@ under the License. </drop-down> </field> <field name="keyId" title="${uiLabelMap.ScrumProduct} ${uiLabelMap.ScrumProject} ${uiLabelMap.ScrumSprint}" use-when="${groovy: unplanned.equals("N")}" event="onchange" action="javascript:document.QuickAddBacklog.action='QuickAddBacklog';document.QuickAddBacklog.submit();" - widget-style="required" tooltip="${uiLabelMap.CommonRequired}"> + required-field="true" tooltip="${uiLabelMap.CommonRequired}"> <drop-down allow-empty="true"> <list-options key-name="keyId" list-name="workEffortList" description="[${productId}] ${internalName} -- [${projectId}] ${projectName} -- [${sprintId}] ${sprintName}"/> </drop-down> |
Free forum by Nabble | Edit this page |