You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Wendy Smoak (JIRA)" <ji...@apache.org> on 2006/10/05 16:07:16 UTC

[jira] Commented: (SB-21) Determine which tag attributes should be removed

    [ http://issues.apache.org/struts/browse/SB-21?page=comments#action_38330 ] 
            
Wendy Smoak commented on SB-21:
-------------------------------

In http://www.nabble.com/-tiles2--GetTag-vs.-InsertTag-t2381916.html#a6658837
Cedric writes:

   * 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.

I think templage was retained because the comments seemed to indicate that was the preferred one.  The comments for page and component said "same as template".

I actually like the idea of changing it to 'tile'.  (To me a 'page' is the entire composition, not a piece of it.)

> Determine which tag attributes should be removed
> ------------------------------------------------
>
>                 Key: SB-21
>                 URL: http://issues.apache.org/struts/browse/SB-21
>             Project: Sandbox
>          Issue Type: Improvement
>          Components: Tiles
>            Reporter: Wendy Smoak
>             Fix For: 2.0
>
>
> According to the documentation, the 'page', 'template',and 'component' attributes all mean the same thing.  
>  * http://struts.apache.org/struts-action/struts-tiles/tlddoc/tiles/insert.html
> Earlier discussion seemed to indicate the intent to simplify the tags and keep only one of these three for Standalone Tiles.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira