appUpdate.jsp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
  2. <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
  3. <%@ taglib prefix="s" uri="http://www.connsec.com/tags" %>
  4. <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
  5. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
  6. <script type="text/javascript">
  7. <!--
  8. $(function(){
  9. $("#generateSecret").on("click",function(){
  10. $.post("<s:Base/>/apps/generate/secret/oauth20", {_method:"post",currTime:(new Date()).getTime()}, function(data) {
  11. $("#secret").val(data+"");
  12. $("#secret_text").html(data+"");
  13. });
  14. });
  15. });
  16. //-->
  17. </script>
  18. <form id="actionForm_app" method="post" type="label" autoclose="true"
  19. action="<s:Base/>/apps/basic/update"
  20. forward="<s:Base/>/apps/list"
  21. enctype="multipart/form-data">
  22. <!-- content -->
  23. <!--table-->
  24. <table class="datatable" >
  25. <tbody>
  26. <tr>
  27. <td ><jsp:include page="./appUpdateCommon.jsp"/></td>
  28. </tr>
  29. </tbody>
  30. </table>
  31. <input class="button" id="submitBtn" type="submit" value="<s:Locale code="button.text.save" />"/>
  32. <input class="button" id="backBtn" type="button" value="<s:Locale code="button.text.cancel" />"/>
  33. </form>