<%@ include file="/WEB-INF/common/taglibs.jsp"%> <head> <title><fmt:message key="bioDatasourceDetail.title" /></title> <c:choose> <c:when test="${param.method == 'add'}"> <meta name="heading" content="<fmt:message key='bioDatasourceDetail.add.heading'/>" /> </c:when> <c:otherwise> <meta name="heading" content="<fmt:message key='bioDatasourceDetail.edit.heading'/>" /> </c:otherwise> </c:choose> </head> <form id="saveBioDatasourceForm" action="saveBioDatasource" method="post" validate="false"> <input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}" /> <li class="info"><c:choose> <c:when test="${param.method == 'add'}"> <p> <fmt:message key="bioDatasourceDetail.add.message" /> </p> </c:when> <c:otherwise> <p> <fmt:message key="bioDatasourceDetail.edit.message" /> </p> </c:otherwise> </c:choose></li> <s:hidden key="bioDatasource.id" /> <s:textfield key="bioDatasource.name" required="true" maxlength="200" size="71" /> <s:textfield key="bioDatasource.providerName" required="true" maxlength="200" size="71" /> <s:textfield key="bioDatasource.providerURL" required="true" maxlength="200" size="71" cssClass="text" /> <s:textfield key="bioDatasource.providerAddress" required="true" maxlength="200" size="71" cssClass="text" /> <s:textfield key="bioDatasource.url" required="true" maxlength="200" size="71" /> <c:choose> <c:when test="${param.method == 'add'}"> <s:select key="bioDatasource.harvesterFactory" list="#{'org.binhum.gbif.harvest.digir.DigirMetadataFactory':'DiGIR Metadata Factory (DwC 1.2)', 'org.binhum.gbif.harvest.biocase.BiocaseMetadataFactory':'BioCASe Metadata Factory (ABCD 2.06)', 'org.binhum.gbif.harvest.tapir.TapirMetadataFactory':'TAPIR Metadata Factory (DwC 1.4 with geo + cur extensions)', 'org.binhum.gbif.harvest.tapirlite.TapirLiteHarvesterFactory':'TAPIRLite Harvester Factory (DwC 1.4 with geo + cur extensions using empty template)'}" required="true" /> </c:when> <c:otherwise> <s:select key="bioDatasource.harvesterFactory" list="#{'org.binhum.gbif.harvest.digir.DigirMetadataFactory':'DiGIR Metadata Factory (DwC 1.2)', 'org.binhum.gbif.harvest.digir.DigirHarvesterFactory':'DiGIR Harvester Factory (DwC 1.2)', 'org.binhum.gbif.harvest.biocase.BiocaseMetadataFactory':'BioCASe Metadata Factory (ABCD 2.06)', 'org.binhum.gbif.harvest.biocase.BiocaseHarvesterFactory':'BioCASe Harvester Factory (ABCD 2.06)', 'org.binhum.gbif.harvest.tapir.TapirMetadataFactory':'TAPIR Metadata Factory (DwC 1.4 with geo + cur extensions)', 'org.binhum.gbif.harvest.tapir.TapirHarvesterFactory':'TAPIR Harvester Factory (DwC 1.4 with geo + cur extensions)', 'org.binhum.gbif.harvest.tapirlite.TapirLiteHarvesterFactory':'TAPIRLite Harvester Factory (DwC 1.4 with geo + cur extensions using empty template)'}" required="true" /> </c:otherwise> </c:choose> <s:hidden key="bioDatasource.parametersAsJSON" /> <s:hidden key="bioDatasource.targetCount" required="true" cssClass="text" /> <s:hidden key="bioDatasource.harvestedCount" required="true" cssClass="text" /> <s:textfield key="bioDatasource.country" required="true" maxlength="20" size="30" cssClass="text" /> <s:hidden key="bioDatasource.uddiKey" /> <li class="buttonBar bottom"><s:submit cssClass="button" method="save" key="button.save" theme="simple" /> <s:submit cssClass="button" method="cancel" key="button.cancel" theme="simple" /> <c:out value="${buttons}" escapeXml="false" /></li> </form>