|
From: Tim L. <tla...@tc...> - 2006-01-11 19:49:47
|
I have a nested variable that I am able to display and validate, but I'm =
having trouble displaying the error tag properly.
output when printing the error tag at the top of the page:
{'26': {'14': {'amount': 'Please enter a number'}}}
template code for the form value:
<?python prefix =3D "metric.%i.%i" % (type_id, period_id) ?> <input =
type=3D"text" name=3D"${prefix}.amount" size=3D"9" />
<form:error name=3D"${prefix}.amount" /> =09
html output after a faulty submission:
<input type=3D"text" name=3D"metric.26.14.amount" size=3D"9" =
value=3D"1.01xx" />
<form:error name=3D"metric.26.14.amount" />=09
-Tim Langeman
Manheim, PA (USA)
_________________________
TCW Computers has opened a second location to serve you, TCW East.=20
TCW East is a computer repair facility for convenient carry-in service.=20
The new office is located at 1920 Lincoln Highway East, Lancaster.=20
Phone: 717-653-2700.
_________________________
** CONFIDENTIAL **
This email communication is intended only for the one to whom it is =
addressed, and may be privileged, confidential and exempt from =
disclosure.
If you are not that addressee or responsible for delivery to the =
addressee, any dissemination of this communication is prohibited. If you =
received this email in error please reply to the sender. Thank you.
|