On 9/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> 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".

For valid XML, doesn't it have to be:

        readonly="readonly"

(i.e. attribute="quoted value")
-- 
Ubuntu Linux DC LoCo
Washington, DC
http://dc.ubuntu-us.org/

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