[Grok-dev] URL Construction

Michael Haubenwallner michael at d2m.at
Sat May 2 02:32:00 EDT 2009


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

Tim Cook wrote:
> On Fri, 2009-05-01 at 18:06 -0300, Tim Cook wrote:
>> The URL is:
>> http://localhost:8080/bptrack/clinical/2009-05-01T17:52:46.791189
>>
>> (obviously I'm using a datetime stamp to create the ids.)
> 
>

grok.Viewlets are registered for the context object or the module context.
They have an associated grok.ViewletManager.
grok.ViewletManagers are called (provider:viewletmanager_name) in
grok.Views (and their templates).

Any (lowercased) grok.View class name registered for the context object
('2009-05-01T17:52:46.791189' ) or (if registered for
zope.interface.Interface) containing the associated grok.ViewletManager
should work fine.

Regards
Michael

- --
http://blog.d2m.at
http://planetzope.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFJ++jfl0uAvQJUKVYRAhG4AJ4uHCEQMdI+6zbBvf9+6uIJQcmI1wCWK4II
XCQgt0/8EvYmVWTJNXvO0g==
=sCLf
-----END PGP SIGNATURE-----



More information about the Grok-dev mailing list