Re: java script error
Frank.Fry-K67OQRCp/[email protected]
| Newsgroups | gmane.comp.java.struts-menu.user |
|---|---|
| Message-ID | <OF61A1AA61.B7CE6650-ON85256E91.00428727-85256E91.0043F0AB@shawinc.com> |
I have checked and there are no special characters in the menu-config.xml file for the menu item. I am still getting the same problem it is having a problem with the # symbol in the generated script. Frank Fry Shaw Ind. Inc. Systems Engineer frank.fry-K67OQRCp/[email protected] 706-275-5290 Customer Service / Distribution Programming koen <[email protected]> Sent by: struts-menu-user-admin-TtF/[email protected] 05/10/2004 11:20 AM Please respond to struts-menu-user-TtF/[email protected] To struts-menu-user-TtF/[email protected] cc Subject Re: [struts-menu] java script error My experience : Make sure the "xxxxxx" in your example is a name not containing illegal characters. The xxxxx expands to a javascript variable and for instance having a underscore in it, results in a javascript error. Frank.Fry-K67OQRCp/[email protected] wrote: > > I am getting a java script error when I use the following menu. I > keep getting an Invalid Character error on the # when I go to run the > page. I have used all the default settings. Has anybody seen this > and know how to fix it. > > <menu:useMenuDisplayer name="Velocity" > config="/templates/coolmenus.html" > bundle="org.apache.struts.action.MESSAGE"> > <script type="text/javascript"> > <!-- > <menu:displayMenu name="xxxxxxx"/> > oCMenu.construct(); > // --> > </script> > > > > *_#_*displayMenu(net.sf.navigator.menu.MenuComponent-7VjRe/[email protected][ > > > > Frank Fry > Shaw Ind. Inc. > Systems Engineer_ > __frank.fry-K67OQRCp/[email protected] <mailto:frank.fry-K67OQRCp/[email protected]> > 706-275-5290 > Customer Service / Distribution Programming > >********************************************************** >Privileged and/or confidential information may be contained in this message. If you are not the addressee indicated in this message (or are not responsible for delivery of this message to that person) , you may not copy or deliver this message to anyone. In such case, you should destroy this message and notify the sender by reply e-mail. >If you or your employer do not consent to Internet e-mail for messages of this kind, please advise the sender. >Shaw Industries does not provide or endorse any opinions, conclusions or other information in this message that do not relate to the official business of the company or its subsidiaries. >********************************************************** > > > -- Best regards, Koen Maes Domainnames Belgium www.domainnames.be www.domeinnamen.be -- This message has been scanned for viruses and dangerous content, and is believed to be clean. ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ struts-menu-user mailing list struts-menu-user-TtF/[email protected] https://lists.sf.net/lists/listinfo/struts-menu-user ********************************************************** Privileged and/or confidential information may be contained in this message. If you are not the addressee indicated in this message (or are not responsible for delivery of this message to that person) , you may not copy or deliver this message to anyone. In such case, you should destroy this message and notify the sender by reply e-mail. If you or your employer do not consent to Internet e-mail for messages of this kind, please advise the sender. Shaw Industries does not provide or endorse any opinions, conclusions or other information in this message that do not relate to the official business of the company or its subsidiaries. **********************************************************