SQL DataSource for free LGPL SmartGWT
HTML CSS XSLT JavaScript Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
src
war
.DS_Store
README.rdoc
SmargGWT_LGPL_SQL_DATASOURCE.iml

README.rdoc

This is a simple example custom SQL DataSOurce class that uses the sample web application that is provided with the free LGPL version of SmartGWT which is available at:

code.google.com/p/smartgwt/

I set up an IntelliJ project with all of the dependencies. I wrote this up on my bog at:

blog.markwatson.com/2011/11/writing-simple-sql-data-source-for-free.html

You will need PostgreSQL setup and edit DbUtils.java to set DB connection data. You need to also create the test table referred to in the code and add some test data to it something like:

id  | content |      title      |                uri
-----+---------+-----------------+-----------------------------------
172 | 17662   |  Mark site      | http://markwatson.com/consulting/
184 | 17663   |  OBama's Budget | http://news.com/12345

2017/04/18: NOTE: two people have reported that while this 6 year old example works using AppEngine (in dev mode), that they had problems running under Tomcat. We should probbly consider this example to be deprecated or “past it's sell by date.”

-Mark Watson