You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Ariel Falduto (JIRA)" <de...@myfaces.apache.org> on 2006/11/14 20:17:38 UTC
[jira] Commented: (TOMAHAWK-780) DojoInitializer fails on IE
[ http://issues.apache.org/jira/browse/TOMAHAWK-780?page=comments#action_12449736 ]
Ariel Falduto commented on TOMAHAWK-780:
----------------------------------------
sorry the affected version is the 1.1.5-SNAPSHOT
thks !!!
> 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
>
> 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