View Full Version : Run Accordion Menu in struts Tiles

08-25-2009, 03:20 PM
1) Script Title: Bullet List Accordion Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu-bullet.htm

3) Describe problem: I follow the instructions to run the Dynamic Menu in my application and I've no problems when I paste the code in a simple JSP, but when I use Tiles the Menu doesn't work.
May be I'm missing some configuration. Any ideas?

08-25-2009, 04:54 PM
Problem solved.

It was something absurde. I just insert in my CSS and javascript imports the context path code (<%=request.getContextPath()%>):
<script type="text/javascript" src="<%=request.getContextPath()%>/js/ddaccordion.js">