[Zope-CMF] More browser views

Jens Vagelpohl jens at dataflake.org
Wed Apr 7 07:47:21 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 4/7/10 13:09 , Charlie Clark wrote:
> Hi,
> 
> I'm currently working on a project which will hopefully have no TTW code  
> so I was hoping to be do without skins - currently I have a my skin on top  
> of CMFDefault but it is just main_template and some CSS. If I drop the CMF  
> skins entirely I hit some problems as quite a few forms exist only in the  
> skins so I'd like to start work on views where required. I suggest keeping  
> all the views in "browser" but adding some packages such as "content",  
> "membership" and "workflow". I started work on login and logout but I hit  
> some problems with CookieCrumbler expecting the login form to have a URL.  
> What does a view need to provide to work nicely with this?

I think I would change the cookie crumbler to expect both: Either a page
with an ID that the cookie crumbler can traverse to (which is what it
does right now), or an ID for a view that you could traverse to using
the "@@" notation.

jens

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAku8cMkACgkQRAx5nvEhZLKA2wCfR5xR38bgjTgBIuabsp8osacZ
bqcAnA3houfP+WQiB0pe+Hnq4/QHPhh9
=cq8q
-----END PGP SIGNATURE-----


More information about the Zope-CMF mailing list