http://pdf.coreservlets.com/JSP-EL.pdf
<script language="javascript">
function preview(form) {
window.open("", "previewPopup", "width=800, height=600");
form.m.value = "preview";
form.target = "previewPopup";
form.submit();
}
</script>
<c:forEach items="${list}" var="page" varStatus="status">
<form method="post" action="/under/emergencyui.nhn" name="ui${status.index}">
<tr>
<td>
ID : <input name="id" value="${page.id}" size=1 disabled=true/>의 내용
</td>
<td>
<textarea name="content" rows=15 cols=90><c:out value="${page.content}" escapeXml="true" /></textarea><br>
</td>
<td>
<c:out value="${status.index}" />
<input type="hidden" name="m" value="preview"/>
<input type="button" value="미리보기" onclick="preview(ui${status.index})">
<input type="button" value="저장" onclick="save()">
</td>
</tr>
</form>
</c:forEach>
'java UI' 카테고리의 다른 글
WindowBuilder Pro (0) | 2011.09.01 |
---|---|
quartz 를 이용하기 (0) | 2008.01.22 |
File Connection Optiobal Package (0) | 2006.02.28 |
[펌] DataSource의 복제를 통한 다중 플레이어 생성방법 (0) | 2005.12.02 |
jtable tutorial (0) | 2005.02.16 |