Results 1 to 4 of 4

Thread: Jims Menu v5.7

  1. #1
    Join Date
    Oct 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Jims Menu v5.7

    Hey everyone.

    I am attempting to implement Jims Menu v5.7 into our application. I have created a sample jsp to try the menu out, got everything working, looks great. However when I try to include this sample jsp in with another jsp, I an 'object expected' error at the line <body onload='init()'>. I have tried using the <jsp:include page=''/> tag as well as the JSTL <c:import url='' /> tag. Any ideas?

    Thanks.

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Make sure you declare the <script src="menu.js"></script> before the body onload tag.

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  3. #3
    Join Date
    Oct 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    yeah, I declare both <script> tags inside the <head> tag. I have also verified that I have the correct paths - for both the <script> tags as well as the browser.js

  4. #4
    Join Date
    Oct 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    heres some more info.

    the <include> tag works when I call the main jsp (the one that includes my menu.jsp), but since this is a struts application, most of the time the execute method of the ActionClass gets called first. This is where I am having the problem.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •