Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

editRepository.jsp 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <%--
  2. ~ Licensed to the Apache Software Foundation (ASF) under one
  3. ~ or more contributor license agreements. See the NOTICE file
  4. ~ distributed with this work for additional information
  5. ~ regarding copyright ownership. The ASF licenses this file
  6. ~ to you under the Apache License, Version 2.0 (the
  7. ~ "License"); you may not use this file except in compliance
  8. ~ with the License. You may obtain a copy of the License at
  9. ~
  10. ~ http://www.apache.org/licenses/LICENSE-2.0
  11. ~
  12. ~ Unless required by applicable law or agreed to in writing,
  13. ~ software distributed under the License is distributed on an
  14. ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  15. ~ KIND, either express or implied. See the License for the
  16. ~ specific language governing permissions and limitations
  17. ~ under the License.
  18. --%>
  19. <%@ page contentType="text/html; charset=UTF-8" %>
  20. <%@ taglib prefix="s" uri="/struts-tags" %>
  21. <html>
  22. <head>
  23. <title>Admin: Edit Managed Repository</title>
  24. <s:head/>
  25. </head>
  26. <body>
  27. <h1>Admin: Edit Managed Repository</h1>
  28. <s:actionerror/>
  29. <div id="contentArea">
  30. <s:actionmessage/>
  31. <s:form method="post" action="editRepository!commit" namespace="/admin" validate="false">
  32. <s:hidden name="repository.id"/>
  33. <s:label label="ID" name="repository.id" />
  34. <%@ include file="/WEB-INF/jsp/admin/include/repositoryForm.jspf" %>
  35. <c:set var="stats" value="${stagingRepository == null}"/>
  36. <jsp:useBean id="stats" type="java.lang.Boolean" scope="page"/>
  37. <c:if
  38. test='<%= !stats.booleanValue() %>'>
  39. <s:checkbox name="stageNeeded" value="true" label="Create stage repository"/>
  40. </c:if>
  41. <c:if
  42. test='<%= stats.booleanValue() %>'>
  43. <s:checkbox id="stageNeeded" name="stageNeeded" value="false" label="Create stage repository"/>
  44. </c:if>
  45. <s:submit value="Update Repository"/>
  46. </s:form>
  47. <script type="text/javascript">
  48. document.getElementById("editRepository_repository_name").focus();
  49. </script>
  50. </div>
  51. </body>
  52. </html>