On 8/28/06, ltbarcly <[EMAIL PROTECTED]> wrote:
>
> I really need to be able to recursively evaluate staements like the
> following in a kid template:
>
> ${blah.something.${crud?stuff=goforit} }
>
> Is there a way to do this?  If not, how can I accomplish the following?
>
>         <div id="input_group">
>                 <h1>Edit Address</h1>
>                 ${address_form(action="addAddress?addressID=${addressID}")}

The text within the ${} is evaluated as Python code, so you can do this:

${address_form(action="addAddress?addressID=" + addressID)}

But there shouldn't be any reason to mix URL-derived parameters and
posted parameters--just put addressID in a hidden field, and you don't
need to worry about it.
-- 
Tim Lesher <[EMAIL PROTECTED]>

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

Reply via email to