Thanks for that. In the meantime is there anyway I can get rid of the nulls when using ListMenu?
Simon Young JL Architecture Team Management Services tel: 0207 592 4273 __________________ This is probably a bug in the Simple menu. Please enter it in JIRA at http://issues.appfuse.org with steps to reproduce. Matt On 2/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi > > I am trying to get onclick to work for some menu items. I can get it > working for ListMenu, but not for Simple (which is what I want). For the > ListMenu, the onclick appears but I am getting a couple of nulls appearing > (see generated HTML below), so I must be missing something. > > <div id="menu-buttons"> > null > > <div id="menu-item"> > > null > <a href="selectProductForward.do" onclick="return > confirm('This is an onclick example')">New Search</a> > <a href="logOff.do" >Log Off</a> > </ul> > > </div> > null > </div> > > Is there any documentation anywhere on getting this working? Failing that > is anyone prepared to look at some code snippets and guide me as to where I > am going wrong? > > Thanks in anticipation.... > > Simon Young > > > > ********************************************************************* > > Notice: This email is confidential and may contain copyright material > of the John Lewis Partnership. If you are not the intended recipient, > please notify us immediately and delete all copies of this message. > (Please note that it is your responsibility to scan this message for viruses). > Email to and from the John Lewis Partnership is automatically > monitored for operational and lawful business reasons. > ********************************************************************* > > John Lewis plc Registered in England 233462 > Registered office 171 Victoria Street London SW1E 5NN > > Websites: http://www.johnlewis.com http://www.waitrose.com > http://www.johnlewispartnership.co.uk > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > struts-menu-devel mailing list > struts-menu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/struts-menu-devel > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642 _______________________________________________ struts-menu-devel mailing list struts-menu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/struts-menu-devel ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ struts-menu-devel mailing list struts-menu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/struts-menu-devel