deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Kernstock <>
Subject Codi -> Deltaspike
Date Tue, 09 Aug 2016 16:58:18 GMT
Hello everybody,

I'm new to this group so I hope it is OK to ask a question here:

Until now I used JEE6 and CODI which worked fine. Now I migrated to JEE7 and Deltaspike which
went fine so far. I only have one problem that I couldn't find in docs and examples in the
internet regarding ViewConfigs.

1) In Codi I had multiple Controller classes for one view:

       public final class PageXY implements Page1 {}

I couldn't find a way to define that with Deltaspike because @ViewControllerRef is not repeatable.
And @ViewRef in the controller class is non repeatable too.
       // @ViewControllerRef(BeanPage2.class)
       // @ViewControllerRef(BeanPage3.class)
       public final class PageXY implements Page1 {}
Is there a way to to that in Deltaspike?
2) In my project I use Viewconfigs like this:
@View(navigation = NavigationMode.REDIRECT)
public class Application implements ViewConfig {}
public class ApplicationPage implements Serializable{
       public void initView(){

When I use it that way, initView() is never called. When I annotate the Controller with @ViewRef(config=Application.class)
and remove the @ViewControllerRef from the ViewConfig everything works as planned.

Is this a bug or am I doing something wrong?
3) my environment:

*         Payara Server

*         Deltaspike 1.6.0

*         MyFaces ExtVal 2.0.8

*         Primefaces 6.0

*         Bootsfaces 0.8.6

*         Eclipse Mars
best regards

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message