My favorites | Sign in
Project Logo
                
Search
for
Updated Mar 18, 2008 by extremecomponents
LimitExample  

This is the code that corresponds with the Limit tutorial.

Example

The example uses JMesa, along with Spring and Hibernate (Criteria API). It also assumes you have already followed the setup instructions.

code references

All the code examples are checked into subversion. The best way to present these examples may be to just let you walk through the source code.

For the Limit example there is a service and dao class of interest, but how you implement those is very custom and will differ on how you work. The class to really pay attention to is the controller as that is how you will interact with the TableFacade.

Be sure to pay attention to the Javascript page link so that you understand how Javascript is used to interact with the table through the onInvokeAction and onInvokeExportAction.

Note: If you have a date or numeric column then chances are that you will want to format it. See the Editors page for more details on how to do that. Be sure to add a custom filter strategy if your column is filterable.

Once you have your table implemented you can use the ParametersBuilder to test your code.

Hosted by Google Code