Yes, that should work. Of course it also hardwires the page navigation into
the source code, but I guess I'll have to live with that.

Thanks,

Steven Gollery


Simon Kitching-3 wrote:
> 
> Hi Steven,
> 
> I believe you can bypass navigation rules by doing this in an action
> method:
>   facesContext.getExternalContext.().redirect(url);
> 
> As thr documentation for this method states, this calls
>   facesContext.responseComplete();
> which will prevent later stuff like navigation rules from processing.
> 
> Regards,
> 
> Simon
> 
> Steven Gollery wrote:
>> "...send a redirect to the current page, replacing https with http...."
>>
>> Exactly what I don't see how to do. Is there some way to set the protocol
>> in
>> a navigation-rule? Or is there another way to do a redirect in JSF?
>>
>> Steven Gollery
>>
>>
>>
>> Andrew Robinson-5 wrote:
>>   
>>> If you don't care about remembering the user, then just use the
>>> sandbox form control. It allows you to set the protocol for a form
>>> post. Otherwise, if you are already on the server, send a redirect to
>>> the current page, replacing https with http.
>>>
>>> On 11/8/06, Steven Gollery <[EMAIL PROTECTED]> wrote:
>>>     
> 
-- 
View this message in context: 
http://www.nabble.com/leaving-https-tf2570694.html#a7246920
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to