btw I am using:

$ tg-admin info
TurboGears Complete Version Information

TurboGears requires:

* TurboGears 1.1.1
* tgMochiKit 1.4.2
* TurboJson 1.2.1
* simplejson 2.1.1
* distribute 0.6.14
* PEAK-Rules 0.5a1.dev-r2600
* PasteScript 1.7.3
* Genshi 0.6
* FormEncode 1.2.3dev
* configobj 4.7.2
* CherryPy 2.3.0
* prioritized-methods 0.2.1
* Extremes 1.1.1
* AddOns 0.6
* DecoratorTools 1.8
* BytecodeAssembler 0.5.1
* Cheetah 2.4.2.1
* PasteDeploy 1.3.3
* Paste 1.7.5.1
* PEAK-Rules 0.5a1.dev-r2600
* DecoratorTools 1.8
* SymbolType 1.0
* DecoratorTools 1.8
* Markdown 2.0.3

Toolbox Gadgets

* info (TurboGears 1.1.1)
* catwalk (TurboGears 1.1.1)
* shell (TurboGears 1.1.1)
* designer (TurboGears 1.1.1)
* widgets (TurboGears 1.1.1)
* admi18n (TurboGears 1.1.1)

Identity Providers

* sqlobject (TurboGears 1.1.1)
* sqlalchemy (TurboGears 1.1.1)

tg-admin Commands

* info (TurboGears 1.1.1)
* shell (TurboGears 1.1.1)
* quickstart (TurboGears 1.1.1)
* update (TurboGears 1.1.1)
* kid2genshi (TurboGears 1.1.1)
* sql (TurboGears 1.1.1)
* i18n (TurboGears 1.1.1)
* toolbox (TurboGears 1.1.1)

Visit Managers

* sqlobject (TurboGears 1.1.1)
* sqlalchemy (TurboGears 1.1.1)

Template Engines

* genshi-markup (Genshi 0.6)
* genshi-text (Genshi 0.6)
* genshi (Genshi 0.6)
* kid (TurboKid 1.0.5)
* json (TurboJson 1.2.1)
* mako (Mako 0.3.4)
* pylonsmyghty (Pylons 0.10)
* toscawidgets (ToscaWidgets 0.9.7.2)

Widget Packages

* file_fields (FileFields 0.1a7.dev-r2292)
* tinymce (TurboTinyMCE 1.0.6)
* lightbox (Lightbox 2.1)
* scriptaculous3rd (Scriptaculous 1.8.2)
* scriptaculous (Scriptaculous 1.8.2)
* tgmochikit (tgMochiKit 1.4.2)

TurboGears Extensions

* file_server (FileFields 0.1a7.dev-r2292)
* visit (TurboGears 1.1.1)
* identity (TurboGears 1.1.1)
* toscawidgets (ToscaWidgets 0.9.7.2)



On Dec 26, 4:34 pm, gregor <[email protected]> wrote:
> Hi,
>
> This works:
>
> params = dict(attrs=dict(labelname={'testattr':False}))
> e =
> TableForm(fields=[Label(name="labelname")]).render(dict(labelname="testvalu 
> e"),**params)
> ok_('testattr="False"' in e)
>
> but his not:
>
> params = dict(labelname=dict(attrs={'testattr':False}))
> e =
> TableForm(fields=[Label(name="labelname")]).render(dict(labelname="testvalu 
> e"),**params)
> ok_('testattr="False"' in e)
>
> But the second variant with the same strucutre as the value dict:
> first key is the fieldname, second key the param for that field is way
> more logical for me than the working structure with first the name of
> the param and then the name of the field.
>
> Do I miss something here? Is there an easier way?
>
> --
> Greg

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to