On 11/16/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> There is one thing that has struck me while I have been working with Shale
> lately: The ViewController is URI (page) based.


That's true, but remember that each Tile is ultimately represented by a JSP
page as well ... and therefore each Tile can be associated with its own
ViewController. The <s:subview> tag around <tiles:insert> is what provides
this service.

What I mean by this is that if you have a Tiles based page composition, it
> would perhaps be more natural to have it based on the individual .jsp's
> instead. A typical use-case is that since Tiles promotes component (read
> .jsp) reuse, chances are that you might include the same .jsp in more than
> one "page". The way it now works, you would most likely would have to
> duplicate code from the ViewController for "page1" into the ViewController
> for "page2". I was wondering if the TilesServlet somehow could initiate
> separate ViewController's for the various .jsp's.


Actually, the only role for TilesServlet is to initialize the configuration
information ... it does not actually process any requests.


Hermod
>
>
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> *
>
> This email with attachments is solely for the use of the individual or
> entity to whom it is addressed. Please also be aware that the DnB NOR
> Group
> cannot accept any payment orders or other legally binding correspondence
> with
> customers as a part of an email.
>
> This email message has been virus checked by the virus programs used
> in the DnB NOR Group.
>
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> *
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to