struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
Subject RE: Can forward action point to tiles definition?
Date Fri, 01 Nov 2002 20:21:28 GMT
NoOpAction has been deprecated in favor of using ForwardAction now that 
ForwardAction can handle tiles.

David



>From: "Madel,Kurt" <kmadel@csmi.com>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: "''struts-user@jakarta.apache.org' '" <struts-user@jakarta.apache.org>
>Subject: RE: Can forward action point to tiles definition?
>Date: Fri, 1 Nov 2002 15:00:25 -0500
>
>I believe that might work, but I know that the following works:
>
>  <action
>     path="/welcome"
>     type="org.apache.struts.tiles.actions.NoOpAction"
>     scope="request"
>     validate="false">
>     <forward name="success" path="tiles.welcome"/>
>  </action>
>
>-----Original Message-----
>From: Zeltser, Mark
>To: 'struts-user@jakarta.apache.org'
>Sent: 11/1/02 2:11 PM
>Subject: 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:
><mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail:
><mailto:struts-user-help@jakarta.apache.org>
>
>--
>To unsubscribe, e-mail:   
><mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:struts-user-help@jakarta.apache.org>


_________________________________________________________________
Internet access plans that fit your lifestyle -- join MSN. 
http://resourcecenter.msn.com/access/plans/default.asp


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message