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:
Jacques Le Roux
2009-03-31 11:45:35 +00:00
parent 4400b0cdf0
commit c149a26c6b
+10 -5
View File
@@ -39,7 +39,10 @@
<entity-order-by field-name="phaseName"/>
<entity-order-by field-name="workEffortName"/>
</entity-options>
<sub-hyperlink target="taskView?workEffortId=${workEffortId}&amp;my=${my}" description="${bsh:workEffortId!=void&amp;&amp;!&quot;Totals&quot;.equals(workEffortId)?workEffortId:&quot;&quot;}"/>
<sub-hyperlink target="taskView" description="${workEffortId!=void&amp;&amp;!&quot;Totals&quot;.equals(workEffortId)?workEffortId:&quot;&quot;}">
<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:&quot;TIMESHEET_IN_PROCESS&quot;.equals(statusId)?complete:&quot;&quot;}"/>
<set field="actualHours" value="${org.ofbiz.project.Various.calculateActualHours(delegator, timesheetId)}"/>
<set field="completeLink" value="${&quot;TIMESHEET_IN_PROCESS&quot;.equals(statusId)?complete:&quot;&quot;}"/>
</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}&amp;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"