Applied patch from Anil K Patel, OFBIZ-705.

Tab bar is now shown when New FixedAssetMaint is created in Asset Maint component and also when TimeEntry is deleted.
The patch also includes a minor lookup form change.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@505233 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Scott Gray
2007-02-09 09:54:31 +00:00
parent 8a6084540c
commit 4cea6efb15
2 changed files with 4 additions and 2 deletions
@@ -37,7 +37,9 @@
<set-service-fields map-name="parameters" service-name="createFixedAssetMaint" to-map-name="createFixedAssetMaintCtx"/>
<call-service service-name="createFixedAssetMaint" in-map-name="createFixedAssetMaintCtx">
<result-to-field result-name="maintHistSeqId" map-name="findAssetMaintLookup" field-name="maintHistSeqId"/>
<result-to-request result-name="maintHistSeqId"/>
</call-service>
<set from-field="parameters.fixedAssetId" field="findAssetMaintLookup.fixedAssetId"/>
<find-by-primary-key entity-name="FixedAssetMaint" map-name="findAssetMaintLookup" value-name="findAssetMaint"/>
<set from-field="findAssetMaint.scheduleWorkEffortId" field="updateWorkEffortCtx.workEffortId"/>
+2 -2
View File
@@ -173,7 +173,7 @@
<sub-hyperlink target="EditTimesheet?timesheetId=${timesheetId}" link-style="buttontext" description="TS:${timesheetId}"/>
</lookup>
</field>
<field name="partyId" title="${uiLabelMap.PartyParty}"><lookup size="12" target-form-name="LookupPartyName" default-value="${timesheet.partyId}"/></field>
<field name="partyId" title="${uiLabelMap.PartyParty}"><lookup size="12" target-form-name="LookupPerson" default-value="${timesheet.partyId}"/></field>
<field name="rateTypeId" title="${uiLabelMap.TimesheetRateType}" widget-style="selectBox">
<drop-down>
<entity-options entity-name="RateType" description="${description}">
@@ -187,7 +187,7 @@
<field name="comments"><text size="60"/></field>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
<field name="deleteLink" title="" widget-style="buttontext">
<hyperlink target="deleteWorkEffortTimeEntry?workEffortId=${workEffortId}&amp;timeEntryId=${timeEntryId}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
<hyperlink target="deleteWorkEffortTimeEntry?maintHistSeqId=${maintHistSeqId}&amp;fixedAssetId=${fixedAssetId}&amp;workEffortId=${workEffortId}&amp;timeEntryId=${timeEntryId}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
</field>
</form>