Is there a way to embed a variable inside an html form tag.
In my controlled i send the variable readonlyvar equal to 'readonly'
so based on conditions i can write protect my form. but when i try and
embed it.

<input type="text" ${readonlyvar}>

it dies saying improper XML.

Readonlyvar can be "" or "readonly".

In case anyone wondered I am trying to reuse the same template that
has a form. If i am adding a record, editing a record, or deleteing a
record i require certain aspects of the form to change. On a delete I
want all of the field to be readonly.

Paul


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