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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to