Using the following code, clicking on the link does not work. STS is not pointing out an errors and Firebug is also showing no errors. When inspecting the DOM, the <a ..>...</a>, has been replace by a div block and a span block for the Go to Page part. What is wrong in my code:
My tiles definition is:
in myLayout.jsp I have
I'm using a dijit.layout.BorderContainer as the pages primary container. Within it, I have a dijit.layout.ContentPane at region top for the header, another BorderContainer at region center, and another ContentPane at region bottom. Inside the inner BorderContainer, I have a fully populated MenuBar at region top and a ContentPane at region center. <div id="main> is this ContentPane. And there is, what seems to be, another problem. The containers are not rendering in the manner I'm use to. In vanilla Dojo/Dijit/Dojox, the containers have thin blue borders. But instantiating my layout via spring-js, there are no borders? Is this the default behavior of spring-js or am I doing something incorrectly? Also, I have the servlet.xml configured correctly. Before applying the decorations, all my links worked going through the AjaxUrlBasedViewResolver with view class FlowAjaxTilesView. My mvc:mapping is also configured and working correctly. I also have <mvc:default-servlet-handler /> specified to handle any other static content. Finally, I'm using a custom build of org.springframework.webflow.jar, org.springframework.js.jar, and org.springframework.js.resources.jar. My build of the three JARs is using Dojo1.6.1.
<definition name="myLayout" template="/WEB-INF/views/myLayout.jsp"> <put-attribute name="main" value="" /> </definition> <definition name="somePage" extends="myLayout"> <put-attribute name="main" value="/WEB-INF/views/somePage.jsp" /> </definition>