Project

General

Profile

« Previous | Next » 

Revision 5822

Added by Jing Tao almost 14 years ago

Add more parameters - workflowid, workflowname and karid to the unscheduleWorkflow, rescheduleWorkflow and delete actions.

View differences:

lib/style/common/scheduledWorkflowResultset.xsl
81 81
							<xsl:choose>
82 82
							<xsl:when test="./status = 'scheduled'">
83 83
								<xsl:attribute name="class">underlined</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>
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;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>
85 85
								Unschedule
86 86
							</xsl:when>
87 87
							<xsl:otherwise>
88 88
								<xsl:attribute name="class">underlined</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>
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;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>
90 90
								Reschedule
91 91
							</xsl:otherwise>
92 92
							</xsl:choose>
......
95 95
						<xsl:when test="./status = 'unscheduled'">
96 96
							<a>
97 97
								<xsl:attribute name="class">underlined</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>
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;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>
99 99
								Delete	
100 100
							</a>
101 101
						</xsl:when>

Also available in: Unified diff