Replaced BSH by direct UEL. Fix URLs not already secured (I checked there are no other case like this, it was related to "${bsh:" in description wich made fail regexp used before)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@760405 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -39,7 +39,10 @@
|
||||
<entity-order-by field-name="phaseName"/>
|
||||
<entity-order-by field-name="workEffortName"/>
|
||||
</entity-options>
|
||||
<sub-hyperlink target="taskView?workEffortId=${workEffortId}&my=${my}" description="${bsh:workEffortId!=void&&!"Totals".equals(workEffortId)?workEffortId:""}"/>
|
||||
<sub-hyperlink target="taskView" description="${workEffortId!=void&&!"Totals".equals(workEffortId)?workEffortId:""}">
|
||||
<parameter param-name="workEffortId"/>
|
||||
<parameter param-name="my"/>
|
||||
</sub-hyperlink>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="checkComplete" title="${uiLabelMap.ProjectMgrCheckComplete}"><check/></field>
|
||||
@@ -122,8 +125,8 @@
|
||||
<set field="complete" value="${uiLabelMap.ProjectMgrToComplete}"/>
|
||||
</actions>
|
||||
<row-actions>
|
||||
<set field="actualHours" value="${bsh:org.ofbiz.project.Various.calculateActualHours(delegator, timesheetId)}"/>
|
||||
<set field="completeLink" value="${bsh:"TIMESHEET_IN_PROCESS".equals(statusId)?complete:""}"/>
|
||||
<set field="actualHours" value="${org.ofbiz.project.Various.calculateActualHours(delegator, timesheetId)}"/>
|
||||
<set field="completeLink" value="${"TIMESHEET_IN_PROCESS".equals(statusId)?complete:""}"/>
|
||||
</row-actions>
|
||||
<field name="timesheetId" title="${uiLabelMap.WorkEffortTimesheetTimesheetId}" widget-style="buttontext">
|
||||
<hyperlink also-hidden="false" description="${timesheetId}" target="Timesheet">
|
||||
@@ -265,8 +268,10 @@
|
||||
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
||||
|
||||
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
||||
<hyperlink target="deleteTimesheetEntry?timesheetId=${timesheetId}&timeEntryId=${timeEntryId}"
|
||||
description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
|
||||
<hyperlink target="deleteTimesheetEntry" description="${uiLabelMap.CommonDelete}" also-hidden="false">
|
||||
<parameter param-name="timesheetId"/>
|
||||
<parameter param-name="timeEntryId"/>
|
||||
</hyperlink>
|
||||
</field>
|
||||
</form>
|
||||
<form name="WeekTimesheet" type="list" list-name="timeEntries" separate-columns="true"
|
||||
|
||||
Reference in New Issue
Block a user