| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
- <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
- <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
- <%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
- <html>
- <head profile="<c:url value="/profile.txt"/>">
- <title><fmt:message key="setup.fs.title"/></title>
- <link media="screen" href="<c:url value="/css/global.css"/>" type="text/css" rel="stylesheet" />
- </head>
- <body>
- <h1><fmt:message key="setup.fs.title"/></h1>
- <p><fmt:message key="setup.fs.intro"/></p>
- <spring:hasBindErrors name="command">
- <div class="error-intro">
- <spring:bind path="command.settings">
- <c:choose>
- <c:when test="${status.errors.errorCount > 1}">
- <ul>
- <c:forEach items="${status.errors.allErrors}" var="error">
- <li>
- <spring:message code="${error.code}" arguments="${error.arguments}"/><br />
- </li>
- </c:forEach>
- </ul>
- </c:when>
- <c:when test="${status.errors.errorCount == 1}">
- <c:set var="error" value="${status.errors.allErrors[0]}"/>
- <spring:message code="${error.code}" arguments="${error.arguments}"/><br />
- </c:when>
- </c:choose>
- </spring:bind>
- </div>
- </spring:hasBindErrors>
-
- <form method="post" action="<c:url value="/setup/wizard.do"/>">
-
- <dl class="menu">
-
- <spring:nestedPath path="command">
-
- <dt><fmt:message key="setup.fs.index.dir.displayName"/></dt>
- <dd>
- <spring:bind path="settings['lucene.index.base.path']">
- <input type="text" class="filepath"
- name="${status.expression}"
- value="${status.value}"/> <br />
- </spring:bind>
- <fmt:message key="setup.fs.index.dir.caption"/>
- </dd>
-
- <c:if test="${command.settings['feature.recipeimages'] == 'true'}">
-
-
- <dt><fmt:message key="setup.fs.image.dir.displayName"/></dt>
- <dd>
- <spring:bind path="settings['recipe.image.base.path']">
- <input type="text" class="filepath"
- name="${status.expression}"
- value="${status.value}"/> <br />
- </spring:bind>
- <fmt:message key="setup.fs.image.dir.caption"/>
- </dd>
-
- <dt><fmt:message key="setup.fs.image.url.displayName"/></dt>
- <dd>
- <spring:bind path="settings['recipe.image.base.url']">
- <input type="text" class="filepath"
- name="${status.expression}"
- value="${status.value}"/> <br />
- </spring:bind>
- <fmt:message key="setup.fs.image.url.caption"/>
- </dd>
-
- </c:if>
-
- </spring:nestedPath>
-
- </dl>
-
- <div>
- <input type="submit" name="_target2" value="<fmt:message key="back.displayName"/>"/>
- <input type="submit" name="_target4" value="<fmt:message key="continue.displayName"/>"/>
- </div>
- </form>
- </body>
- </html>
|