Vidya,
I got it.
vrs762 wrote:
> popupwidget = SubModal()
>
That's correct.
> popupwidget.template="""
> <h2>Test</h2>
> """
>
The template isn't needed.
> return dict(popupwidget=popupwidget)
>
That's correct.
> Then in the kid file I call:
>
> ${popupwidget.display()}
>
That's not needed. Just put the following in your template file and
you'll get the popup window:
<a href='/paymentAdd' class='submodal'>Add a payment</a>
I'm not sure how to use popupwidget.template, but it's possible to just
paste what's in popupwidget.template into your kid file and I think it
should work.
Tim
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---