Warn in the Parameter when uploading the application

0

I made an application using the Demoiselle 2.4.2 JSF + JPA archetype with various view classes that extend from AbstractEditPageBean . In some I have added a parameter, as in this example:

@ViewController
public class ContratoEstagioInstituicaoEditMB extends AbstractEditPageBean<...

@Inject
@ViewScoped
@Name("c")
private Parameter<String> contratoParametro;

When the application goes up, the alert appears in the console:

6188 WARN  org.jboss.weld.Bootstrap - WELD-001440 Scope type @br.gov.frameworkdemoiselle.annotation.ViewScoped() used on injection point [field] @Inject @Name @ViewScoped private br.com.teste.myApp.view.ContratoEstagioInstituicaoEditMB.contratoParametro

Should I worry about this? Am I doing something wrong?

Thank you

Fernando

    
asked by anonymous 16.10.2015 / 14:41

1 answer

0

Usually @ViewScoped is used in the Managed Bean and not in its parameters.

The alert is just about that.

    
16.10.2015 / 14:44