myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Werner Punz <werner.p...@gmail.com>
Subject Re: state saving change proposal
Date Fri, 11 Jun 2010 15:16:58 GMT
What about ajax and http get which perse do not post a form in all cases
but can post data back into the lifecycle?

OK,http get is handled, but still there is ajax which can trigger
a  post without a form.



Werner


Am 11.06.10 16:13, schrieb Martin Marinschek:
> Hi Mike,
>
>> 2) do something in the form renderer to indicate that the state needs to be
>> saved, maybe setting a request attribute that can be checked in saveView to
>> determine whether to actually save state or just return null.
>
> I would lean towards option 2 - I donĀ“t see how the saved state would
> be used at all if there is no form on the page - there cannot be a
> postback to it, so this memory is anyways wasted.
>
> best regards,
>
> Martin
>



Mime
View raw message