Go Back   Dynamic Drive Forums > DD Scripts > Dynamic Drive scripts help
Search Dynamic Drive Forums:

Reply
 
Thread Tools Search this Thread
  #1  
Old 10-22-2004, 01:17 PM
tonkadawg tonkadawg is offline
New Comer (less than 5 posts)
 
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.
Reply With Quote
  #2  
Old 10-22-2004, 01:20 PM
cr3ative's Avatar
cr3ative cr3ative is offline
Elite Coders
 
Join Date: Aug 2004
Location: Brighton
Posts: 1,564
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
__________________
Mostly retired member, PM me if you have a specific query to make sure I recieve it :)
cr3ation | cr3ation hosting | cr3ation web design | read the stickies
Reply With Quote
  #3  
Old 10-22-2004, 01:22 PM
tonkadawg tonkadawg is offline
New Comer (less than 5 posts)
 
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
Reply With Quote
  #4  
Old 10-22-2004, 02:14 PM
tonkadawg tonkadawg is offline
New Comer (less than 5 posts)
 
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.
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:30 PM.

Home - Contact Us - Archives - Link to DD - Top 

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.