[sourcecode language="xml"]
<html t:type="layout2" title="Monitoring Stok"
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"
xmlns:p="tapestry:parameter">
<script>
function pop(){
window.open("PopupPageLink.tml","Window1","menubar=no,width=430,height=360,toolbar=no");
}
</script>
<form t:type="form" t:id="form">
<fieldset><legend>Monitoring Stok</legend>
<table>
<tr>
<td>Kode Buku</td>
<td>:</td>
<td><input t:type="TextField" t:id="kode"/></td>
</tr>
<tr>
<td>Judul Buku</td>
<td>:</td>
<td><input t:type="TextField" t:id="judul"/></td>
</tr>
<tr>
<td></td>
<td></td>
<td><br/><input t:type="Submit" t:id="filter" t:value="Filter"/>
<input t:type="Submit" t:id="reset" t:value="Reset"/></td>
</tr>
</table>
</fieldset>
<table t:type="grid" t:source="listMapStok" t:row="mapstok" t:rowsPerPage="20" rowClass="${evenodd}">
<t:parameter name="kode_bukucell">
<a t:type="actionlink" t:id="gotoBuku" t:context="${mapstok.id_buku}">${mapstok.kode_buku}</a>
</t:parameter>
<t:parameter name="keluarcell">
<!--<t:actionlink t:id="gotoPopupNis" style="background-image: none" t:context="${mapstok.id_buku}"
onclick="window.open('DetailMonStok.tml','window','width=640,height=470');">
${mapstok.keluar}
</t:actionlink>-->
<t:if test="mapstokkeluar">
<t:actionlink t:id="gotoPopupNis" t:context="${mapstok.id_buku}">
${mapstok.keluar}
</t:actionlink>
<p:else>
0
</p:else>
</t:if>
</t:parameter>
</table>
</form>
</html>
[/sourcecode]
File .java
klik code
No comments:
Post a Comment