Hi Matt.
The problem is connected with braces ( {} ). The struts MessageResources
tries format string and rise exception and
second problem is maybe in single quotes, but I don't sure.

java.lang.IllegalArgumentException: can't parse argument number
  if(menu.style.display == "none") {
    menu.style.display="block";
     img.src = imgSrcExpanded;
  }
  else{
    menu.style.display="none";
    //menu.style.visibility=''hidden'';
    img.src = imgSrcExpand;
  }


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Matt Raible
Sent: Tuesday, January 13, 2004 2:17 PM
To: [EMAIL PROTECTED]
Subject: Re: [struts-menu] Exception in Struts 1.2


Hmmm, this might be because I made the ResourceBundle exposed by Struts
as the default?  It's untested, but *sounded* like a good idea.  I'll
make sure and test it before a release... You could look in the
UseMenuDisplayerTag class and remove the code where I set it as the
default.  If this fixes your issue, I'll remove it.

Matt



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
struts-menu-user mailing list
[EMAIL PROTECTED]
https://lists.sf.net/lists/listinfo/struts-menu-user

Reply via email to