On May 18, 2007, at 3:15 PM, Glauco wrote:

>
> I'm not an experto of Kid language, but
>
> We have subclassed the  RepeatingFormField widget, for adding some
> features as the chice to add or not the AddNewLine Button, so the  
> class
> is this.
>
> class RepeatingFieldTable(RepeatingFormField):
>     template = 'sicer.widgets.templates.RepeatingFieldTable'
>     params = ["legend","notadd"]
>     params_doc = {'legend' : 'Text to display as the legend for the
> fieldset'}
>     legend = None
>     notadd = ''
>
>
> Now ... how can i use the notadd variable in the Kid ?
>

Variables lisetd at params are sent to the template directly:

${notadd}

Alberto

--~--~---------~--~----~------------~-------~--~----~
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