struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jim@tera.gr" <...@tera.gr>
Subject Using an action struts2 in a tiles definition
Date Fri, 26 Nov 2010 12:39:58 GMT
Hello

Is there a way to use a struts2  action inside tiles-def?
  like?

<definition name="user.document.list" 
template="/tiles/layouts/templates/user/mainLayout.jsp">
<put-attribute name="title"     value="Search Document" />
<put-attribute name="body"    value="/WEB-INF/pages/user/documents.jsp" />
<put-attribute name="footer"    
value="/tiles/layouts/templates/user/footer.jsp" />
*<put-attribute name="left"    value="user/TreeNode.action" />*
</definition>

....

<action name="TreeNode">
<result>/treeView.jsp</result>
</action>
....


so the TreeNode action to execute and filles with the result ?

In struts1 works fine but in struts2 i am getting the following
*
user/TreeNode.action root element finish --> --> *

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message