date format in grid

Bagaimana cara mengubah format tanggal dalam grid component tapestry5 ?

misalnya ada grid (tesgrid.tml) sebagai berikut:

< table t:type="grid" t:source="listpeminjaman" t:row="peminjaman" >
 <t:parameter name="tgl_pinjamcell">
 </table> :

 private Peminjaman peminjaman;

public List getListPeminjaman(){
 return getMasterFacade().getPeminjamanDao().getAllDataPeminjaman();

public String getTglPinjamDate(){
 SimpleDateFormat formattedDate = new SimpleDateFormat("dd/MM/yyyy");
 return formattedDate.format(peminjaman.getTgl_pinjam());



Published by


Begin a big Process with a bit trying

Leave a Reply

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

You are commenting using your 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