myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott O'Bryan" <darkar...@gmail.com>
Subject Re: [Faces 1.2] RespStMgr.isPostback()
Date Thu, 19 Oct 2006 20:37:55 GMT
I don't know why it's like this either, but unfortunately the snipit 
defines a very clear behavior.  Breaking this contract will break thew 
1.2 spec.

Scott

Matthias Wessendorf wrote:
> to fast...  :)
>
> my question was, why not as abstract method and let the details to the 
> impl...
>
> and we need to *overhaul* this in htmlResp....
>
> -M
>
> On 10/19/06, Matthias Wessendorf <matzew@apache.org> wrote:
>> does anyone know, why the spec says for RespStateMgr.isPostback()
>>
>>
>> <snip>
>> For backwards compatability with implementations of
>> ResponseStateManager prior to JSF 1.2, a default implementation is
>> provided that consults the ExternalContext's requestParameterMap and
>> return true if its size is greater than 0.
>> </snip>
>>
>> http://foo:port/myapp/random.faces?hack=me
>>
>>
>> I think we need (for myfaces) to override the method in the 
>> htmlRespStMgr..
>> to check against jsf_state || jsf_state_64 || jsf_view_param
>>
>> -M
>>
>> -- 
>> Matthias Wessendorf
>> http://tinyurl.com/fmywh
>>
>> further stuff:
>> blog: http://jroller.com/page/mwessendorf
>> mail: mwessendorf-at-gmail-dot-com
>>
>
>


Mime
View raw message