Hi,
so I have the following bit of templating :
http://paste.turbogears.org/paste/15130
My problem appears very randomly at line 4 :
<input id="chkval${v.id_ver}" type="hidden" name="checkVersion-$
{count}.id" value="${v.id_ver}" />
where sometimes (not often but often enough so that I'd notice it),
the value attribute does not get the actual value of v.id_ver (which
would be an integer in this case) but ends up being the string "$
{v.id_ver}".
It only does this here, I have plenty of other hidden input with that
type of code in other templates, this is the only one that sometimes
ends up buggy.
Has anyone seen this before ? I can't seem to be able to reproduce it
at will, it's completely random as far as I can tell.
Also I have some JS in the page that takes that input's "count" value
in the name and creates a checkbox so that I get a list of
dictionaries sent to the server that look like the following :
checkVersion = [{'id' : idofcheckedversion , 'othercheckbox' : 'on'},
{'id':idofuncheckedversion}]
The JS loads at the end so I don't think it's the problem but I
thought I should mention it.
Tom
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---