Project

General

Profile

« Previous | Next » 

Revision 5821

Added by Jing Tao over 13 years ago

Add more parameters such as sessionid, authenticationURL and authorizationURL for unscheduleWorkflow, rescheduleWorkflow and delete action.

View differences:

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&amp;workflowjobname=<xsl:value-of select='./name' />&amp;workflowname=<xsl:value-of select='./jobParam[@name=&apos;workflowname&apos;]/value' />&amp;workflowid=<xsl:value-of select='./jobParam[@name=&apos;workflowid&apos;]/value' />&amp;karid=<xsl:value-of select='./jobParam[@name=&apos;karid&apos;]/value' />&amp;qformat=<xsl:value-of select='$qformat' />&amp;forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
84
								<xsl:attribute name="href"><xsl:value-of select='$servletURL' />?action=unscheduleWorkflow&amp;workflowjobname=<xsl:value-of select='./name' />&amp;sessionid=<xsl:value-of select='$sessid' />&amp;authServiceURL=<xsl:value-of select='$authServiceURL' />&amp;authorizationURL=<xsl:value-of select='$authorizationURL' />&amp;qformat=<xsl:value-of select='$qformat' />&amp;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&amp;workflowjobname=<xsl:value-of select='./name' />&amp;workflowname=<xsl:value-of select='./jobParam[@name=&apos;workflowname&apos;]/value' />&amp;workflowid=<xsl:value-of select='./jobParam[@name=&apos;workflowid&apos;]/value' />&amp;karid=<xsl:value-of select='./jobParam[@name=&apos;karid&apos;]/value' />&amp;qformat=<xsl:value-of select='$qformat' />&amp;forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
89
								<xsl:attribute name="href"><xsl:value-of select='$servletURL' />?action=rescheduleWorkflow&amp;workflowjobname=<xsl:value-of select='./name' />&amp;sessionid=<xsl:value-of select='$sessid' />&amp;authServiceURL=<xsl:value-of select='$authServiceURL' />&amp;authorizationURL=<xsl:value-of select='$authorizationURL' />&amp;qformat=<xsl:value-of select='$qformat' />&amp;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&amp;workflowjobname=<xsl:value-of select='./name' />&amp;workflowname=<xsl:value-of select='./jobParam[@name=&apos;workflowname&apos;]/value' />&amp;workflowid=<xsl:value-of select='./jobParam[@name=&apos;workflowid&apos;]/value' />&amp;karid=<xsl:value-of select='./jobParam[@name=&apos;karid&apos;]/value' />&amp;qformat=<xsl:value-of select='$qformat' />&amp;forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
98
								<xsl:attribute name="href"><xsl:value-of select='$servletURL' />?action=deleteScheduledWorkflow&amp;workflowjobname=<xsl:value-of select='./name' />&amp;sessionid=<xsl:value-of select='$sessid' />&amp;authServiceURL=<xsl:value-of select='$authServiceURL' />&amp;authorizationURL=<xsl:value-of select='$authorizationURL' />&amp;qformat=<xsl:value-of select='$qformat' />&amp;forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
97 99
								Delete	
98 100
							</a>
99 101
						</xsl:when>

Also available in: Unified diff