Re: [struts-menu] java script error

2004-05-12 Thread OFlaherty, Colm
I was getting the same thing when I tried doing this.. I didn't get a chance to really 
try to solve it, because of time constraints,


**
This message is sent in confidence for the addressee
only.  The contents are not allowed to be disclosed to
anyone other than the addressee.  Unauthorised 
recipients must preserve this confidentiality and should 
please advise the sender immediately of any error in
transmission.
**



---
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
[EMAIL PROTECTED]
https://lists.sf.net/lists/listinfo/struts-menu-user


RE: [struts-menu] java script error

2004-05-11 Thread Matt Raible
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.
**



[struts-menu] java script error

2004-05-10 Thread Frank . Fry

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]
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.
**


Re: [struts-menu] java script error

2004-05-10 Thread koen
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 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=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 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.


smime.p7s
Description: S/MIME Cryptographic Signature