
cherokee at cherokee-project
Feb 8, 2010, 8:49 AM
Post #1 of 1
(73 views)
Permalink
|
|
[4213] CTK/trunk/tests/test1.py: Updates test1 to use PropsAuto
|
|
Revision: 4213 http://svn.cherokee-project.com/changeset/4213 Author: alo Date: 2010-02-08 17:49:09 +0100 (Mon, 08 Feb 2010) Log Message: ----------- Updates test1 to use PropsAuto Modified Paths: -------------- CTK/trunk/tests/test1.py Modified: CTK/trunk/tests/test1.py =================================================================== --- CTK/trunk/tests/test1.py 2010-02-08 16:34:42 UTC (rev 4212) +++ CTK/trunk/tests/test1.py 2010-02-08 16:49:09 UTC (rev 4213) @@ -20,13 +20,13 @@ class default: def __init__ (self): - a = CTK.PropsTableAuto ('/apply') + a = CTK.PropsAuto ('/apply') a.Add ('Name', CTK.TextField({'name': "server!uno"}), 'Example 1') a.Add ('Surname', CTK.TextField({'name': "server!dos"}), 'Lalala') a.Add ('Nick', CTK.TextField({'name': "server!tri"}), 'Oh uh ah!') a.Add ('Active', CTK.Checkbox ({'name': "server!active", 'checked':1}), 'Nuevo') - b = CTK.PropsTableAuto ('/apply') + b = CTK.PropsAuto ('/apply') b.Add ('Elige', CTK.Combobox ({'name': "server!elec", 'selected': "two"}, OPTIONS), 'la lista') b.Add ('iPhone', CTK.iPhoneToggle({'name': "server!off"}), 'Fancy') b.Add ('Carga', CTK.Proxy("www.cherokee-project.com", '/dynamic/cherokee-list.html'), 'Lista')
|