Skip to content
amaneiro edited this page Dec 27, 2011 · 13 revisions

What's it for

NavTableForms is a library to build your own customized forms for gvSIG with all the navigation capabilities of NavTable extension. It's intended for developers using gvsig to craft their own survey form for final users.

With this library, having your own survey forms is as easy as:

  1. Create the visual appareance of your form with Abeille Designer.
  2. Create a gvSIG extension.
  3. Create a class inherit from abstractform and set minor details.
  4. Deploy to your users the new extension!

Some features

  • All convenience from navtable extension: vertical navigation, common actions (save, delete, copy registers, etc).
  • Data validation: the library allows you to set validation rules for every field. See rules available. Contributing new rules is welcome!
  • Autofill comboboxes from a domain: navtableforms is able to fill your comboboxes automatically with
  • Domain values: manage to save/retrieve a value to/from the datasource while showing the user an alias of it.

A working example

A working example is available to test some of the capabilities of the library. As it only intends to showcasing the capabilities of the library the form is very simple. Obviously, you can build the forms as complex as you need.

How to test it:

  • Download the example extension zip or tar.gz.
  • Uncompress and copy it to the path where gvSIG store the extensions:
    • Linux:
      PATH_TO_YOUR_INSTALLATION/gvSIG_1.X/bin/gvSIG/extensiones
    • Max:
      PATH_TO_YOUR_INSTALLATION/gvSIG_1.X/bin/gvSIG/extensiones/
    • Windows:
      PATH_TO_YOUR_INSTALLATION\gvSIG_1_X\bin\gvSIG\extensiones</code>
  • Open gvSIG, open a view and load the shapefile example1.shp (stored in data directory inside the example).
  • A new white button will be enabled for you to click in it. It will open the form. Test it at your convenience.

More resources

If you are interested in developing using navtableforms, here some useful resources:

  • To create a form, you will need Abeille. Download it from our site as it seems that lately is no avaliable for download from the project page due to maintainance issues.
  • If in doubt, ask in our mailinglist any question you may have.
  • Let us know any bug by filling a bugreport.
  • If you were developing with old versions of the library, check out how to migrate your old library to the new one.
  • Video introducción a la librería (in spanish).