You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Roland Carlsson <ro...@swetravel.se> on 2002/11/07 08:44:29 UTC
Tiles and ActionForm
Hi!
I doesn't find any example of how to use Tiles with an ActionForm. And now
all I get is a big fat error so I'll guess that I have to find some resource
to study a little.
Thanks in advance
Roland Carlsson
------------My formbean
<form-bean
name="aform"
type="layout.AForm" />
--------------My action -----------------
<action
path="/layout7/page"
type="layout.EmptyAction"
name="aform"
input="/layout/page.do"
validate="true"
>
<forward
name="success"
path="/layout7/definition" />
</action>
-----------My defintion --------------
<definition name="/layout7/definition" page="/layout7/layout.jsp" >
<put name="header" value="/layout7/header.jsp"/>
<put name="footer" value="/layout7/footer.jsp"/>
<put name="menu" value="/layout7/menu.jsp"/>
<put name="body" value="/layout7/body1.jsp"/>
</definition>
-----------The error ----------------
INFO: Processing a 'GET' for path '/layout7/page'
2002-nov-07 08:43:29 org.apache.struts.action.RequestProcessor process
INFO: Processing a 'GET' for path '/layout/page'
2002-nov-07 08:43:29 org.apache.struts.action.RequestProcessor
processMapping
ALLVARLIG: Invalid path /layout/page was requested
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re[2]: Tiles and StrutsAction
Posted by Postfach 4711 <po...@gmx.de>.
Hello Chris,
look here for your first question (chapter 5.2):
http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf
--
Best regards,
Dirk Markert
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Tiles and StrutsAction
Posted by Chris <ch...@sasoft.com.my>.
Hi all,
Following about Tiles, there are no examples TOO for calling actions prior
to displaying the jsp pages being put in the tiles. Also, I would need to
pass in parameters to the Action classes as well. How could I do that in the
Tiles definition?
thanks.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Tiles and ActionForm
Posted by Roland Carlsson <ro...@swetravel.se>.
Ouch, I missed a char in the name :-(
I'm sorry for wasting your time on a typo.
Regards
Roland
----- Original Message -----
From: "Postfach 4711" <po...@gmx.de>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Thursday, November 07, 2002 9:02 AM
Subject: Re: Tiles and ActionForm
> Hello Roland,
>
> I guess the problem is this line:
>
> input="/layout/page.do"
>
> in your action mapping. Did you define this action?
>
> --
> Best regards,
> Dirk Markert
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Tiles and ActionForm
Posted by Postfach 4711 <po...@gmx.de>.
Hello Roland,
I guess the problem is this line:
input="/layout/page.do"
in your action mapping. Did you define this action?
--
Best regards,
Dirk Markert
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>