Hi Alexandr!
Do you like to use @ViewScoped in a CDI way or JSF way?
Let me explain:
Initially javax.faces.bean.ViewScoped was _not_ a native CDI scope but one from
the JSF container.
(For JSF Managed Beans you would also need the @ManagedBean annotation. For
now I assume that's not what you
hi alexandr,
you can use myfaces-test to mock jsf for your unit-tests + add e.g.
org.apache.deltaspike.testcontrol.impl.jsf.MyFacesContainerAdapter in
META-INF/services/org.apache.deltaspike.testcontrol.spi.ExternalContainer -
see e.g. [1].
however, other scopes like @WindowScoped are easier to t
Hello! I was very sorry, but we have a problem when using Deltaspike. In our
project, we decided to go out on the EJB to CDI, for easier testing. We are
using JSF 2.0 and most beans we javax.faces.bean.ViewScoped. We plugged
deltaspike-test-control-module-api and if you use standard Cdi Scoped