Antony Joseph wrote:
> hi Tim,
>
> <a href='/paymentAdd' class='submodal'>Add a payment</a>
>
> I tried this code , i am not get the popup window , can brief me more 
> how to implement this in my kid pages.
Try some of the suggestions I made in this thread of the discussion list 
and you should have some success.

Tim
>
> On 10/17/07, *Tim Black* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>
>     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
-~----------~----~----~----~------~----~------~--~---

Reply via email to