Rev 241 | Blame | Compare with Previous | Last modification | View Log | RSS feed
'''Created on 15-Jun-2010@author: gaurav'''from tw.api import WidgetsListfrom tw.forms import TableForm, TextFieldfrom datastore.DataCodeAccessor import *class BabuchakForm(TableForm):"""Documentation for class BabuchakFormStructure of the form for babuchak, contains the parameters that needs to be taken as input from the user"""class fields(WidgetsList):BABUCHAK_DOMAINNAME = TextField()BABUCHAK_DOMAINNAME1 = TextField()BABUCHAK_DOMAINNAME2 = TextField()BABUCHAK_URL = TextField()BABUCHAK_URL1 = TextField()BABUCHAK_VAR1 = TextField()BABUCHAK_URL2 = TextField()BABUCHAK_HOMEPAGE = TextField()BABUCHAK_REFERER = TextField()BABUCHAK_XPATH1 = TextField()BABUCHAK_XPATH2 = TextField()BABUCHAK_XPATH3 = TextField()BABUCHAK_XPATH4 = TextField()BABUCHAK_XPATH5 = TextField()BABUCHAK_XPATH6 = TextField()BABUCHAK_XPATH7 = TextField()BABUCHAK_REMOVELIST = TextField()#create_babuchak_form = BabuchakForm("create_babuchak_form", action="save_babuchak")