Re: js/css registry support in ArchGenXML 1.4.0 RC2

Reinout van Rees <[email protected]>
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Message-ID <[email protected]>
On Thu, 1 Dec 2005, Harald Frießnegger wrote:

> just updated ArchGenXML to 1.4.0 RC2 (to be able to use i18ndude 2.0) and got
> an error when i reinstalled my product after re-generation.
>
> I found out that the imports for STYLESHEETS and JAVASCRIPTS are no 
> longer sourrounded by try except which results in an exception if 
> those two constants are not provided in AppConfig.py

Archgenxml places empty STYLESHEETS and JAVASCRIPTS lists in the 
config.py that it generates, so they should always be available. You 
can overwrite them in AppConfig.py, but they're at least always there.

Do you overwrite config.py somehow?

Reinout

-- 
Reinout van Rees                         r.van.rees-1kr/[email protected]
http://vanrees.org/weblog/                  http://zestsoftware.nl/
"Military engineers build missiles. Civil engineers build targets."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.