Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3785

RendererWrapper logic (@ListenerFor and @ResourceDependency)

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-beta
    • Component/s: JSR-344
    • Labels:
      None

      Description

      This issue was included in the spec as:

      https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1109

      But it is more difficult than just implement one wrapper class. The reason is @ListenerFor and @ResourceDependency annotations could be used in the base class and in the wrapper.

      In this part we need to update MyFaces implementation to check for RendererWrapper in the places where we need to scan for annotations.

      I can remember some problems with renderer wrappers in extval and other libraries, and the inclusion of RendererWrapper aims to solve all these troubles, saying "all wrappers now must implement RendererWrapper class, and you can walkthrough the hierarchy of objects using getWrapped() method".

        Attachments

          Activity

            People

            • Assignee:
              lu4242 Leonardo Uribe
              Reporter:
              lu4242 Leonardo Uribe
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: