You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Zeltser, Mark" <Ma...@lehman.com> on 2002/11/01 20:11:15 UTC

Can forward action point to tiles definition?

Hi,

In struts 1.1 can I do the following?

//
----------------------------------------------------------------------------
---------------------------------------------------
struts-config.xml
		<!-- Points to default page -->
        <action   path="/home"
                  type="org.apache.struts.actions.ForwardAction"
                  parameter="site.default.page"                 
        />        


tiles-definition.xml
 <definition name="site.default.page"
path="/WEB-INF/jsp/common/classicLayout.jsp">
          <put name="title"   value="Price Search" />
          <put name="menu"   value="/WEB-INF/jsp/common/menu.jsp" />
          <put name="body"   value="/WEB-INF/jsp/common/main.jsp" />
  </definition>
//
----------------------------------------------------------------------------
---------------------------------------------------


parameter="site.default.page" is not getting resolved.

Thanks, Mark.


------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the designated recipient(s) named above.  If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited.  This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such.  All information is subject to change without notice.



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>