Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:34

Error using the menu with IceFaces Ajax component


Poster: Buddy Casino
Dated: Tuesday May 29 2007 - 17:38:53 BST

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:
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:
<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!


Poster: Ruth
Dated: Tuesday May 29 2007 - 17:49:33 BST

Hi,

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

Ruth


Poster: Buddy Casino
Dated: Wednesday May 30 2007 - 8:28:07 BST

Coool, I didn't know that, thanks for the hint!


Poster: Andy
Dated: Wednesday May 30 2007 - 12:23:12 BST

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?


Poster: Buddy Casino
Dated: Wednesday May 30 2007 - 14:23:30 BST

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.