myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Victor Lindberg <grebdn...@hotmail.com>
Subject Re: @ViewAccessScoped does not work!
Date Mon, 07 Nov 2011 14:21:42 GMT

Gerhard, can you help me?

I am using ServerSideWindowHandler and does not work yet. I declared
ServerSideWindowHandler in my beans.xml using <alternatives> but does not
work. Can you help me?

Thanks.


Victor Lindberg wrote:
> 
> Hi Gerhard, 
> 
> Thanks for help me.
> 
> I´m trying to use server-side window handler but does not work yet. I
> declared 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-tp32782652p32788727.html
Sent from the My Faces - Dev mailing list archive at Nabble.com.


Mime
View raw message