Appserver Webfrontend Extension
--------------------------------

This extension consist of a GNUe Forms client (written in ECMAScripta).
It allows to load form definitions directly from gnue-appserver and run 
them in your Browser.

Requirements:
-------------

Server side:
GNUe Appserver (>0.0.4)
GNUe Common (>0.5.0)

client side:
Mozilla or other Gecko based Browser
or IE > 5.0

(Konqueror or Opera don't work because of missing XMLRPC functionality)

Installation:
-------------

1. Install GNUe Appserver

2. Copy the contents of this directory into a directory of your choice. 
   I would recommend: /usr/share/gnue/webfrontend/ for global and
   ~/gnue/webfrontend/ for a local install.

3. Then add the option 'httpdir' in the [appserver] group of gnue.conf.
   set it to the path of the directory where you have copied the files to.
   f.e.

   [appserver]
   httpdir = /usr/share/gnue/webfrontend/   or
   
   httpdir = ~/gnue/webfrontend/

4. now you can startup appserver passing the option --web-frontend 
   to enable the builtin http server.

5. then you can try the webfrontend out by pointing your Gecko based Browser to
   http://gnue_host:8765/ (depends on xmlrpc settings) and loading sample.html.


Further steps:
--------------

- create new html forms by building GFD files and transform them via GNUe-Designer
  (Tools->Extra->Compile Form for GNUe JsForms)

- put normal gfd files in the webfrontend directory and start them via
  gnue-forms http://gnue_host:8765/myform.gfd

- you can modify some settings in gnueforms.js, like default user name etc.

- improve the gnueforms.js
