myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Punz (JIRA)" <>
Subject [jira] Commented: (MYFACES-1989) Implement JSF 2.0 logic at TODO #48
Date Wed, 19 Nov 2008 17:09:44 GMT


Werner Punz commented on MYFACES-1989:

After digging through the APIs the cleanest way probably is simply
to wrap the response in the facesContext, and to make the response outout streams
and writers switachable.

A quick glance at the RI also revealed that this is the way to go.
That way everything trying to get to the output via the response object
gets the switchable delegate.

If we implement this in ServletExternalContextImpl we would have to rely on an implementation
because the getWriter is only implemented in the response not in the ExternalContext.
and also calls to the external context would not be able to rely on getting the switchable

In the end the API in the spec probably has a minor hole here, but I am not sure totally.

I will commit the changes on friday!

> Implement JSF 2.0 logic at TODO #48
> -----------------------------------
>                 Key: MYFACES-1989
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Task
>          Components: JSR-314
>    Affects Versions: 2.0.0-alpha
>            Reporter: Simon Lessard
>            Assignee: Werner Punz
>            Priority: Minor
> In class: javax.faces.context.FacesContext
> Implement: public void enableResponseWriting(boolean enable)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message