You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2010/02/03 06:23:18 UTC

[jira] Resolved: (MYFACES-2527) Support for decorator design pattern: RenderKit(s)

     [ https://issues.apache.org/jira/browse/MYFACES-2527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACES-2527.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-beta-2
         Assignee: Leonardo Uribe

Thanks to Martin Koci for the report. 

> Support for decorator design pattern: RenderKit(s)
> --------------------------------------------------
>
>                 Key: MYFACES-2527
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2527
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>            Reporter: Martin Koci
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.0-beta-2
>
>
> Spec. "11.4.6 Delegating Implementation Support" - "The runtime must support the decorator design pattern .. for .. RenderKit". This is especially true for HTML_BASIC, following example should work:
> faces-config.xml
> <render-kit>
>     <render-kit-class>com.foo.render.RenderKitImpl</render-kit-class>
>     <render-kit-id>HTML_BASIC</render-kit-id>
> </render-kit>
> RenderKitImpl:
> class RenderKitImpl extends RenderKit implements FacesWrapper<RenderKit> {
>   public RenderKitImpl(RenderKit wrapped) {
>     super();
>     this.wrapped = wrapped;
>   }
>   // method delegation here ...
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.