[seam-issues] [JBoss JIRA] Commented: (SEAMFACES-15) Warnings should be issued when @Dependent scoped Validators and Converters are registered
Jason Porter (JIRA)
jira-events at lists.jboss.org
Wed Sep 7 01:39:26 EDT 2011
[ https://issues.jboss.org/browse/SEAMFACES-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626663#comment-12626663 ]
Jason Porter commented on SEAMFACES-15:
---------------------------------------
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.
> Warnings should be issued when @Dependent scoped Validators and Converters are registered
> -----------------------------------------------------------------------------------------
>
> Key: SEAMFACES-15
> URL: https://issues.jboss.org/browse/SEAMFACES-15
> Project: Seam Faces
> Issue Type: Feature Request
> Components: CDI Integration
> Affects Versions: 3.0.0.Alpha3
> Reporter: Lincoln Baxter III
> Priority: Minor
> Fix For: 3.1.0.Tracking
>
>
> 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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list