Rev 241 | Blame | Compare with Previous | Last modification | View Log | RSS feed
'''Created on 03-Jun-2010@author: gaurav'''from tw.api import WidgetsListfrom tw.forms import TableForm, TextFieldfrom datastore.DataCodeAccessor import *class MobilestoreForm(TableForm):"""Documentation for class MobilestoreFormStructure of the form for mobilestore, contains the parameters that needs to be taken as input from the user"""class fields(WidgetsList):MOBILESTORE_DOMAINNAME = TextField()MOBILESTORE_DOMAINNAME1 = TextField()MOBILESTORE_URL = TextField()MOBILESTORE_HOMEPAGE = TextField()MOBILESTORE_REFERER = TextField()MOBILESTORE_CHKLIST1 = TextField()MOBILESTORE_VATPLUSTAX = TextField()MOBILESTORE_REMOVELIST = TextField()MOBILESTORE_XPATH1 = TextField()MOBILESTORE_XPATH2 = TextField()MOBILESTORE_DOMAINNAME0 = TextField()MOBILESTORE_URL1 = TextField()MOBILESTORE_URL2 = TextField()MOBILESTORE_XPATH3 = TextField()MOBILESTORE_XPATH4 = TextField()MOBILESTORE_XPATH5 = TextField()MOBILESTORE_XPATH6 = TextField()MOBILESTORE_XPATH7 = TextField()MOBILESTORE_XPATH8 = TextField()#create_mobilestore_form = MobilestoreForm("create_mobilestore_form", action='save_mobilestore')