[Zope] how to insert "CHECKED" with zpt's ?
Joachim Schmitz
js@aixtraware.de
Tue, 08 Oct 2002 17:37:36 +0200
hi,
I want
<input type=3D"checkbox" name=3D"accept:list" value=3D"xxx" CHECKED
tal:attributes=3D"value qa/id"/>
where the "CHECKED" is dynamically generated without doing something like=20
this:
<input type=3D"checkbox" name=3D"accept:list" value=3D"xxx" CHECKED
tal:condition=3D"python: path('qa/status') =3D=3D 'accepted'"
tal:attributes=3D"value qa/id"/>
<input type=3D"checkbox" name=3D"accept:list" value=3D"xxx"
tal:condition=3D"python: path('qa/status') !=3D 'accepted'"
tal:attributes=3D"value qa/id"/>
Mit freundlichen Gr=FC=DFen Joachim Schmitz
--------------------------------------------------------------------
AixtraWare Ingenieurb=FCro f=FCr Internetanwendungen
H=FCsgenstr. 33a, D-52457 Aldenhoven
Telefon: +49-2464-8851, FAX: +49-2464-905163
--------------------------------------------------------------------
Key fingerprint =3D DA10 CC82 62F8 1DBB 39A1 1EDC 725B 3317 A8D7 C3A6
Keyserver: http://www.keyserver.net/en/