You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by teknokrat <te...@yahoo.com> on 2003/06/05 14:14:21 UTC
tiles and tiles controllers
I have a page definition that uses a tiles controller. This works fine.
However, i now want to defines several pages that extend the first page
but i do not want them using the controller ( or any controller). can
this be done? leaving urlController blank gives errors.
thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: tiles and tiles controllers
Posted by teknokrat <te...@yahoo.com>.
Currently i have two page definitions - one for inheritence and one for
the controller. The controller is a TilesAction - I suppose i could
create a TilesAction that did nothing and have the inherited pages use
that but it seems an unnecessary hack. It would be good if setting the
controllerUrl to "" was OK or even a switch to disable it.
Mike Jasnowski wrote:
> I suppose one possibility is to have a noop controller, noop.jsp, or use
> the controller attribute on each tile rather than the definition, which I
> think is less desireable than having it at the def level.
>
> -----Original Message-----
> From: teknokrat [mailto:teknokrat@yahoo.com]
> Sent: Thursday, June 05, 2003 8:14 AM
> To: struts-user@jakarta.apache.org
> Subject: tiles and tiles controllers
>
>
> I have a page definition that uses a tiles controller. This works fine.
> However, i now want to defines several pages that extend the first page
> but i do not want them using the controller ( or any controller). can
> this be done? leaving urlController blank gives errors.
>
> thanks
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
RE: tiles and tiles controllers
Posted by Mike Jasnowski <mj...@bea.com>.
I suppose one possibility is to have a noop controller, noop.jsp, or use
the controller attribute on each tile rather than the definition, which I
think is less desireable than having it at the def level.
-----Original Message-----
From: teknokrat [mailto:teknokrat@yahoo.com]
Sent: Thursday, June 05, 2003 8:14 AM
To: struts-user@jakarta.apache.org
Subject: tiles and tiles controllers
I have a page definition that uses a tiles controller. This works fine.
However, i now want to defines several pages that extend the first page
but i do not want them using the controller ( or any controller). can
this be done? leaving urlController blank gives errors.
thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org