<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="${d.clazz.name}">
<!-- Include config.jelly for this Connection type -->
<st:include page="${d.configPage}" from="${d}"/>
</f:dropdownListBlock>
</j:forEach>
</f:dropdownList>
<f:validateButton title="${%Test Connection}" method="testConnection" with="${it.connProvider}" />
<f:entry title="${%Authentication}">
<f:repeatable field="authentication">
<table width="100%">
<st:include page="${current.descriptor.configPage}" from="${current.descriptor}"/>
<f:entry>
<div align="right">
<f:repeatableDeleteButton />
</div>
</f:entry>
</table>
</f:repeatable>
</f:entry>
</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 |
|
|