| 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 IndiaplazaForm(TableForm):
|
| 276 |
ashish |
12 |
"""
|
|
|
13 |
Documentation for class IndiaplazaForm
|
|
|
14 |
Structure of the form for indiaplaza, contains the parameters that needs to be taken as input from the user
|
|
|
15 |
"""
|
| 241 |
ashish |
16 |
class fields(WidgetsList):
|
|
|
17 |
INDIAPLAZA_DOMAINNAME = TextField()
|
|
|
18 |
INDIAPLAZA_DOMAINNAME1 = TextField()
|
|
|
19 |
INDIAPLAZA_URL = TextField()
|
|
|
20 |
INDIAPLAZA_HOMEPAGE = TextField()
|
|
|
21 |
INDIAPLAZA_REFERER = TextField()
|
|
|
22 |
INDIAPLAZA_URL1 = TextField()
|
|
|
23 |
INDIAPLAZA_XPATH1 = TextField()
|
|
|
24 |
INDIAPLAZA_XPATH2 = TextField()
|
|
|
25 |
INDIAPLAZA_XPATH3 = TextField()
|
|
|
26 |
INDIAPLAZA_XPATH4 = TextField()
|
|
|
27 |
INDIAPLAZA_XPATH5 = TextField()
|
|
|
28 |
INDIAPLAZA_XPATH6 = TextField()
|
|
|
29 |
INDIAPLAZA_XPATH7 = TextField()
|
|
|
30 |
INDIAPLAZA_XPATH8 = TextField()
|
|
|
31 |
INDIAPLAZA_XPATH9 = TextField()
|
|
|
32 |
INDIAPLAZA_XPATH10 = TextField()
|
|
|
33 |
INDIAPLAZA_VAR1 = TextField()
|
|
|
34 |
INDIAPLAZA_REMOVELIST = TextField()
|
|
|
35 |
#INDIAPLAZA_NO = TextField()
|
|
|
36 |
#INDIAPLAZA_CT = TextField()
|
|
|
37 |
#create_indiaplaza_form = IndiaplazaForm("create_indiaplaza_form", action='save_indiaplaza')
|