Skip to content
SQL DataSource for free LGPL SmartGWT
HTML CSS XSLT JavaScript Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
src Update SqlDS.java Apr 20, 2017
war Complete example that I just blogged about Nov 7, 2011
.DS_Store Complete example that I just blogged about Nov 7, 2011
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

You can’t perform that action at this time.