Author: jleroux
Date: Tue Mar 11 10:53:37 2014 New Revision: 1576278 URL: http://svn.apache.org/r1576278 Log: Adds the conventional comment <!-- if this isn't there then with all fields empty no query will be done --> to "noConditionFind" fields. It's not quite obvious, so the more there are the better Modified: ofbiz/trunk/applications/accounting/widget/PaymentGatewayConfigForms.xml ofbiz/trunk/applications/accounting/widget/TransactionForms.xml ofbiz/trunk/applications/content/widget/website/WebAnalyticsForms.xml ofbiz/trunk/applications/humanres/widget/forms/EmplLeaveForms.xml ofbiz/trunk/applications/humanres/widget/forms/LookupForms.xml ofbiz/trunk/applications/humanres/widget/forms/PersonTrainingForms.xml ofbiz/trunk/applications/humanres/widget/forms/RecruitmentForms.xml ofbiz/trunk/applications/party/widget/partymgr/LookupForms.xml ofbiz/trunk/applications/product/widget/catalog/FieldLookupForms.xml ofbiz/trunk/applications/product/widget/facility/ShipmentGatewayConfigForms.xml ofbiz/trunk/specialpurpose/ebay/widget/EbayForms.xml ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml ofbiz/trunk/specialpurpose/scrum/widget/TaskForms.xml Modified: ofbiz/trunk/applications/accounting/widget/PaymentGatewayConfigForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/PaymentGatewayConfigForms.xml?rev=1576278&r1=1576277&r2=1576278&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/PaymentGatewayConfigForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/PaymentGatewayConfigForms.xml Tue Mar 11 10:53:37 2014 @@ -31,7 +31,7 @@ under the License. </drop-down> </field> <field name="performSearch"><hidden value="Y"/></field> - <field name="noConditionFind"><hidden value="Y"/></field> + <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}" widget-style="smallSubmit"> <submit button-type="button"/> </field> @@ -411,7 +411,7 @@ under the License. <field name="paymentGatewayConfigTypeId" title="${uiLabelMap.AccountingPaymentGatewayConfigTypeId}"><text-find ignore-case="true"/></field> <field name="description" title="${uiLabelMap.AccountingPaymentGatewayConfigDescription}"><text-find ignore-case="true"/></field> <field name="performSearch"><hidden value="Y"/></field> - <field name="noConditionFind"><hidden value="Y"/></field> + <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}" widget-style="smallSubmit"> <submit button-type="button"/> </field> Modified: ofbiz/trunk/applications/accounting/widget/TransactionForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/TransactionForms.xml?rev=1576278&r1=1576277&r2=1576278&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/TransactionForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/TransactionForms.xml Tue Mar 11 10:53:37 2014 @@ -55,7 +55,7 @@ under the License. <text-find size="60" maxlength="60"/> </field> <field name="performSearch"><hidden value="Y"/></field> - <field name="noConditionFind"><hidden value="Y"/></field> + <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}" widget-style="smallSubmit"> <submit button-type="button"/> </field> Modified: ofbiz/trunk/applications/content/widget/website/WebAnalyticsForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/website/WebAnalyticsForms.xml?rev=1576278&r1=1576277&r2=1576278&view=diff ============================================================================== --- ofbiz/trunk/applications/content/widget/website/WebAnalyticsForms.xml (original) +++ ofbiz/trunk/applications/content/widget/website/WebAnalyticsForms.xml Tue Mar 11 10:53:37 2014 @@ -70,7 +70,7 @@ under the License. <text size="20" maxlength="20"/> </field> <field name="webSiteId" title="${uiLabelMap.CommonWebsite}"><hidden value="${parameters.webSiteId}"/></field> - <field name="noConditionFind"><hidden value="Y"/></field> + <field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field> <field use-when="webAnalyticsConfig!=null" name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> <field use-when="webAnalyticsConfig==null" name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> Modified: ofbiz/trunk/applications/humanres/widget/forms/EmplLeaveForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/EmplLeaveForms.xml?rev=1576278&r1=1576277&r2=1576278&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/forms/EmplLeaveForms.xml (original) +++ ofbiz/trunk/applications/humanres/widget/forms/EmplLeaveForms.xml Tue Mar 11 10:53:37 2014 @@ -116,7 +116,7 @@ </form> <form name="FindLeaveApprovals" target="FindLeaveApprovals" type="single"> <auto-fields-entity entity-name="EmplLeave" default-field-type="find"/> - <field name="noConditionFind"><hidden value="Y"/></field> + <field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field> <!--<field name="approverPartyId" use-when="!hasAdminPermission"><hidden value="${approverPartyId}"/></field>--> <field name="partyId"><lookup target-form-name="LookupPartyName"/></field> <field name="leaveStatus"> Modified: ofbiz/trunk/applications/humanres/widget/forms/LookupForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/LookupForms.xml?rev=1576278&r1=1576277&r2=1576278&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/forms/LookupForms.xml (original) +++ ofbiz/trunk/applications/humanres/widget/forms/LookupForms.xml Tue Mar 11 10:53:37 2014 @@ -333,7 +333,7 @@ under the License. </entity-options> </drop-down> </field> - <field name="noConditionFind"><hidden value="Y"/></field> + <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}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> <form name="ListLookupJobRequisition" type="list" list-name="listIt" paginate-target="LookupJobRequisition"> @@ -357,7 +357,7 @@ under the License. <field name="trainingClassTypeId" title="${uiLabelMap.HumanResTrainingClassType}"><text-find ignore-case="true"/></field> <field name="parentTypeId" title="${uiLabelMap.HumanResPreRequisiteSkill}"><text-find ignore-case="true"/></field> <field name="description" title="${uiLabelMap.CommonDescription}"><text-find ignore-case="true"/></field> - <field name="noConditionFind"><hidden value="Y"/></field> + <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}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> <form name="ListLookupTraining" type="list" list-name="listIt" odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> Modified: ofbiz/trunk/applications/humanres/widget/forms/PersonTrainingForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/PersonTrainingForms.xml?rev=1576278&r1=1576277&r2=1576278&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/forms/PersonTrainingForms.xml (original) +++ ofbiz/trunk/applications/humanres/widget/forms/PersonTrainingForms.xml Tue Mar 11 10:53:37 2014 @@ -96,7 +96,7 @@ under the License. </field> <field name="approverId" use-when="!hasAdminPermission"><hidden value="${loginPartyId}"/></field> <field name="reason"><text-find ignore-case="true"/></field> - <field name="noConditionFind"><hidden value="Y"/></field> + <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}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> <form name="ListTrainingApprovals" type="list" list-name="listIt" target="updateTrainingStatus" title="" odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> @@ -166,7 +166,7 @@ under the License. <field name="approverId"><lookup target-form-name="LookupPartyName"/></field> <field name="approvalStatus"><text-find ignore-case="true"/></field> <field name="reason"><text-find ignore-case="true"/></field> - <field name="noConditionFind"><hidden value="Y"/></field> + <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.CommonSearch}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> <form name="ListTrainingStatus" list-name="listIt" title="" type="list" odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> Modified: ofbiz/trunk/applications/humanres/widget/forms/RecruitmentForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/RecruitmentForms.xml?rev=1576278&r1=1576277&r2=1576278&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/forms/RecruitmentForms.xml (original) +++ ofbiz/trunk/applications/humanres/widget/forms/RecruitmentForms.xml Tue Mar 11 10:53:37 2014 @@ -24,7 +24,7 @@ under the License. <set field="jobRequisitionId" from-field="parameters.jobRequisitionId"/> </actions> <auto-fields-entity entity-name="JobRequisition" default-field-type="find"/> - <field name="noConditionFind"><hidden value="Y"/></field> + <field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field> <field name="jobRequisitionId"><lookup target-form-name="LookupJobRequisition"/></field> <field name="skillTypeId"> <drop-down allow-empty="true"> @@ -154,7 +154,7 @@ under the License. </entity-options> </drop-down> </field> - <field name="noConditionFind"><hidden value="Y"/></field> + <field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field> <field name="jobRequisitionId"><lookup target-form-name="LookupJobRequisition"/></field> <field name="approverPartyId"><lookup target-form-name="LookupPartyName"/></field> <field name="emplPositionId"><hidden/></field> @@ -228,7 +228,7 @@ under the License. </form> <form name="FindJobInterview" type="single" target="FindJobInterview"> <auto-fields-entity entity-name="JobInterview" default-field-type="find"/> - <field name="noConditionFind"><hidden value="Y"/></field> + <field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field> <field name="jobIntervieweePartyId"><lookup target-form-name="LookupPartyName"/></field> <field name="jobRequisitionId"><lookup target-form-name="LookupJobRequisition"/></field> <field name="jobInterviewerPartyId"><lookup target-form-name="LookupPartyName"/></field> @@ -328,7 +328,7 @@ under the License. </form> <form name="FindApprovals" target="FindApprovals" type="single"> <auto-fields-entity entity-name="EmploymentApp" default-field-type="find"/> - <field name="noConditionFind"><hidden value="Y"/></field> + <field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field> <field name="applicationId"><lookup target-form-name="LookupEmploymentApp"/></field> <field name="approverPartyId" use-when="!hasAdminPermission"><hidden value="${partyId}"/></field> <field name="applyingPartyId"><lookup target-form-name="LookupPartyName"/></field> @@ -415,7 +415,7 @@ under the License. </field> <field name="reportingDate"><date-find/></field> <field name="location"><text-find/></field> - <field name="noConditionFind"><hidden value="Y"/></field> + <field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field> <field name="searchButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> <form name="ListRelocation" list-name="listIt" type="list" odd-row-style="alternate-row" header-row-style="header-row-2" Modified: ofbiz/trunk/applications/party/widget/partymgr/LookupForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/LookupForms.xml?rev=1576278&r1=1576277&r2=1576278&view=diff ============================================================================== --- ofbiz/trunk/applications/party/widget/partymgr/LookupForms.xml (original) +++ ofbiz/trunk/applications/party/widget/partymgr/LookupForms.xml Tue Mar 11 10:53:37 2014 @@ -430,7 +430,7 @@ under the License. <field name="roleTypeId"><hidden value="INTERNAL_ORGANIZATIO"/></field> <field name="partyId"><text-find/></field> <field name="groupName"><text-find/></field> - <field name="noConditionFind"><hidden value="Y"/></field> + <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> </forms> Modified: ofbiz/trunk/applications/product/widget/catalog/FieldLookupForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/FieldLookupForms.xml?rev=1576278&r1=1576277&r2=1576278&view=diff ============================================================================== --- ofbiz/trunk/applications/product/widget/catalog/FieldLookupForms.xml (original) +++ ofbiz/trunk/applications/product/widget/catalog/FieldLookupForms.xml Tue Mar 11 10:53:37 2014 @@ -40,7 +40,7 @@ under the License. </entity-options> </drop-down> </field> - <field name="noConditionFind"><hidden value="Y"/></field> + <field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field> <!-- NOTE DEJ20070829 not sure why this is here, but it doesn't seem applicable for a general product lookup, also doesn't handle case where isVariant is null <field name="isVariant"><hidden value="N"/></field> --> <field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> Modified: ofbiz/trunk/applications/product/widget/facility/ShipmentGatewayConfigForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/facility/ShipmentGatewayConfigForms.xml?rev=1576278&r1=1576277&r2=1576278&view=diff ============================================================================== --- ofbiz/trunk/applications/product/widget/facility/ShipmentGatewayConfigForms.xml (original) +++ ofbiz/trunk/applications/product/widget/facility/ShipmentGatewayConfigForms.xml Tue Mar 11 10:53:37 2014 @@ -31,7 +31,7 @@ under the License. </drop-down> </field> <field name="performSearch"><hidden value="Y"/></field> - <field name="noConditionFind"><hidden value="Y"/></field> + <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}" widget-style="smallSubmit"> <submit button-type="button"/> </field> @@ -307,7 +307,7 @@ under the License. <field name="shipmentGatewayConfTypeId" title="${uiLabelMap.FacilityShipmentGatewayConfigTypeId}"><text-find ignore-case="true"/></field> <field name="description" title="${uiLabelMap.FacilityShipmentGatewayConfigDescription}"><text-find ignore-case="true"/></field> <field name="performSearch"><hidden value="Y"/></field> - <field name="noConditionFind"><hidden value="Y"/></field> + <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}" widget-style="smallSubmit"> <submit button-type="button"/> </field> Modified: ofbiz/trunk/specialpurpose/ebay/widget/EbayForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebay/widget/EbayForms.xml?rev=1576278&r1=1576277&r2=1576278&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ebay/widget/EbayForms.xml (original) +++ ofbiz/trunk/specialpurpose/ebay/widget/EbayForms.xml Tue Mar 11 10:53:37 2014 @@ -267,7 +267,7 @@ under the License. </entity-options> </drop-down> </field> - <field name="noConditionFind"><hidden value="Y"/></field> + <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}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> </forms> Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml?rev=1576278&r1=1576277&r2=1576278&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml Tue Mar 11 10:53:37 2014 @@ -152,7 +152,7 @@ <field name="save" title="${uiLabelMap.CommonSave}"><submit/></field> </form> <form name="FindTask" type="single" target="FindTask"> - <field name="noConditionFind"><hidden value="Y"/></field> + <field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field> <field name="workEffortTypeId"><hidden value="TASK"/></field> <field name="workEffortId" title="${uiLabelMap.ProjectMgrTaskId}"><text-find ignore-case="true"/></field> <field name="workEffortName" title="${uiLabelMap.ProjectMgrTaskName}"><text-find ignore-case="true"/></field> Modified: ofbiz/trunk/specialpurpose/scrum/widget/TaskForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/widget/TaskForms.xml?rev=1576278&r1=1576277&r2=1576278&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/scrum/widget/TaskForms.xml (original) +++ ofbiz/trunk/specialpurpose/scrum/widget/TaskForms.xml Tue Mar 11 10:53:37 2014 @@ -958,7 +958,7 @@ </field> <field name="fromDate"><display type="date"/></field> <field name="thruDate"><display type="date"/></field> - <field name="noConditionFind"><hidden value="Y"/></field> + <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.CommonRemove}"><submit/></field> </form> <form name="taskMemberListInfo" type="list" extends="taskMemberList" separate-columns="true" |
Free forum by Nabble | Edit this page |