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. > > 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. > <snip/>
If TilesServlet did something Shale, wouldn't that be quite a mishmash? IIUC, in a faces environment, you would refer to the Tiles "components" (or pages, or templates) not as .jsp, but using the corresponding URL mapped to the FacesServlet. If that is true, wouldn't that trigger the separate ViewControllers just like you want? -Rahul > Hermod > > <snap/> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]