deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerhard Petracek <gerhard.petra...@gmail.com>
Subject Re: PreViewConfigNavigateEvent only sent when returning Class?
Date Mon, 26 May 2014 14:50:53 GMT
that way you won't get an event, because it's a navigation via http-get.

regards,
gerhard

http://www.irian.at

Your JSF/JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces



2014-05-26 14:07 GMT+02:00 Karl Kildén <karl.kilden@gmail.com>:

> Actually for every request is wrong since that is refresh not navigation. I
> have no opinion between either increasing the scope (and renaming) or
> introducing another event.
>
>
>
>
> On 26 May 2014 13:22, Karl Kildén <karl.kilden@gmail.com> wrote:
>
> > Hi,
> >
> > Primefaces has a programmatic way of creating menus. It is very useful.
> > The problem is outcome is hardcoded as String so I need the following
> > construct:
> >
> >                 item.setOutcome(Index.class.toString());
> >
> > However now it seems to be disconnected from the deltaspike jsf
> navigation
> > management so PreViewConfigNavigateEvent will not be sent.
> >
> > Either I do something else wrong or you must return a class for
> deltaspike
> > to handle the navigation.
> >
> > I have a similar problem with a normal refresh -> the event is not sent.
> I
> > would very much like this event for every request! Kind of how the
> security
> > hook works consistently
> >
> > cheers
> >
> >
> >
>

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