Details

      Description

      The return of the s:debug that never really got completed in Seam 2

      A <s:debug/> tag that can be dropped in a page and you can bring up a display of what's in the context, the active Seam config, perhaps even some performance numbers for the page, security stuff, persistence stuff.

      The ability to add custom facets in this for displaying own data is nice, too.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            lincolnthree Lincoln Baxter III added a comment -

            Sounds good – do you see the feature behaving somewhat like this? https://javaserverfaces.dev.java.net/nonav/docs/2.0/pdldocs/facelets/

            Show
            lincolnthree Lincoln Baxter III added a comment - Sounds good – do you see the feature behaving somewhat like this? https://javaserverfaces.dev.java.net/nonav/docs/2.0/pdldocs/facelets/
            Hide
            dan.j.allen Dan Allen added a comment -

            Please see JBSEAM-987 for various proposals that we received to improve the debug page in Seam 2. This should provide a starting point on how to design this page.

            The idea is that we offer a page similar in spirit to phpinfo() (if you are a PHP developer, you know what I am talking about). Nothing beats helping the developer like giving them loads of information to inspect But it should also be simple on the surface for the day-to-day user.

            Show
            dan.j.allen Dan Allen added a comment - Please see JBSEAM-987 for various proposals that we received to improve the debug page in Seam 2. This should provide a starting point on how to design this page. The idea is that we offer a page similar in spirit to phpinfo() (if you are a PHP developer, you know what I am talking about). Nothing beats helping the developer like giving them loads of information to inspect But it should also be simple on the surface for the day-to-day user.
            Hide
            dan.j.allen Dan Allen added a comment -

            JBSEAM-3458 is the issue that has the actual mockup.

            Show
            dan.j.allen Dan Allen added a comment - JBSEAM-3458 is the issue that has the actual mockup.
            Hide
            dan.j.allen Dan Allen added a comment -

            Linking to a request to control log levels on debug page, JBSEAM-655.

            Given how many possibilities there are here, I'm seeing the need for a separate component in JIRA to track debug information screens.

            Show
            dan.j.allen Dan Allen added a comment - Linking to a request to control log levels on debug page, JBSEAM-655 . Given how many possibilities there are here, I'm seeing the need for a separate component in JIRA to track debug information screens.
            Hide
            clerum Cody Lerum added a comment -
            Show
            clerum Cody Lerum added a comment - Discussed on IRC - http://echelog.matzon.dk/logs/browse/seam-dev/1313013600
            Hide
            bleathem Brian Leathem added a comment -

            To display the list of all active beans:

            1. create a CDI extension that stores all the javax.enterprise.inject.spi.Bean of all @Named classes.
              • This is done with the method:
              • public <T> void processAnnotatedType(@Observes ProcessAnnotatedType<T> event) {
            2. at render time, loop through all the Beans, and determine which are currently active
              • Object o = beanManager.getContext(bean.getScope()).get(bean)
              • o is null if there are no active instances
            Show
            bleathem Brian Leathem added a comment - To display the list of all active beans: create a CDI extension that stores all the javax.enterprise.inject.spi.Bean of all @Named classes. This is done with the method: public <T> void processAnnotatedType(@Observes ProcessAnnotatedType<T> event) { at render time, loop through all the Beans, and determine which are currently active Object o = beanManager.getContext(bean.getScope()).get(bean) o is null if there are no active instances

              People

              • Assignee:
                Unassigned
                Reporter:
                nickarls Nicklas Karlsson
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Development