Commits

Anonymous committed 73d247f

organize jsp/vm pages/decorators

git-svn-id: http://svn.opensymphony.com/svn/quartz/trunk@23269f7d36a-ea1c-0410-88ea-9fd03e4c9665

Comments (0)

Files changed (2)

webapp/webroot/jobs/listAllJobs.jsp

 <%@ taglib uri="/WEB-INF/tlds/webwork.tld" prefix="ww" %>
 
 <ww:set name="jobz" value="jobs" scope="request" />
+<%  String root = request.getContextPath(); %>
 
 <h1><fmt:message key="title.listAllJobs"/></h1>
 <!--decorator="org.quartz.ui.Decorator"  -->
-<display:table name="jobz" class="simple" id="row" >
+Find job(s) by name: <form name="JobSearchForm" method="post" action="<%=root%>/schedule/listJobs.action")>
+<input type="text" name="jobName" value="<ww:property value="jobName"/>"/>
+<input type="submit" value="Search" name="jobSearchSubmit"/>
+</form><p>
+<display:table name="jobz" class="simple" id="row" requestURI="listJobs.action">
   <display:column  titleKey="label.global.actions" > 
   		<c:url var="viewurl" value="/jobs/viewJob.action">
 			<c:param name="jobName" value="${row.name}"/>
   <display:column property="jobClass" titleKey="label.job.jobClass" sortable="true"  />
 
 </display:table>
+<script language="Javascript">
+	try {
+		document.JobSearchForm.jobName.focus()
+	} catch (e) {
+	}
+</script>

webapp/webroot/schedule/listAllTriggers.jsp

 <h1><fmt:message key="title.listAllTriggers"/></h1>
 <ww:set name="triggers" value="triggers" scope="request" />
 
-<display:table name="triggers" class="simple" id="row" >
+<display:table name="triggers" class="simple" id="row" requestURI="listTriggers.action">
   <display:column  titleKey="label.global.actions" > 
   		<c:url var="joburl" value="/jobs/viewJob.action">
 			<c:param name="jobName" value="${row.jobName}"/>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.