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

Reply via email to