On Thu, 27 Jun 2002, Cedric Dumoulin wrote:
> Date: Thu, 27 Jun 2002 14:48:19 +0200
> From: Cedric Dumoulin <[EMAIL PROTECTED]>
> Reply-To: Struts Developers List <[EMAIL PROTECTED]>
> To: Struts Developers List <[EMAIL PROTECTED]>
> Subject: Re: Tiles And Struts
>
>
>
> I am working in that direction : eliminating the servlet for Tiles
> with Struts1.1, and have a request processor doing the job.
>
> Tiles require a special RequestProcessor and an initialization in a
> plugin. To avoid extra declaration in struts-config file, I would like
> to let the plugin set the RequestProcessor class. This is actually not
> possible because configurations are frozen before plugins are called. I
> propose to froze configurations after plugins initialization. This will
> let a chance to plugin to set some configurations parameters.
>
> Is there some objections ? If not, I will do the required
> modification, and provide requested plugin.
>
Now that we are folding Tiles into the core, I think it's legitimate to
build any processing you might need in a special request processor into
the standard one (suitably adding "if" checks for when Tiles isn't being
used), and even to add a struts-config element for the extra configuration
information.
I've merged the basic classes into the "src/share" subdirectory (merging
the correct license along the way -- we need to use the long form license
at the top of each source file). Now, it's just a matter of making Tiles
a "normal" part of Struts rather than an "add on".
> What are you goals about the Tiles documentation, example, jar and war
> ? Do you thing to separate them from main struts one as today, integrate
> them more deeply or remove them ?
> If I know where we want to go I can help doing it ;-)
>
In principle, they should be migrated into the "src" and "web" directories
as well, so that they are built in the same way as the other standard
ones.
One thing about the struts-documentation webapp that I like is that it's
100% static, so you can copy it to your disk (or to the Jakarta web site
:-) and browse even when there is no servlet container running. Would it
be possible to take the static portions of the Tiles documentation and
merge them into struts-documentation, and keep all the dynamic stuff that
requires execution in a tiles-tutorial or tiles-example webapp?
> Cedric
>
Craig
> "Craig R. McClanahan" wrote:
>
> > On Wed, 26 Jun 2002, Ted Husted wrote:
> >
> > > Date: Wed, 26 Jun 2002 11:48:55 -0400
> > > From: Ted Husted <[EMAIL PROTECTED]>
> > > Reply-To: Struts Developers List <[EMAIL PROTECTED]>,
> > > [EMAIL PROTECTED]
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Tiles And Struts
> > >
> > > > Note that Struts1.1 also require the TilesRequestProcessor to enable Tiles.
> > >
> > > In practice, I find that if you only use a * single * Tiles definition
> > > file (no comma-delimited list), then the stock 1.1 ActionServlet seems
> > > to work just as well. This works with the Tiles example application as
> > > well as my own.
> > >
> > > Most of the code in the 1.1 ActionComponentServlet and
> > > TilesRequestServlet seem to overlap.
> > >
> > > Perhaps there's a way we could just use the processor in 1.1 and
> > > eliminate the servlet subclass?
> > >
> >
> > I want to go that way, once the basic integration is done. Ideally, the
> > standard RequestProcessor can be used, and any one-time initialization can
> > be done in a PlugIn. But I haven't looked deeply into how
> > TilesRequestProcessor differs from the standard one yet.
> >
> > Cedric, any comments?
> >
> > > -T.
> > >
> >
> > Craig
> >
> > > Cedric Dumoulin wrote:
> > > >
> > > > By using tiles ActionComponentServlet , no Struts functionalities are lost.
>You
> > > > gain one : the ability to use Tiles definitions names as Struts forward.
> > > > Note that Struts1.1 also require the TilesRequestProcessor to enable Tiles.
> > > >
> > > > Cedric
> > > >
> > > > Vincent Stoessel wrote:
> > > >
> > > > > Just out of curiosity, what functionality is lost
> > > > > by using tiles' ActionComponentServlet ?
> > > > > Thanks
> > > > >
> > > > > Ricardo de Souza Moura wrote:
> > > > > > Can I use a plugIn to Tiles ?
> > > > > > I am not wanting to use the ActionComponentServlet, but I am wanting to
> > > > > > use the definitions-config param.
> > > > > >
> > > > > > There are some way ?
> > > > > >
> > > > > > Thanks
> > >
> > > --
> > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> > >
> > >
> >
> > --
> > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>