You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2006/10/09 13:15:15 UTC

[jira] Resolved: (SB-50) Check if controller attributes of tag can be replaced

     [ http://issues.apache.org/struts/browse/SB-50?page=all ]

Antonio Petrelli resolved SB-50.
--------------------------------

    Fix Version/s: 2.0
       Resolution: Won't Fix

During several discussion in the dev list, it has been decided that "controllers" are useful (though maybe under a different name).

Relevant threads:
http://www.mail-archive.com/dev%40struts.apache.org/msg24862.html
http://www.mail-archive.com/dev%40struts.apache.org/msg24890.html

> Check if controller attributes of <tiles:insert> tag can be replaced
> --------------------------------------------------------------------
>
>                 Key: SB-50
>                 URL: http://issues.apache.org/struts/browse/SB-50
>             Project: Sandbox
>          Issue Type: Task
>          Components: Tiles
>    Affects Versions: 2.0
>         Environment: N/A
>            Reporter: Antonio Petrelli
>             Fix For: 2.0
>
>
> During fixing SB-21, the attributes "controllerClass" and "controllerUrl" of InsertTag have been removed.
> To check if they can be replaced in any way, there is the need to write some tests.
> I think that a possible replacement is to use the "template" attribute with the needed URL, e.g. with a servlet mapping that forwards to a JSP layout page.
> Anyway I don't know how to replace controllerClass attribute, though I don't think it is a good choice to specify a class name as an attribute.
> Relevant mailing list thread:
> http://www.mail-archive.com/dev%40struts.apache.org/msg24829.html

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