myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Marinschek (JIRA)" <...@myfaces.apache.org>
Subject [jira] Closed: (MYFACES-1080) ExtensionFilter writes "NULL" before the end of BODY element
Date Mon, 06 Feb 2006 14:10:04 GMT
     [ http://issues.apache.org/jira/browse/MYFACES-1080?page=all ]
     
Martin Marinschek closed MYFACES-1080:
--------------------------------------


> ExtensionFilter writes "NULL" before the end of  BODY element
> -------------------------------------------------------------
>
>          Key: MYFACES-1080
>          URL: http://issues.apache.org/jira/browse/MYFACES-1080
>      Project: MyFaces
>         Type: Bug
>   Components: Tomahawk (RI Compatability)
>     Versions: Nightly
>  Environment: SUN RI 1.1.01
>     Reporter: Claudio Tasso

>
> When the ExtensionsFilter is installed, the string "null" is added in every generated
page.
> The string "null" is inserted before closing body element tag.
> The cause of the problem is the following code in "org.apache.myfaces.renderkit.html.util.AddResource.writeMyFacesJavascriptBeforeBodyEnd":
> String myFacesJavascript = (String) request.getAttribute("org.apache.myfaces.myFacesJavascript");
>             originalResponse.insert(beforeBodyEndPosition, myFacesJavascript);
> The SUN RI does not put in the request any attribute called "org.apache.myfaces.myFacesJavascript",
so NULL is printed.
> The solution seems to be trivial.

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


Mime
View raw message