[ http://issues.apache.org/jira/browse/ADFFACES-180?page=all ]
Bill Keicher updated ADFFACES-180:
----------------------------------
Replacing CoreRenderKit.createResponseStream() with the JSF 1.1 implementation
*seems* to fix things.
>>>>>>>>>>>>>>
@Override
public ResponseStream createResponseStream(OutputStream out)
{
// =-=AEW What to do here???
throw new UnsupportedOperationException();
}
<<<<<<<<<<<<<<
@Override
public ResponseStream createResponseStream(OutputStream out)
{
// =-=AEW What to do here???
//this needs to be fixed for shale-remoting
final OutputStream output = out;
return new ResponseStream() {
public void write(int b) throws IOException {
output.write(b);
}
public void write(byte b[]) throws IOException {
output.write(b);
}
public void write(byte b[], int off, int len) throws IOException
{
output.write(b, off, len);
}
public void flush() throws IOException {
output.flush();
}
public void close() throws IOException {
output.close();
}
};
}
> CoreRenderKit.createResponseStream() throws UnsupportedOperationException -
> interferes with Shale Remoting
> ----------------------------------------------------------------------------------------------------------
>
> Key: ADFFACES-180
> URL: http://issues.apache.org/jira/browse/ADFFACES-180
> Project: MyFaces ADF-Faces
> Issue Type: Bug
> Environment: winxp, glassfish/sjas
> Reporter: Bill Keicher
> Priority: Minor
>
> I have a project which is using both trinidad and blueprints components. The
> blueprints components rely upon shale remoting to serve static resources like
> javascript files and images. If I place a blueprints component within a
> trinidad component, I get an UnsupportedOperationException from
> org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit.createResponseStream().
> This seems to be caused by shale trying to serve a resource using a response
> stream from the CoreRenderKit.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira