Securing URLs, link element in screens and menus : 8th set + tabs to 4 spaces

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@760684 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2009-03-31 22:23:40 +00:00
parent 3ad50027fb
commit 4b443e5f77
3 changed files with 25 additions and 5 deletions
+15 -3
View File
@@ -37,13 +37,25 @@
<menu name="FixedAssetMaintTabBar" extends="FixedAssetMaintTabBar" extends-resource="component://accounting/widget/Menus.xml">
<menu-item name="EditWorkEfforts" title="${uiLabelMap.WorkEffortAllTasks}">
<link target="EditWorkEfforts?fixedAssetId=${fixedAssetMaint.fixedAssetId}&amp;maintHistSeqId=${fixedAssetMaint.maintHistSeqId}&amp;workEffortId=${fixedAssetMaint.scheduleWorkEffortId}"/>
<link target="EditWorkEfforts">
<parameter param-name="fixedAssetId" from-field="fixedAssetMaint.fixedAssetId"/>
<parameter param-name="maintHistSeqId" from-field="fixedAssetMaint.maintHistSeqId"/>
<parameter param-name="workEffortId" from-field="fixedAssetMaint.scheduleWorkEffortId"/>
</link>
</menu-item>
<menu-item name="EditWorkEffortTimeEntries" title="${uiLabelMap.WorkEffortTimesheetTimeEntries}">
<link target="EditWorkEffortTimeEntries?fixedAssetId=${fixedAssetMaint.fixedAssetId}&amp;maintHistSeqId=${fixedAssetMaint.maintHistSeqId}&amp;workEffortId=${fixedAssetMaint.scheduleWorkEffortId}"/>
<link target="EditWorkEffortTimeEntries">
<parameter param-name="fixedAssetId" from-field="fixedAssetMaint.fixedAssetId"/>
<parameter param-name="maintHistSeqId" from-field="fixedAssetMaint.maintHistSeqId"/>
<parameter param-name="workEffortId" from-field="fixedAssetMaint.scheduleWorkEffortId"/>
</link>
</menu-item>
<menu-item name="EditWorkEffortNotes" title="${uiLabelMap.WorkEffortNotes}">
<link target="EditWorkEffortNotes?fixedAssetId=${fixedAssetMaint.fixedAssetId}&amp;maintHistSeqId=${fixedAssetMaint.maintHistSeqId}&amp;workEffortId=${fixedAssetMaint.scheduleWorkEffortId}"/>
<link target="EditWorkEffortNotes">
<parameter param-name="fixedAssetId" from-field="fixedAssetMaint.fixedAssetId"/>
<parameter param-name="maintHistSeqId" from-field="fixedAssetMaint.maintHistSeqId"/>
<parameter param-name="workEffortId" from-field="fixedAssetMaint.scheduleWorkEffortId"/>
</link>
</menu-item>
<menu-item name="EditItemIssuances" title="${uiLabelMap.AssetMaintItemIssuance}">
<link target="EditItemIssuances?fixedAssetId=${fixedAssetMaint.fixedAssetId}&amp;maintHistSeqId=${fixedAssetMaint.maintHistSeqId}"/>
+5 -1
View File
@@ -1022,7 +1022,11 @@ under the License.
</condition>
<widgets>
<screenlet title="${uiLabelMap.ProjectMgrContentList}">
<container><link target="EditProjectContents?projectId=${projectId}" text="${uiLabelMap.CommonCreateNew}" style="smallSubmit"/></container>
<container>
<link target="EditProjectContents" text="${uiLabelMap.CommonCreateNew}" style="smallSubmit">
<parameter param-name="projectId" from-field="projectId"/>
</link>
</container>
<include-form name="ListContents" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</screenlet>
<screenlet title="${uiLabelMap.PageTitleAddProjectContent}">
+5 -1
View File
@@ -539,7 +539,11 @@ under the License.
</condition>
<widgets>
<screenlet title="${uiLabelMap.ProjectMgrTaskContentList}">
<container><link target="EditTaskContents?workEffortId=${workEffortId}" text="${uiLabelMap.CommonCreateNew}" style="smallSubmit"/></container>
<container>
<link target="EditTaskContents" text="${uiLabelMap.CommonCreateNew}" style="smallSubmit">
<parameter param-name="workEffortId" from-field="workEffortId"/>
</link>
</container>
<include-form name="ListContents" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
</screenlet>
<screenlet title="${uiLabelMap.PageTitleAddTaskContent}">