I'm using the menu in an cms system called OpenCMS, I have included the menu in a template JSP page and now i'm getting the error: TMN is not
defined. I don't now i any of you have any experince with OpenCms and it's file structure but i'm pretty sure that I'm doing something wrong and
it's probably a easy correction.

I got it solved, the browser was caching the script or something and it showed me a wrong error message that i already had correted. So don't work to
many hours :-)

boberang

Junior Member

Posts: 4
Registered: 1/30/2004
Member Is Offline

posted on 4/18/2005 at 09:52 PM

no way of doing relative?

So there is no way of doing a relative path to the TMenu_path variable?

Just seems odd/cumbersome to have to use three different absolute variables (one in development, one on the testing server, one in production).

But I guess that file shouldn't change so once those three are set....

william_munny

Junior Member

Posts: 5
Registered: 12/21/2004
Member Is Offline

posted on 4/19/2005 at 07:34 AM

I guess there is, I just haven't figured it out yet. I know that the OpenCMS takes care of the mapping of files using a JSP taglib, i just coudn't
make it work in the javascript file. And it's working now, so i'm not gonna try figuring it out at this point.