Revision 5821
Added by Jing Tao over 13 years ago
scheduledWorkflowResultset.xsl | ||
---|---|---|
36 | 36 |
<xsl:param name="enableediting">false</xsl:param> |
37 | 37 |
<xsl:param name="contextURL"/> |
38 | 38 |
<xsl:param name="servletURL"/> |
39 |
<xsl:param name ="authServiceURL"/> |
|
40 |
<xsl:param name ="authorizationURL"/> |
|
39 | 41 |
|
40 | 42 |
<xsl:template match="/"> |
41 | 43 |
<div class="row row-header" > |
... | ... | |
79 | 81 |
<xsl:choose> |
80 | 82 |
<xsl:when test="./status = 'scheduled'"> |
81 | 83 |
<xsl:attribute name="class">underlined</xsl:attribute> |
82 |
<xsl:attribute name="href"><xsl:value-of select='$servletURL' />?action=unscheduleWorkflow&workflowjobname=<xsl:value-of select='./name' />&workflowname=<xsl:value-of select='./jobParam[@name='workflowname']/value' />&workflowid=<xsl:value-of select='./jobParam[@name='workflowid']/value' />&karid=<xsl:value-of select='./jobParam[@name='karid']/value' />&qformat=<xsl:value-of select='$qformat' />&forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
|
|
84 |
<xsl:attribute name="href"><xsl:value-of select='$servletURL' />?action=unscheduleWorkflow&workflowjobname=<xsl:value-of select='./name' />&sessionid=<xsl:value-of select='$sessid' />&authServiceURL=<xsl:value-of select='$authServiceURL' />&authorizationURL=<xsl:value-of select='$authorizationURL' />&qformat=<xsl:value-of select='$qformat' />&forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
|
|
83 | 85 |
Unschedule |
84 | 86 |
</xsl:when> |
85 | 87 |
<xsl:otherwise> |
86 | 88 |
<xsl:attribute name="class">underlined</xsl:attribute> |
87 |
<xsl:attribute name="href"><xsl:value-of select='$servletURL' />?action=rescheduleWorkflow&workflowjobname=<xsl:value-of select='./name' />&workflowname=<xsl:value-of select='./jobParam[@name='workflowname']/value' />&workflowid=<xsl:value-of select='./jobParam[@name='workflowid']/value' />&karid=<xsl:value-of select='./jobParam[@name='karid']/value' />&qformat=<xsl:value-of select='$qformat' />&forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
|
|
89 |
<xsl:attribute name="href"><xsl:value-of select='$servletURL' />?action=rescheduleWorkflow&workflowjobname=<xsl:value-of select='./name' />&sessionid=<xsl:value-of select='$sessid' />&authServiceURL=<xsl:value-of select='$authServiceURL' />&authorizationURL=<xsl:value-of select='$authorizationURL' />&qformat=<xsl:value-of select='$qformat' />&forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
|
|
88 | 90 |
Reschedule |
89 | 91 |
</xsl:otherwise> |
90 | 92 |
</xsl:choose> |
... | ... | |
93 | 95 |
<xsl:when test="./status = 'unscheduled'"> |
94 | 96 |
<a> |
95 | 97 |
<xsl:attribute name="class">underlined</xsl:attribute> |
96 |
<xsl:attribute name="href"><xsl:value-of select='$servletURL' />?action=deleteScheduledWorkflow&workflowjobname=<xsl:value-of select='./name' />&workflowname=<xsl:value-of select='./jobParam[@name='workflowname']/value' />&workflowid=<xsl:value-of select='./jobParam[@name='workflowid']/value' />&karid=<xsl:value-of select='./jobParam[@name='karid']/value' />&qformat=<xsl:value-of select='$qformat' />&forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
|
|
98 |
<xsl:attribute name="href"><xsl:value-of select='$servletURL' />?action=deleteScheduledWorkflow&workflowjobname=<xsl:value-of select='./name' />&sessionid=<xsl:value-of select='$sessid' />&authServiceURL=<xsl:value-of select='$authServiceURL' />&authorizationURL=<xsl:value-of select='$authorizationURL' />&qformat=<xsl:value-of select='$qformat' />&forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
|
|
97 | 99 |
Delete |
98 | 100 |
</a> |
99 | 101 |
</xsl:when> |
Also available in: Unified diff
Add more parameters such as sessionid, authenticationURL and authorizationURL for unscheduleWorkflow, rescheduleWorkflow and delete action.