Title: Message
What
version of struts-menu are you using?You might trydownloading
the sample app and simply modifying that.
Matt
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]Sent: Tuesday, May 11, 2004 6:22
AMTo: [EMAIL PROTECTED]Subject: Re:
[struts-menu] _javascript_ errorI 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 FryShaw Ind. Inc.Systems Engineer[EMAIL PROTECTED]706-275-5290Customer Service / Distribution Programming
koen
[EMAIL PROTECTED] Sent by: [EMAIL PROTECTED]
05/10/2004 11:20 AM
Please respond
to[EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
Subject
Re: [struts-menu] _javascript_ error
My experience :Make sure the "xx" in your example is a name
not containing illegal characters.The x expands to a _javascript_
variable and for instance having a underscore in it, results in a
_javascript_ error.[EMAIL PROTECTED] wrote: I am
getting a _javascript_ 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="xxx"/
oCMenu.construct();
// --
/script
*_#_*displayMenu([EMAIL PROTECTED]
Frank Fry Shaw Ind. Inc. Systems Engineer_
[EMAIL PROTECTED] mailto:[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 MaesDomainnames
Belgiumwww.domainnames.bewww.domeinnamen.be--This
message has been scanned for viruses anddangerous content, and is believed
to be
clean.---This
SF.Net email is sponsored by Sleepycat SoftwareLearn 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[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.
**