Uploaded image for project: 'Seam Faces'
  1. Seam Faces
  2. SEAMFACES-15

Warnings should be issued when @Dependent scoped Validators and Converters are registered

    Details

      Description

      When users attempt to register a Faces Converter and use @Inject support without registering the converter in a normal @Scope (Request, Session, Flash, Application, Etc...) Seam Faces should print a warning at boot time using:

      ProcessBean extension – check for Converter/Validator interfaces and warn if @Dependent or isNormalScope() == false.

        Gliffy Diagrams

          Activity

          Hide
          lightguard Jason Porter added a comment -

          Why don't we just register them as @RequestScoped at deploy time if they're dependent? If that's what we're already doing, then it makes sense to log a warning.

          Show
          lightguard Jason Porter added a comment - Why don't we just register them as @RequestScoped at deploy time if they're dependent? If that's what we're already doing, then it makes sense to log a warning.

            People

            • Assignee:
              shane.bryzak Shane Bryzak
              Reporter:
              lincolnthree Lincoln Baxter III
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development