Hi,

the ${c.<something>} is a context that only lives on the server side
and is filled in when the templating engine parses the template that
contains the ${c.<something>} text.

For simple things I'd do what has been suggested, embedding <script>
JavaScript </script> in the template and generating the dynamic
JavaScript elements there. One thing I've done with pretty good
success, is to create REST controllers in the Pylons application, wrap
them in the @Jsonify decorator and then use the $.json(...) methods of
the jQuery library (though other libraries support this) and get the
data I want through AJAX requests from the client (browser) side of
the application. This is more involved, but most of the time the data
I want on the client side is changing anyway as the result of a user
action.

Just my two cents,
Doug

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to