On Monday 01 September 2008 16:18:45 Matt Wilson wrote:
> Hi,
>
> I want to pass a string from my controller into my view.  That string
> will contain kid template syntax like ${abc} inside.
>
> Right now, the ${abc} doesn't get replaced with the value of the abc
> variable.  Instead it just prints out exactly as it is.
>
> Is this even possible?
>
> Do I need to make my string into an element tree object instead?  I
> really need the interpolation to happen in the display at the last
> minute.

I never felt the need for that usecase and wonder what it is - but if you 
must,  I suggest you create a simple widget with your template including the 
dynamic part, and return that. Displaying the widget will then do the 
evaluation.

Diez

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