You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Werner Punz (JIRA)" <de...@myfaces.apache.org> on 2006/11/17 16:02:38 UTC

[jira] Resolved: (TOMAHAWK-780) DojoInitializer fails on IE

     [ http://issues.apache.org/jira/browse/TOMAHAWK-780?page=all ]

Werner Punz resolved TOMAHAWK-780.
----------------------------------

    Resolution: Fixed

I am setting this issue to resolved now since ariel does not answer, but I am not quite sure if the missing content length was the entire problem, Sylvain upgraded to 0.4 recently without upfront notification and I had issues with ie under a certain condition with the dojo 0.4 release.

But since ariels problem was not reproducable here, I am leaving this as is, because my dojo 0.4problem is very seldom and no other case of this issue has been reported on the dojo mailing list so far!


> DojoInitializer fails on IE
> ---------------------------
>
>                 Key: TOMAHAWK-780
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-780
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>            Reporter: Ariel Falduto
>         Assigned To: Mario Ivankovits
>
> DojoInitializer fails on explorer when tries to load the dojo.js .... if i look the servlet response of dojo.js file thats not fully writed in the response ... but in firefox works right.
> im debuggin currently this method placed on MyFacesResourceLoader ...
>     /**
>      * Copy the content of the specified input stream to the servlet response.
>      */
>     protected void writeResource(HttpServletRequest request, HttpServletResponse response,
>             InputStream in) throws IOException
>     {
>         ServletOutputStream out = response.getOutputStream();
>         try
>         {
>             byte[] buffer = new byte[1024];
>             for (int size = in.read(buffer); size != -1; size = in.read(buffer))
>             {
>                 out.write(buffer, 0, size);
>             }
>         }
>         finally
>         {
>             out.close();
>         }
>     }
> and its look fine.... cos' in firefox works ... :P

-- 
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