[opencms-dev] Properties caching

Ulrich Rueth ulrich.rueth at gmx.de
Tue May 27 19:40:01 CEST 2003


Hi,
I again seem to have a caching problem. I have e.g. the following top level
folder stucture:
/folder1/
/folder2/

Both folders have a self-defined property "articlesroot" each, but with
different values:

/folder1/ -> articlesroot="/system/modules/mymodule1/resources/articles/"

/folder2/ -> articlesroot="/system/modules/mymodule2/resources/articles/"

When I click on a html file located in folder1 (or deeper), which uses a jsp
inside the jsptemplates folder of mymodule1, and I there request the
property with cms.property("articlesroot", "search"), the correct value
"/system/modules/mymodule1/resources/articles/" is retreived.

When I click on a html file located in folder2 (or deeper), which uses a jsp
inside the jsptemplates folder of mymodule2, and I there request the
property with cms.property("articlesroot", "search"), the wrong value
"/system/modules/mymodule1/resources/articles/" is retreived instead of the
correct one "/system/modules/mymodule2/resources/articles/". So, it takes
the property of a folder, which is not a parent folder of the html file.

Are the property values cached somewhere?

Thanks & Regards,
Ulrich





More information about the opencms-dev mailing list