You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org> on 2006/02/06 15:10:04 UTC
[jira] Closed: (MYFACES-1080) ExtensionFilter writes "NULL" before
the end of BODY element
[ 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