[z3-five] concept/organization of files
Katja Süss
k.suess at gmx.net
Sat Jul 1 14:07:54 CEST 2006
Hi all,
according to my understanding of the view concept I thought to offer a view via its name (not template name). So the view should be called with .../annonces_view
configure.zcml:
<browser:page
for="*"
name="annonces_view"
template="annonces_listing.pt"
class=".annonces.AnnoncesView"
allowed_interface=".interfaces.IAnnoncesView"
permission="zope.Public"
/>
Now if the number of files are increasing it would be nice to organize them in directories like
browser
|-portlets
|-<view classes>
|-templates
|-annonces_listing.pt
As its not possible to use paths to templates(like for classes, etc) the template has to be in directory browser or a package 'templates' has to be declared in configure.zcml.
Shouldn't it be possible to use paths to templates?
Thanks for advice,
Katja
More information about the z3-five
mailing list