You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Bill Keicher (JIRA)" <ad...@incubator.apache.org> on 2006/09/18 16:07:22 UTC

[jira] Created: (ADFFACES-180) CoreRenderKit.createResponseStream() throws UnsupportedOperationException - interferes with Shale Remoting

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

        

[jira] Updated: (ADFFACES-180) CoreRenderKit.createResponseStream() throws UnsupportedOperationException - interferes with Shale Remoting

Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-180?page=all ]

Adam Winer updated ADFFACES-180:
--------------------------------

        Status: Resolved  (was: Patch Available)
    Resolution: Fixed

Checked in patch.  Thanks!

In the future, instead of including patches inline in the bug text, please use the JIRA feature of attaching a patch.

> 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
>         Assigned To: Adam Winer
>            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

        

[jira] Updated: (ADFFACES-180) CoreRenderKit.createResponseStream() throws UnsupportedOperationException - interferes with Shale Remoting

Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/ADFFACES-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf updated ADFFACES-180:
----------------------------------------

        Fix Version/s: 1.0.0-incubating-core
    Affects Version/s: 1.0.0-incubating-core

> CoreRenderKit.createResponseStream() throws UnsupportedOperationException - interferes with Shale Remoting
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: ADFFACES-180
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-180
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>    Affects Versions: 1.0.0-incubating-core
>         Environment: winxp, glassfish/sjas
>            Reporter: Bill Keicher
>         Assigned To: Adam Winer
>            Priority: Minor
>             Fix For: 1.0.0-incubating-core
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ADFFACES-180) CoreRenderKit.createResponseStream() throws UnsupportedOperationException - interferes with Shale Remoting

Posted by "Bill Keicher (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-180?page=all ]

Bill Keicher updated ADFFACES-180:
----------------------------------

    Status: Patch Available  (was: Open)

> 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

        

[jira] Updated: (ADFFACES-180) CoreRenderKit.createResponseStream() throws UnsupportedOperationException - interferes with Shale Remoting

Posted by "Bill Keicher (JIRA)" <ad...@incubator.apache.org>.
     [ 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

        

[jira] Assigned: (ADFFACES-180) CoreRenderKit.createResponseStream() throws UnsupportedOperationException - interferes with Shale Remoting

Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-180?page=all ]

Adam Winer reassigned ADFFACES-180:
-----------------------------------

    Assignee: Adam Winer

> 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
>         Assigned To: Adam Winer
>            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