Subversion Repositories SmartDukaan

Rev

Rev 241 | Blame | Compare with Previous | Last modification | View Log | RSS feed

'''
Created on 03-Jun-2010

@author: gaurav
'''

from tw.api import WidgetsList
from tw.forms import TableForm, TextField
from datastore.DataCodeAccessor import *

class UnivercellForm(TableForm):
    """
    Documentation for class UnivercellForm
    Structure of the form for univercell, contains the parameters that needs to be taken as input from the user  
    """
    class fields(WidgetsList):
        UNIVERCELL_DOMAINNAME = TextField()
        UNIVERCELL_DOMAINNAME1 = TextField()
        UNIVERCELL_URL = TextField()
        UNIVERCELL_HOMEPAGE = TextField()
        UNIVERCELL_REFERER = TextField()
        UNIVERCELL_URL1 = TextField()
        UNIVERCELL_XPATH1 = TextField()
        UNIVERCELL_XPATH2 = TextField()
        UNIVERCELL_XPATH3 = TextField()
        UNIVERCELL_XPATH4 = TextField()
        UNIVERCELL_XPATH5 = TextField()
        UNIVERCELL_XPATH6 = TextField()
        UNIVERCELL_VAR1 = TextField()
        UNIVERCELL_VAR2 = TextField()
        UNIVERCELL_VAR3 = TextField()
        UNIVERCELL_VAR4 = TextField()
        UNIVERCELL_VATPLUSTAX = TextField()
        UNIVERCELL_REMOVELIST = TextField()
#create_univercell_form = UnivercellForm("create_univercell_form", action='save_univercell')