Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Cewolf and Struts tiles integration problem

Help
Matts
2006-09-04
2013-01-13
  • Matts
    Matts
    2006-09-04

    I'm developing a web app with struts and tiles.
    I want to use cewolf to render a gantt chart in a jsp. Cewolf work fine if i don't use tiles. But when i tried it with tiles the chart doen't appear.

    Can any one help me to integrate it with tiles???

     
    • Zoltan Luspai
      Zoltan Luspai
      2006-09-04

      Hi,

      It works with tiles, I've used it myself too. Few ideas to check:
      - check that your chart page contains all <@taglib ... and import tags as it would need when running standalone (without tiles)
      - check the renderer attribute in the <cewolf:img... tags, this may point to wrong location because tile-d page url differs from normal
      - there might be an exception; tiles has bad habbit of hiding them. I usually for bug fixing wrap the sensitive part in a <% try { %> ...page <% } catch (Exception ex) { ex.printStackTrace() } %> and check the tomcat stdout or other logs for exceptions.

      Cheers,
      Zoltan