This week's book giveaway is in the Other Languages forum. We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line! See this thread for details.
I have an app I'm working on that uses tiles and the tabbedpanels quite a bit. Basically, the main tile jsp has the <sx:head> tag in it as follows:
All other tile jsps extend this one. One of the tile jsps (ProjectTabs.jsp) is set up with the following, all it does is define the tabbed panel and the two tabs:
Looking at the first href, projects-projects-tab.action, the corresponding action in struts.xml is the following (right now the ProjectAction.loadScreen action method just returns SUCCESS):
The contents of Projects.jsp are:
Here's the issue. The tree actually displays, but since the debug flag in the <sx:head> tag is set to true, I get the following line displayed three times at the bottom of my page:
DEBUG: Error running scripts from content: Syntax error
If I take the small <sx:tree> out of the Projects.jsp page, I don't get the error. Also, I can add the tree into ProjectTabs.jsp (the jsp that defines the tabbedpanel), and I don't get the error. For some reason, putting the tree in the page loaded from the action is causing the error.
I really appreciate any and all help I can get. Thanks for your time.