Alberto Valverde <[EMAIL PROTECTED]> writes:
> You can't modify the widget's attributes once it has been
> initialized. The __setattr__ check doesn't kick in because you're not
> rebinding any attribure but, nevertheless, you can't do this. Have
> you tried this?:
>
> fpd.display(options=dict
> (contatoClienteBeneficiado=Contatos.get_contatos(1)))
Just as a feedback: this works. And it has reduced the load time for
this specific page 3.5 times (average from 10 reloads with cache turned
off). :-)
Just one doubt at the template:
${form(values, option=value, **options)}
should work? 'cause it doesn't. If I insert the "option=value" at the
"options" dict then all is fine... I thought this was like methods
where I could declare explicit options and then "append" to it with the
dict syntax.
--
Jorge Godoy <[EMAIL PROTECTED]>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---