Hi,

After testing the example app who work fine, I've try to include
struts-menu on my project.

After reading the readme I follow that :

- Copy the file "lib/struts-menu.tld" from the struts-menu distribution into
the

"WEB-INF" directory of your web application.

- Copy the file "lib/struts-menu.jar" from the struts-menu distribution into
the

"WEB-INF/lib" directory of your web application.

- Modify the application "WEB-INF/web.xml" file to include a tag library
decleration

for the struts-menu taglibrary. For example:

<taglib>

<taglib-uri>/WEB-INF/struts-menu.tld</taglib-uri>

<taglib-location>/WEB-INF/struts-menu.tld</taglib-location>

</taglib>

- In each JSP page that will use the Struts custom tags, add the
corresponding taglib

directive for struts-menu.tld. For example:

<%@ taglib uri="/WEB-INF/struts-menu.tld" prefix="menu" %>

I create a simple jsp test page based on the coolmenu 3

<%@ page contentType="text/html; charset=UTF-8" %>

<%@ taglib uri="/WEB-INF/struts-menu.tld" prefix="menu"%>

<html>

<head>

<title>CoolMenus3 Example</title>

<link rel="stylesheet" type="text/css" media="screen"

href="styles/global.css" />

</head>

<body>

<script language="JavaScript1.2" src="./scripts/coolmenus3.js">

</script>

<script src="./scripts/coolmenu-config.js">

</script>

<menu:useMenuDisplayer name="CoolMenu"
bundle="org.apache.struts.action.MESSAGE">

<menu:displayMenu name="ToDoListMenuFile"/>

<menu:displayMenu name="ToDoListMenuEdit"/>

<menu:displayMenu name="CaseDetailMenuCase"/>

</menu:useMenuDisplayer>



</body>

</html>

And when I test I got the following error :

org.apache.jasper.JasperException: The menu repository could not be found

Any idea ??

Thanks in advance.



<--
Alexandre Jaquet
->



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to