global.jelly #1

  • //
  • guest/
  • paul_allen/
  • dev/
  • p4-jenkins/
  • p4-client/
  • src/
  • main/
  • resources/
  • org/
  • jenkinsci/
  • plugins/
  • p4_client/
  • PerforceScm/
  • global.jelly
  • View
  • Commits
  • Open Download .zip Download (994 B)
<j:jelly 	xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" 
			xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">


	<f:section title="Perforce Connection Pool">		

		<f:entry title="Connections" field="connection">
			<f:select/>
		</f:entry>
        
		<j:set var="current" value="${it.connProvider}"/>
		<f:dropdownList name="connProvider" title="Add new connection">
			
			<j:forEach var="d" items="${descriptor.connDescriptors}" varStatus="loop">
				
				<j:set var="instance" value="${d}" />
				<!-- j:set var="connProvider" value="${descriptor==current.descriptor?current:null}"/-->
					
				<f:dropdownListBlock title="${d.displayName}" value="${loop.index}" selected="${connProvider!=null}" staplerClass="${descriptor.clazz.name}">

					<!-- Include config.jelly for this Connection type -->
					<st:include page="${d.configPage}" from="${d}"/>

				</f:dropdownListBlock>
					
			</j:forEach>
				
		</f:dropdownList>

	</f:section>
</j:jelly>
# Change User Description Committed
#4 9672 Paul Allen Refactor name from 'p4_client' to 'p4'.
#3 8612 Paul Allen Job can now select and save/load Credential choice (some cleanup TODO)
#2 8611 Paul Allen Basic implementation of Credentials Store
#1 8598 Paul Allen Experimentation with data binding for Jelly files and ExtensionPoint/Descriptor