deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Kildén <karl.kil...@gmail.com>
Subject Re: PreViewConfigNavigateEvent only sent when returning Class?
Date Mon, 26 May 2014 12:07:23 GMT
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