| 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 MobilestoreForm(TableForm):
|
| 276 |
ashish |
12 |
"""
|
|
|
13 |
Documentation for class MobilestoreForm
|
|
|
14 |
Structure of the form for mobilestore, contains the parameters that needs to be taken as input from the user
|
|
|
15 |
"""
|
| 241 |
ashish |
16 |
class fields(WidgetsList):
|
|
|
17 |
MOBILESTORE_DOMAINNAME = TextField()
|
|
|
18 |
MOBILESTORE_DOMAINNAME1 = TextField()
|
|
|
19 |
MOBILESTORE_URL = TextField()
|
|
|
20 |
MOBILESTORE_HOMEPAGE = TextField()
|
|
|
21 |
MOBILESTORE_REFERER = TextField()
|
|
|
22 |
MOBILESTORE_CHKLIST1 = TextField()
|
|
|
23 |
MOBILESTORE_VATPLUSTAX = TextField()
|
|
|
24 |
MOBILESTORE_REMOVELIST = TextField()
|
|
|
25 |
MOBILESTORE_XPATH1 = TextField()
|
|
|
26 |
MOBILESTORE_XPATH2 = TextField()
|
|
|
27 |
MOBILESTORE_DOMAINNAME0 = TextField()
|
|
|
28 |
MOBILESTORE_URL1 = TextField()
|
|
|
29 |
MOBILESTORE_URL2 = TextField()
|
|
|
30 |
MOBILESTORE_XPATH3 = TextField()
|
|
|
31 |
MOBILESTORE_XPATH4 = TextField()
|
|
|
32 |
MOBILESTORE_XPATH5 = TextField()
|
|
|
33 |
MOBILESTORE_XPATH6 = TextField()
|
|
|
34 |
MOBILESTORE_XPATH7 = TextField()
|
|
|
35 |
MOBILESTORE_XPATH8 = TextField()
|
|
|
36 |
|
|
|
37 |
#create_mobilestore_form = MobilestoreForm("create_mobilestore_form", action='save_mobilestore')
|