Project

General

Profile

« Previous | Next » 

Revision 5813

Added by Jing Tao almost 14 years ago

Add new selection - destination repository in tpc scheduler.

View differences:

lib/style/skins/sanparks/sanparks.css
776 776
	width: 150px;
777 777
}
778 778

  
779
dropdown-long-input {
780
  margin: 0px 10px 0px 0px;
781
  width: 215px;
782
}
783

  
779 784
.submit-button {
780 785
	margin: 20px 0px 10px 300px;
781 786
	width: 150px;
lib/style/skins/sanparks/settings.jsp
31 31

  
32 32
<%@ include file="../../common/common-settings.jsp"%>
33 33
<%@ include file="../../common/configure-check.jsp"%>
34

  
34
<%@page import="edu.ucsb.nceas.metacat.properties.PropertyService,java.util.Vector,edu.ucsb.nceas.utilities.StringUtil"%>
35 35
<% 
36 36
	
37 37
 // if true, POST variables echoed at bottom of client's browser window in a big yellow box
......
44 44
  //COMMON_SEARCH_METACAT_POST_FIELDS  +=
45 45
  //SIMPLE_SEARCH_METACAT_POST_FIELDS  +=
46 46
  //ADVANCED_SEARCH_METACAT_POST_FIELD +=
47
  String resultDestinationRepository = PropertyService.getProperty("executionEngine.resultDestinationRepository");
48
  Vector repositoryList = StringUtil.toVector(resultDestinationRepository, ':');
47 49
%>
lib/style/skins/sanparks/scheduleWorkflowRun.jsp
150 150
												<option name="months" value="mon">months</option>
151 151
											</select>
152 152
										</div>
153
										<div class="form-input-row">
154
                      <div class="field-label" id=resultDestination-label' >Result Destination: </div>  
155
                      <select class="dropdown-long-input" name='destinationRepositoryName'>
156
                        <%
157
                          for( int i = 0; i < repositoryList.size(); i++ )
158
                           {
159
                        %>
160
                            <option name='<%= repositoryList.elementAt( i ).toString() %>' value='<%= repositoryList.elementAt( i ).toString() %>' > 
161
                            <%=repositoryList.elementAt( i ).toString() %> </option>
162
                        <%
163
                          }
164
                        %>
165
                      </select>
166
                    </div>
153 167
										<br> <br>     		
154 168
					        			<input class="submit-button" value="Schedule" type="submit"
155 169
<%

Also available in: Unified diff