Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
241 ashish 1
'''
2
Created on 03-Jun-2010
3
 
4
@author: gaurav
5
'''
6
 
7
from tw.api import WidgetsList
8
from tw.forms import TableForm, TextField
9
from datastore.DataCodeAccessor import *
10
 
11
class UnivercellForm(TableForm):
276 ashish 12
    """
13
    Documentation for class UnivercellForm
14
    Structure of the form for univercell, contains the parameters that needs to be taken as input from the user  
15
    """
241 ashish 16
    class fields(WidgetsList):
17
        UNIVERCELL_DOMAINNAME = TextField()
18
        UNIVERCELL_DOMAINNAME1 = TextField()
19
        UNIVERCELL_URL = TextField()
20
        UNIVERCELL_HOMEPAGE = TextField()
21
        UNIVERCELL_REFERER = TextField()
22
        UNIVERCELL_URL1 = TextField()
23
        UNIVERCELL_XPATH1 = TextField()
24
        UNIVERCELL_XPATH2 = TextField()
25
        UNIVERCELL_XPATH3 = TextField()
26
        UNIVERCELL_XPATH4 = TextField()
27
        UNIVERCELL_XPATH5 = TextField()
28
        UNIVERCELL_XPATH6 = TextField()
29
        UNIVERCELL_VAR1 = TextField()
30
        UNIVERCELL_VAR2 = TextField()
31
        UNIVERCELL_VAR3 = TextField()
32
        UNIVERCELL_VAR4 = TextField()
33
        UNIVERCELL_VATPLUSTAX = TextField()
34
        UNIVERCELL_REMOVELIST = TextField()
35
#create_univercell_form = UnivercellForm("create_univercell_form", action='save_univercell')