Ard, 2008/7/10 Ard Schrijvers <[EMAIL PROTECTED]>:
> And everything works fine when you have > > cms.locationmap.eventCacheable=false > it work fine but it seems not to use the last dynamic locationmap. Let me explain in detail : The locationmap is dynamic because I wanna authorize the creation of a newletter in the newest folder under the folder newsletter.;-) So the test is this one : in the folder newletter, I have a subfolder 4-07-2008 /content/newsletter/04-07-2008 1) I can create newletter inside 4-07-2008 2) I create a new folder 5-07-2008 which become the newest ! So the location have to change and I can view the update when I call http://atuin:9072/extensions/locationmap/locationmap.xml 3) But I still can create newletter in the folder 4-07-2008 and not in 5-07-2008. 4) I restart the CMS, I can finaly create newletter under 5-07-2008 and no more in 4-07-2008. > And it breaks for > > cms.locationmap.eventCacheable=true > > When you have cms.locationmap.eventCacheable=false, then indeed changes > won't be visible. When set to true, when are things crashing? After a > change in the repository, or instantly? instantly ! > > In the web-inf/lib folder you have the jar version for the hippo > locationmap. Let me know which version you are using, hippo-locationmap-1.01.02.jar > > > Regards Ard > > > Ard, > > > > Here is the build : > > > > cms.locationmap.src=cocoon://extensions/locationmap/locationmap.xml > > cms.locationmap.eventCacheable=false > > > > The locationmap is generated and look like this : > > > > <locationmap> > > <components> > > <matchers default="locationmap"> > > <matcher > > src="nl.hippo.forrest.locationmap.WildcardLocationMapHintMatcher" > > name="locationmap"/> > > </matchers> > > </components> > > <locator> > > <match pattern="types:**"> > > <match > > pattern="*:/content/website/home/reference_tables/reference_ta > > ble_detail"> > > <location src="reference_table"/> > > </match> > > <match > > pattern="*:/content/website/home/reference_tables/reference_ta > > ble_detail/**"> > > <location src="reference_table"/> > > </match> > > <match > > pattern="*:/content/website/home/transactions/transaction_detail"> > > <location src="transaction"/> > > </match> > > <match pattern="**:/content/website/home/newsletters/4-7-2008*"> > > <location src="latest_change"/> > > </match> > > <match pattern="*:/content/website"> <location > > src="siteweb"/> </match> > > <match pattern="*:/content/website/**"> <location > > src="siteweb"/> </match> > > <match pattern="**"> > > <location src=""/> > > </match> > > </match> > > <match pattern="preview-url:**"/> > > </locator> > > </locationmap> > > > > Where the value "/content/website/home/newsletters/4-7-2008" > > is dynamic and based on the newest* *folder created inside > > the folder newsletters. So if we create a new folder > > 5-7-2009, the different types linked to the category > > "latest_change" will only be possible in this folder. > > > > You will find in attachment the extension in charge of the > > dynamic locationmap and the types.xml used. > > > > I 'm working with hippocms 6.5.2 but I can tell you which > > version of the location map jar. How can I get this > > information ? From the project.xml ? > > > > Thanks Ard, > > > > 2008/7/10 Ard Schrijvers <[EMAIL PROTECTED]>: > > > > > Hello, > > > > > > > Do I have to conclude that the locationmap can not be dynamically > > > > generated ? > > > > > > It should just work. Locationmap can be dynamic, and event > > cacheable. > > > Can you mail the configuration you use for this locationmap. Also > > > which version you are using of hippo location map jar. > > > > > > Regards Ard > > > > > > > > > > > Thanks a lot, > > > > > > > > > > > > David, > > > > ******************************************** > > > > Hippocms-dev: Hippo CMS development public mailinglist > > > > > > > > Searchable archives can be found at: > > > > MarkMail: http://hippocms-dev.markmail.org > > > > Nabble: http://www.nabble.com/Hippo-CMS-f26633.html > > > > > > > > > > > ******************************************** > > > Hippocms-dev: Hippo CMS development public mailinglist > > > > > > Searchable archives can be found at: > > > MarkMail: http://hippocms-dev.markmail.org > > > Nabble: http://www.nabble.com/Hippo-CMS-f26633.html > > > > > > > > > ******************************************** > Hippocms-dev: Hippo CMS development public mailinglist > > Searchable archives can be found at: > MarkMail: http://hippocms-dev.markmail.org > Nabble: http://www.nabble.com/Hippo-CMS-f26633.html > > ******************************************** Hippocms-dev: Hippo CMS development public mailinglist Searchable archives can be found at: MarkMail: http://hippocms-dev.markmail.org Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
