2008/11/12 stanlick <[EMAIL PROTECTED]>:
> Does Tiles/2 strip the URL and construct a "realtime" definition from a
> request or do you have to get involved in the life-cycle processing?

It is Struts 2 that strips the URL. In your case, Tiles is called only
when the definition:
myapp.tile{1}.titleFred Title
is called. The substitution of {1} is done by Struts 2 (because it is
a Struts result). But the matching with the wildcard-based definition
is done by Tiles.
The definition is created at runtime once if it is not present (it
will be reused if it has been already created).

>  I read
> another article where you had suggested a view preparer???

Probably it was for Tiles 2.0, can you link it?

>  I guess I'm a
> little unclear on what the framework is doing with these substitutions.

First Struts 2 matches the URL and substitutes in the result.
Then Tiles 2 is called, matches the definition and substitute the
placeholders in attributes and template.

> If you can clear it up for me and additional code needs to be written, I'd
> be happy to work on modifying the S2 plug-in.

Just as a reminder, for questions about the development of Struts
contact the Struts developers mailing list:
http://struts.apache.org/mail.html

Thanks
Antonio

Reply via email to