[Yanel-dev] Navigation Resource

Michael Wechner michael.wechner at wyona.com
Wed Apr 16 00:36:31 CEST 2008


tonio wrote:

> When I call the resource over the browser, the getLastModified Method  
> of the Resource is called.


right, the getLastModified should read the custom config instead, for 
example

<nr:source lang="de" src="/sitetree-de.xml"/>

I have commented the code which doesn't make sense and added a TODO.
(I think this is at least better than the code which doesn't make sense)

thanks for pointing this out.

Please update and give it another try

Michi

> This method is somehow looking for a  menu.xml file in the repository 
> and when this node does not exist,  the resource crashes.
> This error does not occur when the resource is incuded with xinclude.
>
> As a fix I created a empty menu.xml in the repository.
>
> I think this should be fixed, eventhough it is not very urgent since  
> mostly the navigation resource will be included with xinclude.
>
>
> Tonio
>
> _______________________________________________
> Yanel-development mailing list
> Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development



-- 
Michael Wechner
Wyona      -   Open Source Content Management - Yanel, Yulup
http://www.wyona.com
michael.wechner at wyona.com, michi at apache.org
+41 44 272 91 61



More information about the Yanel-development mailing list