MyFaces Core
  1. MyFaces Core
  2. MYFACES-2527

Support for decorator design pattern: RenderKit(s)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-beta-2
    • Component/s: JSR-314
    • Labels:
      None

      Description

      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 ...
      }

        Activity

        Leonardo Uribe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Leonardo Uribe made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Leonardo Uribe [ lu4242 ]
        Fix Version/s 2.0.0-beta-2 [ 12314539 ]
        Resolution Fixed [ 1 ]
        Martin Kočí created issue -

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            Martin Kočí
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development