myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerhard Petracek <gerhard.petra...@gmail.com>
Subject Re: @ViewAccessScoped does not work!
Date Sun, 06 Nov 2011 11:41:21 GMT
hi victor,

that doesn't work due to an issue with the latest versions of weld.
i'll add details about it to the wiki.

regards,
gerhard

http://www.irian.at

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

Professional Support for Apache MyFaces



2011/11/6 Victor Lindberg <grebdnnil@hotmail.com>
>
> Hi Gerhard,
>
> Thanks for help me.
>
> I´m trying to use server-side window handler but does not work yet. I did
> declare ServerSideWindowHandler class into my beans.xml using
> '<alternatives>', however does not work. Something is missing?
>
> Thanks, Lindberg
>
>
> Gerhard Petracek wrote:
> >
> > hi victor,
> >
> > i'm not using pretty-faces, however, in the end it's just a normal url
> > parameter which has to be mapped. it's the same with the cid parameter
> > used
> > by std. cdi conversations or any other similar id used by other
> > frameworks,
> > component libs,... please ask the pretty-faces community for more
> > information.
> > if it's a limitation of pretty-faces, you can use the server-side window
> > handler which doesn't use this parameter.
> >
> > regards,
> > gerhard
> >
> > http://www.irian.at
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
> >
> >
> > 2011/11/5 Victor Lindberg <grebdnnil@hotmail.com>
> >>
> >> Sorry for all repeated messages. I did have a problem on my browser.
> >>
> >>
> >> Victor Lindberg wrote:
> >> >
> >> > How can i do that?
> >> >
> >> > <url-mapping id="pageB2">
> >> >       <pattern value="/pageB/#{windowId}" />
> >> > <view-id value="/pages/B.jsf" />
> >> > </url-mapping>
> >> >
> >> > OR
> >> >
> >> > <url-mapping id="pageB3">
> >> >               <pattern value="/pageB" />
> >> >               <view-id value="/pages/B.jsf#{windowId}" />
> >> > </url-mapping>
> >> >
> >> > DOES NOT WORKS!
> >> >
> >> >
> >> > Gerhard Petracek wrote:
> >> >>
> >> >> hi,
> >> >>
> >> >> you have to map the window-id parameter in your prettyfaces config
or
> > you
> >> >> use the server-side window-handler (which doesn't support e.g.
> >> >> page-refreshes).
> >> >>
> >> >> regards,
> >> >> gerhard
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> > http://old.nabble.com/%40ViewAccessScoped-does-not-work%21-tp32782652p32786379.html
> >> Sent from the My Faces - Dev mailing list archive at Nabble.com.
> >>
> >
> >
>
> --
> View this message in context: http://old.nabble.com/%40ViewAccessScoped-does-not-work%21-tp32782652p32788680.html
> Sent from the My Faces - Dev mailing list archive at Nabble.com.
>

Mime
View raw message