Advertisement
Guest User

Untitled

a guest
Aug 28th, 2013
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. <%@ include file="/WEB-INF/template/include.jsp"%>
  2. <script type="text/javascript" charset="utf-8">
  3. $(document).ready(function() {
  4.  
  5. alert(${model.type});
  6. alert(${model.mappedCohort});
  7. alert(${model.portletId});
  8. });
  9. </script>
  10. <div>
  11. <b class="boxHeader"><spring:message code="integration.Mapping"/> ${model.type} </b>
  12. <div class="box">
  13. <form method="post" id="detailsedit" >
  14. <table>
  15. <tbody>
  16. <tr>
  17. <td>${model.type}</td>
  18. <td>:</td>
  19. <td>
  20.  
  21. <input id="id" type="hidden" value="${model.portletId}"/>
  22. <input id="${model.type}name${model.portletId}" type="text" size="40"/></td>
  23. </tr>
  24. <tr>
  25. <td><spring:message code="integration.general.mappedTo"/></td>
  26. <td>:</td>
  27. <td>
  28. <select name='cohorts${model.portletId}'>
  29. <c:forEach items="${model.cohorts}" var="cohort">
  30. <option id="${cohort.uuid}" value="${cohort}">${cohort}</option>
  31. </c:forEach>
  32. </select>
  33. </td>
  34. </tr>
  35.  
  36.  
  37. <tr>
  38. <td></td>
  39. <td></td>
  40. <td></td>
  41. </tr>
  42. <tr>
  43. <td></td>
  44. <td></td>
  45. <td><a href="javascript:save${model.type}(${model.portletId});"><input id="${model.portletId}" type="button" value='<spring:message code="integration.button.save"/>' /> </a><input id="cancel${model.portletId}"
  46. type="reset" value='<spring:message code="integration.button.cancel"/>' class="cancel">
  47. </td>
  48. </tr>
  49. </tbody>
  50. </table>
  51. </form>
  52. </div>
  53. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement