Package gnue :: Package appserver :: Package generator :: Module form :: Class FormGenerator
[show private | hide private]

Class FormGenerator


Method Summary
  __init__(self, sess, klass, lang, connection, formWidth, formHeight)
Create a new instance of a form generator.
  run(self)
This function executes the generator and returns a string with the form's XML code.

Method Details

__init__(self, sess, klass, lang, connection, formWidth, formHeight)
(Constructor)

Create a new instance of a form generator.
Parameters:
sess - language interface Session instance
klass - language interface object of the class to generate a form for
lang - language to generate the form for, i.e. 'de_AT'
connection - name of the connection to use for datasources
formWidth - maximum width of the generated form
formHeight - maximum height of the generated form

run(self)

This function executes the generator and returns a string with the form's XML code.
Returns:
string with XML code of the generated form


GNUe Home

Public API

Developer's Corner