Results 1 to 2 of 2

Thread: Run Accordion Menu in struts Tiles

  1. #1
    Join Date
    Aug 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Run Accordion Menu in struts Tiles

    1) Script Title: Bullet List Accordion Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...enu-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?
    Last edited by papalenci; 08-25-2009 at 03:35 PM.

  2. #2
    Join Date
    Aug 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Problem solved.

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •