-
I'm using jWebUnit 2.0, which now has HtmlUnit support. When I try to test my application with JavaScript enabled, I get the following error message.
======= EXCEPTION START ========
EcmaError: lineNumber=[9] column=[0] lineSource=[]
name=[TypeError]
sourceName=[http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js]
message=[TypeError: Cannot call method "indexOf"...
2008-10-28 22:02:50 UTC in HtmlUnit
-
>
The cookie approach actually meets my needs well. It is possible to have mutliple ListMenuDisplayers without them interfering with each other?
The best way to find out is to try it. If it doesn't work, you should be able to modify the JavaScript to make it work.
Matt.
2008-05-01 05:26:31 UTC in Struts Menu
-
Unfortunately, I don't know of a workaround. I would suggest trying to fix the JavaScript. We'd be happy to accept a patch if you figure it out.
Matt.
2008-05-01 05:19:17 UTC in Struts Menu
-
> 1. To avoid a single massive menu-config.xml containing the menus for all of the applications I am having one config per app (and one for SiteMesh) and importing them into a set of different keys (as the menu-config.xml doesn't appear to support importsI believe I will need my own 'plug-in' to achieve this , either in Spring or the web.xml) and use the repository attribute to identify which...
2008-04-21 15:01:17 UTC in Struts Menu
-
If you remove Struts Menu from your page, do you still get this error?.
2008-04-10 18:27:46 UTC in Struts Menu
-
Are you saying you want the tabs centered on the page? What browsers are you targeting? This might be tough as the current system is based on left-alignment. Of course, anything is possible, so if you have an example online I can look at, it's possible to reproduce it with Struts Menu. It's all HTML, JavaScript and CSS in the end after all! ;-)
Matt.
2008-02-29 05:48:12 UTC in Struts Menu
-
From http://demo.raibledesigns.com/struts-menu/coolmenu4.jsp.src:
<body>
<!-- Custom Configuration for this example, must come after body to work in IE -->
<script type="text/javascript" src="scripts/coolmenu4-config.js"></script>
<menu:useMenuDisplayer name="CoolMenu4"...
2008-02-08 01:35:29 UTC in Struts Menu
-
This happens when the menu fails to load on startup. If you have all the JARs in place, it could be caused by 1) invalid versions of those JARs or 2) invalid XML in menu-config.xml. I'd check your logs for startup errors.
Matt.
2008-02-07 23:29:58 UTC in Struts Menu
-
The reason I want to exclude certain URLs is I've found that the GZipFilter fails to work with many other libraries. While the issues are usually the library's fault, and not EhCache's, I'd be nice to allow an application to work without mapping individual URLs. If the servlet spec allowed exclusion rules for certain URLs, this wouldn't be an issue.
Matt.
2008-01-02 18:28:23 UTC in ehcache
-
Doesn't seem to work on GlassFish V2 either:
org.apache.jasper.JasperException: /jsp/jsp2/el/basic-arithmetic.jsp(100,2) PWC6296: The function map must be used with a prefix when a default namespace is not specified
I copied the examples.war out of Tomcat 6 and put el.properties in WEB-INF/classes and put juel-2.1.0.jar in WEB-INF/lib.
Thanks,
Matt.
2007-12-06 21:53:05 UTC in Java Unified Expression Language