Author: jleroux
Date: Tue Mar 31 11:45:35 2009 New Revision: 760405 URL: http://svn.apache.org/viewvc?rev=760405&view=rev Log: 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) Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TimeSheetForms.xml Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TimeSheetForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TimeSheetForms.xml?rev=760405&r1=760404&r2=760405&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TimeSheetForms.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TimeSheetForms.xml Tue Mar 31 11:45:35 2009 @@ -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" |
Free forum by Nabble | Edit this page |