You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/07/11 15:25:27 UTC

DO NOT REPLY [Bug 21508] New: - tile definition's menu item subclassing does not allow property setters

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21508>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21508

tile definition's menu item subclassing does not allow property setters

           Summary: tile definition's menu item subclassing does not allow
                    property setters
           Product: Struts
           Version: 1.1 Final
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Tiles framework
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: jdanilewicz@mareon.com.pl


In the Tiles configuration XML files it does not make sense to use subclassing 
like below:

<item [...] classtype="com...MenuItemSubclass"/>

It is just because you cannot put the <setProperty [...]/> tag within the 
item's body. Neither the standard DTD allows doing that nor Digester processes 
it.

In my opinion it is against the overall Struts configuration philosophy. 
Moreover, I cannot even tell what may actually be the other usage 
for 'classtype' attribute here.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org