MyFaces CODI
  1. MyFaces CODI
  2. EXTCDI-150

ViewConfigResolver - resolving view-configs via an api

    Details

      Description

      currently it's required to use ViewConfigCache directly for manually using information about a view-config.

      it should be possible to use it e.g. like:

      @Inject
      private ViewConfigResolver viewConfigResolver;

      //...
      this.viewConfigResolver.getViewConfig(MyPage.class).getViewId();

      therefore we have to move (and rename) some methods of ViewConfigEntry and PageBeanConfigEntry to the api package

        Activity

        Gerhard Petracek made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Gerhard Petracek made changes -
        Fix Version/s 0.9.4 [ 12316230 ]
        Gerhard Petracek made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Gerhard Petracek made changes -
        Description currently it's required to use ViewConfigCache directly for manually using information about a view-config.

        it should be possible to use it e.g. like:

        @Inject
        private ViewConfigResolver viewConfigResolver;

        //...
        this.viewConfigResolver.getViewConfigDescriptor(MyPage.class).getViewId();

        therefore we have to move (and rename) some methods of ViewConfigEntry and PageBeanConfigEntry to the api package
        currently it's required to use ViewConfigCache directly for manually using information about a view-config.

        it should be possible to use it e.g. like:

        @Inject
        private ViewConfigResolver viewConfigResolver;

        //...
        this.viewConfigResolver.getViewConfig(MyPage.class).getViewId();

        therefore we have to move (and rename) some methods of ViewConfigEntry and PageBeanConfigEntry to the api package
        Gerhard Petracek made changes -
        Field Original Value New Value
        Description currently it's required to use ViewConfigCache directly for manually using information about a view-config.

        it should be possible to use it e.g. like:

        @Inject
        private ViewConfigResolver viewConfigResolver;

        //...
        this.viewConfigResolver.getViewDescriptor(MyPage.class).getViewId();

        therefore we have to move (and rename) some methods of ViewConfigEntry and PageBeanConfigEntry to the api package
        currently it's required to use ViewConfigCache directly for manually using information about a view-config.

        it should be possible to use it e.g. like:

        @Inject
        private ViewConfigResolver viewConfigResolver;

        //...
        this.viewConfigResolver.getViewConfigDescriptor(MyPage.class).getViewId();

        therefore we have to move (and rename) some methods of ViewConfigEntry and PageBeanConfigEntry to the api package
        Gerhard Petracek created issue -

          People

          • Assignee:
            Gerhard Petracek
            Reporter:
            Gerhard Petracek
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development