Error using the menu with IceFaces Ajax component

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Buddy Casino
Beginner
Beginner
Posts: 4
Joined: Tue May 29, 2007 12:14 pm

Error using the menu with IceFaces Ajax component

Post by Buddy Casino »

Hi!


I'm working for an agency that uses the professional version of the menu for a customer project, and I'm having problems using it with the IceFaces Ajax library.

The error occurs on IE6, but not on IE7 and Firefox. It goes away when I remove the Milonic menu, so it has to be a problem with the menu.

The exact error message is as follows:

Code: Select all

Line: 1
Char: 6
Error: Invalid Character
Code: 0
URL: javascript:false
It is triggered when I click on a link that causes a server operation to change parts of the DOM of the page, but not in the navigation area. In the MS script debugger, some bogus documents named 'false' are displayed in the "Running Documents" window. I've copied the link used by the IceFaces component (the one that triggers the error) and pasted it below:

Code: Select all

<a href="#" id="resultForm:dataScroll_seminarTableidx3" onblur="setFocus('');" onclick="document.forms['resultForm']['resultForm:dataScroll_seminarTable'].value='idx3';iceSubmit( document.forms['resultForm'], this,event); return false;" onfocus="setFocus(this.id);">3</a>
My guess is that the Milonic menu listens to clicked links and doesn't handle it well when it gets a false returned by the "return false;" javascript.

There is absolutely no way to change the IceFaces stuff, for technical reasons, so the fix has to be on the side of Milonic.

I'd be really thankful for any help regarding this matter!
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

I've posted to Milonic on this. You might also contact them since this is a proffessional licensed menu.

Ruth
Buddy Casino
Beginner
Beginner
Posts: 4
Joined: Tue May 29, 2007 12:14 pm

Post by Buddy Casino »

Coool, I didn't know that, thanks for the hint!
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Do you have a URL that we can see as it's going to get quite messy without be able to see the problem?

Also, which parts of their library are you using, is it just AJAX?
Buddy Casino
Beginner
Beginner
Posts: 4
Joined: Tue May 29, 2007 12:14 pm

Post by Buddy Casino »

I'd love to post you a public URL, but there isn't one, and I don't have access to a public java-enbled server. You can see the component that I use here: http://component-showcase.icefaces.org/ ... -showcase/
Go to: Components / Table / Data Paging

The error occurs when I click on one of the pager controls.
Btw., i'm using listmenus.js 1.3, if that matters.
Post Reply