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=11576>.
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=11576

PATCH: Tiles InsertTag doesn't allow subclassing

           Summary: PATCH: Tiles InsertTag doesn't allow subclassing
           Product: Struts
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Tiles framework
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In the nightly Tiles has exposed all include and forwards to easy subclassing, 
except the InsertTag.  Currently Tiles calls pageContext.include() from a inner 
class.  This make is impossible to do any custom document switching on pages 
included this way.  The TilesRequestProcessor exposes doInclude and doForward 
as easy hooks to override to implement custom document swicthing after the 
Tiles definition has been resolved.  Attached is a proposed patch which adds a 
doInclude() method to the InsertTag so it's now possible to subclass and 
override this single method to acheive custom document switching.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to