[ZWeb] Wieso checkbox funktioniert nicht wie in HTML CODE

Jens Vagelpohl jens@zope.com
Mon, 17 Jun 2002 07:29:40 -0400


dies ist die falsche mailing-liste fuer so eine frage. auf *english* auf=20=

zope@zope.org versuchen.

jens


On Monday, June 17, 2002, at 07:25 , Marco Barrera wrote:

>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hallo an alle
> Ich habe eine Frage
> Ich habe ein kleine dateiFormular
> die code ist:
>
>
> <html>
> <head>
> <title>Untitled Document</title>
> <meta http-equiv=3D"Content-Type" content=3D"text/html;
> charset=3Diso-8859-1">
> </head>
>
> <body bgcolor=3D"#FFFFFF" text=3D"#000000">
> <form method=3D"post" action=3D"test_action">
>   <table width=3D"42%" border=3D"0" cellspacing=3D"1" cellpadding=3D"2">=

>     <tr>
>       <td width=3D"40%">
>           <input type=3D"checkbox" name=3D"test1" value=3D"ja">
>         test1 </td>
>       <td width=3D"60%">&nbsp;</td>
>     </tr>
>     <tr>
>       <td width=3D"40%">
>         <input type=3D"checkbox" name=3D"test2" value=3D"ja">
>         test2</td>
>       <td width=3D"60%">&nbsp;</td>
>     </tr>
>     <tr>
>       <td colspan=3D"2">
>         <input type=3D"submit" name=3D"Abschicken" value=3D"submit">
>       </td>
>     </tr>
>   </table>
> </form>
> </body>
> </html>
>
> und die n=E4schte Datei: test_action hat die folgende CODE:
> <dtml-sendmail mailhost=3D"mailhost">
> to: m.barrera@choin.net
> from: info@choin.net
> subject: [Interne test]
> prueba test1 <dtml-var test1>
> prueba test2 <dtml-var test2>
> </dtml-sendmail>
>
> ABER ich bekomme immer die folgende Fehler.
> Wenn ich keine checkbox w=E4hle
>
> Error 404
> Beim Ausf=FChren dieser Aktion tratt eine St=F6rung auf.
> Error Type: KeyError
> Error Value: test1
>
> Vorschl=E4ge:
> *	Die ausgef=FChrte Aktion hat versucht, einen nicht vorhandenen =
Objekt
> oder eine Variable zu beziehen test1.
> *	Die URL ist nicht vorhanden.
> *	Die von Ihnen angegebene Email-Adresse exestiert nicht.
> *	Ihre Login-Daten sind falsch.
>
>
> WARUM?,  und was musst ich f=FCr keine Fehler bekommen, wenn keine
> checkbox ich w=E4hle?
>
>
> Vielen Danken im Voraus!!!!!!!!!!!!1
>
> Energis-ISION
> Marco Barrera
> System-Service
> Weinheimer Strasse 68
> D-68309 Mannheim
>
> Phone: +49 621 7288 - 120
> Fax: +49 621 720 797 98
>
> Mail: mailto:marco.barrerae@energis-ision.com
> Web: http://www.energis-ision.com
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 7.1.1
>
> iQA/AwUBPQ3HHy/7rNbOne1uEQKWYwCgo87PsElqqnnH3vNDShedCO6RsFoAnjr2
> sy7sIZ8SlOqvr+CpyjaFwzvL
> =3DowGC
> -----END PGP SIGNATURE-----
>
>