[EMAIL PROTECTED] wrote:
> Author: andreas
> Date: Thu Jun 8 03:45:46 2006
> New Revision: 412718
>
> URL: http://svn.apache.org/viewvc?rev=412718&view=rev
> Log:
> Added check for document existence to module menus to avoid exception for
> non-existing documents in the site area.
>
> Modified:
> lenya/trunk/src/modules/cforms/config/menu.xsp
> lenya/trunk/src/modules/links/config/menu.xsp
> lenya/trunk/src/modules/opendocument/config/menus/opendocument.xsp
> lenya/trunk/src/modules/xhtml/config/menu.xsp
> lenya/trunk/src/pubs/default/modules/homepage/config/menus/homepage.xsp
this is a lot of code duplication. isn't there a way to move this
snippet into an xsp "functions" file, maybe via cinclude and friends?
--
"Án nýrra verka, án nútimans, hættir fortíðin að vekja áhuga."
"Without new works, without the present the past will cease to be of
interest."
- Ásmundur Sveinsson (1893-1982)
--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: [EMAIL PROTECTED], Telefon: 0203/379-2736
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]