Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for 
change notification.

The following page has been changed by DavorHrg:
http://wiki.apache.org/tapestry/Tapestry5HibernateGridDatasource2

------------------------------------------------------------------------------
  and add grid to te template:
  {{{
  <t:grid source="vessels"/>
+ }}}
+ 
+ if you have a search form, number of items will change for different search 
criteria, so make sure you reset pager in that case. Something like this:
+ {{{#!java
+     @Component private Grid grid;
+     
+     public void onSubmit(){
+         grid.setCurrentPage(1);
+     }
  }}}
  
  the !ComponentResources is there if you want to have an event when sorting 
happens... this way you can add 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to