On Jul 17, 2007, at 1:13 AM, BruceC wrote:

>
> Hi all...I posted this in the ToscaWidget discussion board, (http://
> groups.google.com/group/toscawidgets-discuss/browse_thread/thread/
> c2250165e832c1a?hl=en) but in some ways it's more of a Pylons
> question, so I thought I'd ask the question here as well...
>
> I'm trying to work out how to ensure that Javascripts get loaded into
> a Pylons page when using ToscaWidget forms that use the Mako
> templating engine....The forms display properly, & data validation
> works. I'm using the approach documented here:
> http://wiki.pylonshq.com/display/pylonscookbook/ToscaWidgets+and 
> +Mako+-+example+app
> .
>
> The one thing missing is that the JS libraries needed for the
> toscawidgets calendar date picker aren't being loaded into the page
> header, & I'm not sure of the general approach for loading JS into a
> Pylons app. So if anyone can shed some light on this for me, it would
> be greatly appreciated. :)


Are you sure you're using the render_response function provided in  
toscawidgets.mods.pylonshf and passing all widgets to the template in  
the c.w attribute?

Alberto

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

Reply via email to