If you use a class directly, you should better implement the controller interface.
Cedric
BaTien Duong wrote:
Question: Just check to make sure that the controllerClass (NOT
controllerURL) used in <tiles:insert> tag can extends TilesAction (and NOT
implements Controller)?
----- Original Message -----
From: "BaTien Duong" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, February 16, 2003 3:53 PM
Subject: Re: TilesAction and Controller
Using TilesAction as a controller, I can pass the generated error to the(assuming
input page via standard Struts process:
if (!errors.empty()) {
saveErrors(request, errors);
return (new ActionForward(mapping.getInput();
}
Question: How can I achieve the same thing with Tiles Controller?
that I can have currentURL and RequestURL as Tiles attributes in therequest
scope).
Cedric and/or someone may save me time to navigate from ServletContext
passed into the Controller perform(...) method.
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]