monitoring stok aplikasi perpusq tapestry5

File .tml

<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>

File .java

klik code

Published by

saifiahmada

Begin a big Process with a bit trying

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s