Re: [Templates] beginner's question

[prev] [thread] [next] [Date index for 2005/05/18]

From: Todd Freeman
Subject: Re: [Templates] beginner's question
Date: 20:04 on 18 May 2005
--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

CGI.end_form.join();   will fix your issue...

Is due to the .cgi_fields that CGI generates to maintain field states.


On Wed, May 18, 2005 at 03:43:05PM -0400, Warren Pollans wrote:
> Using the following works - I get a popup and a submit button
>=20
> [% USE CGI;
> CGI.start_form;
> CGI.popup_menu(
>     Name =3D> 'color',
>     Values =3D> [ 'red', 'green', 'blue' ]);
> CGI.submit;
> #CGI.end_form;
> %]
>=20
>=20
> If I uncomment the end_form line, I get the popup and button PLUS an=20
> arrayref - ARRAY(0xb0cbe4) - after the button.   What am I missing?
>=20
> ALSO, what are the rules/conventions for translating from using CGI to=20
> using Template::Plugin::CGI?
>=20
> Feel free to point me to where I should have looked in the first place =
=20
> :-)
>=20
> Thanks,
>=20
> Warren
>=20
>=20
> _______________________________________________
> templates mailing list
> templates@xxxxxxxxxxxxxxxx.xxx
> http://lists.template-toolkit.org/mailman/listinfo/templates

--=20
Todd Freeman  Ext 6103                   .^.    Don't fear the penguins!
Programming Department                   /V\
Andrews University                      // \\    http://www.linux.org/
http://www.andrews.edu/~freeman/       /(   )\   http://www.debian.org/
                                        ^^ ^^

--6c2NcOVqGQ03X4Wi
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCi5++nbl1fXtXLfERAsgSAJ9cmMiJzKIfyYyzR50Mci56OoISZACffB7V
S7+p2odjyscc6gCJTKo+ISg=
=Eevz
-----END PGP SIGNATURE-----

--6c2NcOVqGQ03X4Wi--

_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] beginner's question
Warren Pollans 19:43 on 18 May 2005

Re: [Templates] beginner's question
Todd Freeman 20:04 on 18 May 2005

Re: [Templates] beginner's question
merlyn (Randal L. Schwartz) 20:12 on 18 May 2005

Generated at 15:56 on 25 May 2005 by mariachi v0.52