On 13-11-06 4:58 PM, Mick Semb Wever wrote:
For testing sake, does it work ok if you collapse these definitions together into just…<definition name="REGEXP:([^.]+)" template="/WEB-INF/views/tiles/layouts/ace/default.jsp" preparer="testPreparer"> <put-attribute name="meta" value="/WEB-INF/views/tiles/{options[defaultPaths]}/meta.jsp"/> <put-attribute name="head" value="/WEB-INF/views/tiles/{options[defaultPaths]}/head.jsp"/> <put-attribute name="header" value="/WEB-INF/views/tiles/{options[defaultPaths]}/header.jsp"/> <put-attribute name="menu" value="/WEB-INF/views/tiles/{options[defaultPaths]}/menu.jsp"/> <put-attribute name="body" value="/WEB-INF/views/tiles/{options[defaultPaths]}/body.jsp"/> <put-attribute name="onReady" value="/WEB-INF/views/tiles/layouts/ace/onReady.jsp" /> <put-attribute name="onReadyJs" value="/WEB-INF/views/tiles/{options[defaultPaths]}/onReady.js" /> <put-list-attribute name="defaultPaths" cascade="true" > <add-attribute value="{1}"/> <add-attribute value="default"/> </put-list-attribute> </definition>
No - I haven't done much debugging other than the basics. I've been having other problems trying to get tiles to do what I want but having trouble figuring stuff out. For the moment, just renamed onReady.js to onReady.js.jsp and it is working as expected. Will post back once I get some more info.
Also have you tried naming the template in the second definition something other than "onReady".
No.
Or have you any logging errors you can provide?
Strangely - no. I have tiles logger set to debug, but nothing shows up. Perhaps will have to try it out with Trace logging enabled. Tx, Eric
