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 15-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 BabuchakForm(TableForm):
276 ashish 12
    """
13
    Documentation for class BabuchakForm
14
    Structure of the form for babuchak, contains the parameters that needs to be taken as input from the user 
15
    """
241 ashish 16
    class fields(WidgetsList):
17
        BABUCHAK_DOMAINNAME = TextField()
18
        BABUCHAK_DOMAINNAME1 = TextField()
19
        BABUCHAK_DOMAINNAME2 = TextField()
20
        BABUCHAK_URL = TextField()
21
        BABUCHAK_URL1 = TextField()
22
        BABUCHAK_VAR1 = TextField()
23
        BABUCHAK_URL2 = TextField()
24
        BABUCHAK_HOMEPAGE = TextField()
25
        BABUCHAK_REFERER = TextField()
26
        BABUCHAK_XPATH1 = TextField()
27
        BABUCHAK_XPATH2 = TextField()
28
        BABUCHAK_XPATH3 = TextField()
29
        BABUCHAK_XPATH4 = TextField()
30
        BABUCHAK_XPATH5 = TextField()
31
        BABUCHAK_XPATH6 = TextField()
32
        BABUCHAK_XPATH7 = TextField()
33
        BABUCHAK_REMOVELIST = TextField()
34
 
35
 
36
#create_babuchak_form = BabuchakForm("create_babuchak_form", action="save_babuchak")