myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yuan Gao <yuan....@oracle.com>
Subject Re: propose a new utility API in PartialPageUtils to complate the response
Date Mon, 14 Mar 2011 07:10:00 GMT
  hi, Andy,

I like your comments. As for the names, how about 
renderNoopAndCompleteResponse()?

Thanks,
-Yuan

On 3/13/2011 7:48 AM, Andy Schwartz wrote:
> Hi Bernd -
>
> I am a bit hesitant about the names as well.  Three possible options:
>
> 1. completeNoopResponse()/completeScriptResponse()/completeRedirectResponse().
> 2. renderNoopResponse()/renderScriptResponse()/renderRedirectResponse().
> 3. sendNoopResponse()/sendScriptResponse()/sendRedirectResponse().
>
> Think #2 and #3 read better than #1.  If we go with #2 or #3 we would
> make it clear that these complete the response by documenting that
> FaceContext.responseComplete() is called.
>
> Andy

Mime
View raw message