A modified patch from Sascha Rodekamp "Missing Buttons on LookUp Search" (https://issues.apache.org/jira/browse/OFBIZ-3745) - OFBIZ-3745
For the pagination issue in bluelight and droppingcrumbs, the calendar issue in bluelight still exists I have also added 2 lookup and calendar test fields in the 2d lookups. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940234 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -285,12 +285,12 @@ under the License.
|
||||
<!-- Lookup (in a popup windows, old style) -->
|
||||
<!-- Using separated labels is not recommended (it's better using sentences than words for translation) but here we use only Common labels to avoid dependencies from application to framework -->
|
||||
<field name="partyIdFrom" title="${uiLabelMap.CommonPartyID} ${uiLabelMap.CommonFrom}">
|
||||
<lookup target-form-name="LookupPartyExamplePopup" presentation="window"/>
|
||||
<lookup target-form-name="LookupPartyExample" presentation="window"/>
|
||||
</field>
|
||||
<!-- Standard Lookup in a layer (new style)-->
|
||||
<!-- passes the name in one and the id in another field, the layer is centered -->
|
||||
<field name="partyName" title="${uiLabelMap.CommonName}">
|
||||
<lookup target-form-name="LookupPartyExamplePopupByName" description-field-name="partyIdTo" presentation="layer"/>
|
||||
<lookup target-form-name="LookupPartyExampleByName" description-field-name="partyIdTo" presentation="layer"/>
|
||||
</field>
|
||||
<!-- This field may be hidden and the name rendered in partyName using default-value if partyIdTo exists-->
|
||||
<field name="partyIdTo" title="${uiLabelMap.CommonPartyID} ${uiLabelMap.CommonTo}"><text/></field><!-- the text field is only used for rendering -->
|
||||
|
||||
@@ -21,7 +21,7 @@ under the License.
|
||||
<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
|
||||
|
||||
<form name="lookupPartyName" target="LookupPartyExamplePopup" type="single"
|
||||
<form name="lookupPartyName" target="LookupPartyExample" type="single"
|
||||
header-row-style="header-row" default-table-style="basic-table">
|
||||
<!--<auto-fields-entity entity-name="PartyNameView" default-field-type="find"/>-->
|
||||
<field name="partyId" title="${uiLabelMap.PartyPartyId}"><text-find/></field>
|
||||
@@ -36,7 +36,7 @@ under the License.
|
||||
<field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field>
|
||||
<field name="submitButton" title="${uiLabelMap.CommonFind}"><submit button-type="button"/></field>
|
||||
</form>
|
||||
<form name="listLookupPartyName" type="list" list-name="listIt" paginate-target="LookupPartyExamplePopup"
|
||||
<form name="listLookupPartyName" type="list" list-name="listIt" paginate-target="LookupPartyExample"
|
||||
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
||||
<actions>
|
||||
<set field="inputFields" from-field="parameters"/>
|
||||
@@ -57,12 +57,12 @@ under the License.
|
||||
</form>
|
||||
|
||||
<!-- Lookup By Name -->
|
||||
<form name="lookupPartyNameByName" target="LookupPartyExamplePopupByName" type="single"
|
||||
<form name="lookupPartyNameByName" target="LookupPartyExampleByName" type="single"
|
||||
header-row-style="header-row" default-table-style="basic-table">
|
||||
<!--<auto-fields-entity entity-name="PartyNameView" default-field-type="find"/>-->
|
||||
<field name="secLayFrom" title="Layer Layer Field">
|
||||
<lookup target-form-name="LookupPartyExamplePopup" presentation="layer" position="center" fade-background="false"/>
|
||||
<field name="LayerFromLayer" title="${uiLabelMap.ExampleLayerFromLayer}">
|
||||
<lookup presentation="layer" target-form-name="LookupPartyExample"/>
|
||||
</field>
|
||||
<field name="CalendarFromLayer" title="${uiLabelMap.ExampleCalendarFromLayer}"><date-time/></field>
|
||||
<field name="partyId" title="${uiLabelMap.PartyPartyId}"><text-find/></field>
|
||||
<field name="partyTypeId" title="${uiLabelMap.PartyTypeId}">
|
||||
<drop-down allow-empty="true">
|
||||
@@ -75,7 +75,7 @@ under the License.
|
||||
<field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field>
|
||||
<field name="submitButton" title="${uiLabelMap.CommonFind}"><submit button-type="button"/></field>
|
||||
</form>
|
||||
<form name="listLookupPartyNameByName" type="list" list-name="listIt" paginate-target="LookupPartyExamplePopupByName"
|
||||
<form name="listLookupPartyNameByName" type="list" list-name="listIt" paginate-target="LookupPartyExampleByName"
|
||||
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
||||
<actions>
|
||||
<set field="inputFields" from-field="parameters"/>
|
||||
|
||||
@@ -71,6 +71,7 @@ under the License.
|
||||
</condition>
|
||||
<actions>
|
||||
<property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
|
||||
<property-map resource="ExampleUiLabels" map-name="uiLabelMap" global="true"/>
|
||||
<set field="title" value="${uiLabelMap.PartyLookupPartyByName}"/>
|
||||
<set field="queryString" from-field="result.queryString"/>
|
||||
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
|
||||
|
||||
Reference in New Issue
Block a user