You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2002/10/12 01:31:26 UTC
DO NOT REPLY [Bug 13559] New: -
XMLForm: private declaration of class vars in Form severely limits extending with subclasses
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: cocoon-dev@xml.apache.org
ReportedBy: parrott@fas.harvard.edu
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: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org