You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Dennis Byrne (JIRA)" <de...@myfaces.apache.org> on 2006/01/31 21:53:33 UTC

[jira] Resolved: (MYFACES-1080) ExtensionFilter writes "NULL" before the end of BODY element

     [ http://issues.apache.org/jira/browse/MYFACES-1080?page=all ]
     
Dennis Byrne resolved MYFACES-1080:
-----------------------------------

    Resolution: Duplicate

https://issues.apache.org/jira/browse/MYFACES-1079

Thanks, but I believe this problem has already been reported.

> 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