[Twisted-web] WG: Woven: Problem with Controler

Alex Levy twisted-web@twistedmatrix.com
Wed, 04 Feb 2004 12:51:46 -0500


--=-x4Y5Pxv05ZnOuO/orYPC
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

This is just my first reaction, but:

Have you tried setting the controller and model on something other than
the root node ('<html>') in your template? My experience with Woven was
that the "all-encompassing" element in an HTML template didn't get
processed the way everything else did.

I don't know if this has changed in nevow.

On Wed, 2004-02-04 at 08:09, Uwe Schmitt wrote:
>  	template=3D"""
>  		<html controller=3D"machine" model=3D"/state"  >
>  		<body>
>  		<p model=3D"name" view=3D"Text" />
>  		</body>
>  		</html>"""

--=20
Alex Levy
WWW: http://mesozoic.geecs.org

"Never let your sense of morals prevent you from doing what is right."
-- Salvor Hardin, Isaac Asimov's _Foundation_


--=-x4Y5Pxv05ZnOuO/orYPC
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

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

iD8DBQBAITEyVM70CYlRlK4RAtToAJ4wNzUJns7FjzWWun7B9T20k0ETUACfSXjl
RAgd3wZcFnBY0nVXJdrtS5I=
=Q4oo
-----END PGP SIGNATURE-----

--=-x4Y5Pxv05ZnOuO/orYPC--