cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 8639] New: - Implementations of org.apache.cocoon.components.url cannot be Parameterizable
Date Tue, 30 Apr 2002 07:03:06 GMT
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=8639>.
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=8639

Implementations of org.apache.cocoon.components.url cannot be Parameterizable

           Summary: Implementations of org.apache.cocoon.components.url
                    cannot be Parameterizable
           Product: Cocoon 2
           Version: 2.0.2
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: general components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: jal@argo-tec.de


When implementing an URLFactory it is expected to support the same behavior as 
any other components in Cocoon. The foundation for this behavior is laid out in 
the Avalon compontents framework. One possible feature is to make a component 
be Parameterizable, i.e. in the coocon.xconf you can add a an XML child element 
in the form of "<parameter name='foo' value='bar'>". The compontent itself can 
implement the Parameterizable interface and provide a method that will 
autmoatically called with the above parameters as argument. This is, however, 
not true for implementations of URLFactory. It seems that the standard Avalon 
behavior is only "emulated". You can overcome this by implementing the 
Canfigurable interface, but for consitency and convinience it would be 
desirable to be able to implement the Parameterizable interface as well.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message