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

XMLForm: private declaration of class vars in Form severely limits extending with 
subclasses

           Summary: XMLForm: private declaration of class vars in Form
                    severely limits extending with subclasses
           Product: Cocoon 2
           Version: Current CVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general components
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I'd like to subclass Form so that it will build a complete DOM from an empty one
using JXPathContext.createPath and JXPath AbstractFactory. However, the Form
class hides the jxcontext_ vars from subclasses, so that doing so would involve
a significant rewrite & not a simple extension.

This class variable, and perhaps others, should either be declared with default
access or be exposed by protected get/set methods (as is done in
AbstractXMLFormAction ) in order to allow Form to be extended in a reasonable
manner.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to