On 10/5/06, Cedric Dumoulin <[EMAIL PROTECTED]> wrote:
* <get> was changed to <insert> - because we mainly say that we want to insert something
I _think_ that discussion leaned towards keeping 'insert'.
* Attributes "template=" and "component=" were changed to "page=" - because we specify the page to insert. Tiles is more than a templating mechanism, and the inserted page is not necessary a template :-). Maybe we can use "tile=" now that tile is a very well established name.
This is http://issues.apache.org/struts/browse/SB-21 . I like the idea of switching to 'tile'. The original comments seemed to indicate that 'template' was the preferred one. I would have picked 'component'. (To me 'page' is the entire composition, not a piece of it.) How does this affect the DTD, which has template, path and page? I end up horribly confused every time I try to make the TLD and the DTD match up. The DTD changes are on SB-30: http://issues.apache.org/struts/browse/SB-30
* The controllers were added to allows stand alone use of tiles to be able to do some kind of computation associated to the tiles. When used with Struts, there is a redundancy (with the use of actions), but when used alone, the controller mechanism is very useful to separate view rendering from controller business
I opened SB-52 for this. http://issues.apache.org/struts/browse/SB-52
It is true that Tiles2 gives us the opportunity to remove all the redundancies, but we have to take care to not fall again into the previous mistakes :-) Once again, that my feeling after reading some of the mails, and maybe I have missed something in the discussions.
Thanks for speaking up! It helps to have someone who knows the history of why certain decisions were made. :) -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]