RE: java script error

"Matt Raible" <lists-T7vlz3gD7BdF/EzeuO4KJwC/[email protected]>
Newsgroups gmane.comp.java.struts-menu.user
Organization Raible Designs, Inc.
Message-ID <[email protected]>
What version of struts-menu are you using?  You might try downloading
the sample app and simply modifying that.
 
Matt

-----Original Message-----
From: struts-menu-user-admin-TtF/[email protected]
[mailto:struts-menu-user-admin-TtF/[email protected]] On Behalf Of
Frank.Fry-K67OQRCp/[email protected]
Sent: Tuesday, May 11, 2004 6:22 AM
To: struts-menu-user-TtF/[email protected]
Subject: Re: [struts-menu] java script error



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
 <mailto:frank.fry-K67OQRCp/[email protected]> 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.

**********************************************************
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.