myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Byrne (JIRA)" <...@myfaces.apache.org>
Subject [jira] Resolved: (MYFACES-1080) ExtensionFilter writes "NULL" before the end of BODY element
Date Tue, 31 Jan 2006 20:53:33 GMT
     [ 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


Mime
View raw message