You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Travis Reeder (JIRA)" <de...@myfaces.apache.org> on 2005/10/20 19:05:46 UTC
[jira] Created: (MYFACES-726) AddResource not outputting prototype.js when a comment exists in the page
AddResource not outputting prototype.js when a comment exists in the page
-------------------------------------------------------------------------
Key: MYFACES-726
URL: http://issues.apache.org/jira/browse/MYFACES-726
Project: MyFaces
Type: Bug
Components: Sandbox
Reporter: Travis Reeder
Priority: Minor
I noticed that your autoUpdateDataTable example does not work when there is a comment in the page. When I remove the Apache license comment, it works just fine. That ReducedHTMLParser must not be working correctly. I get this error:
Oct 19, 2005 10:14:14 AM org.apache.myfaces.component.html.util.AddResource writeWithFullHeader
WARNING: Response has no <head> or <body> tag:
Remove the comment and it's fine and it outputs the prototype.js link. I imagine it's from your changes from yesterday.
--
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
[jira] Commented: (MYFACES-726) AddResource not outputting prototype.js when a comment exists in the page
Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-726?page=comments#action_12332676 ]
Martin Marinschek commented on MYFACES-726:
-------------------------------------------
short follow up:
Travis has fixed that by checking for a '<' right in front of the head.
I was commenting on this saying that whitespace would be possible also, so Travis fixed again, but asked if adding whitespace between '<' and tag-name was valid XHTML.
I do think that yes - anybody of a different opinion?
anyway it's better like this, I'd say.
regards,
Martin
> AddResource not outputting prototype.js when a comment exists in the page
> -------------------------------------------------------------------------
>
> Key: MYFACES-726
> URL: http://issues.apache.org/jira/browse/MYFACES-726
> Project: MyFaces
> Type: Bug
> Components: Sandbox
> Reporter: Travis Reeder
> Priority: Minor
>
> I noticed that your autoUpdateDataTable example does not work when there is a comment in the page. When I remove the Apache license comment, it works just fine. That ReducedHTMLParser must not be working correctly. I get this error:
> Oct 19, 2005 10:14:14 AM org.apache.myfaces.component.html.util.AddResource writeWithFullHeader
> WARNING: Response has no <head> or <body> tag:
> Remove the comment and it's fine and it outputs the prototype.js link. I imagine it's from your changes from yesterday.
--
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
[jira] Closed: (MYFACES-726) AddResource not outputting prototype.js when a comment exists in the page
Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-726?page=all ]
Martin Marinschek closed MYFACES-726:
-------------------------------------
Resolution: Fixed
Assign To: Travis Reeder
Travis fixed this for Head, Gerald Müllan for body.
> AddResource not outputting prototype.js when a comment exists in the page
> -------------------------------------------------------------------------
>
> Key: MYFACES-726
> URL: http://issues.apache.org/jira/browse/MYFACES-726
> Project: MyFaces
> Type: Bug
> Components: Sandbox
> Reporter: Travis Reeder
> Assignee: Travis Reeder
> Priority: Minor
>
> I noticed that your autoUpdateDataTable example does not work when there is a comment in the page. When I remove the Apache license comment, it works just fine. That ReducedHTMLParser must not be working correctly. I get this error:
> Oct 19, 2005 10:14:14 AM org.apache.myfaces.component.html.util.AddResource writeWithFullHeader
> WARNING: Response has no <head> or <body> tag:
> Remove the comment and it's fine and it outputs the prototype.js link. I imagine it's from your changes from yesterday.
--
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
[jira] Commented: (MYFACES-726) AddResource not outputting prototype.js when a comment exists in the page
Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-726?page=comments#action_12332677 ]
Martin Marinschek commented on MYFACES-726:
-------------------------------------------
P.S. we should also fix this for body, and for the close tags as well.
probably we should write a small utility function, which does that for any tag name.
regards,
Martin
> AddResource not outputting prototype.js when a comment exists in the page
> -------------------------------------------------------------------------
>
> Key: MYFACES-726
> URL: http://issues.apache.org/jira/browse/MYFACES-726
> Project: MyFaces
> Type: Bug
> Components: Sandbox
> Reporter: Travis Reeder
> Priority: Minor
>
> I noticed that your autoUpdateDataTable example does not work when there is a comment in the page. When I remove the Apache license comment, it works just fine. That ReducedHTMLParser must not be working correctly. I get this error:
> Oct 19, 2005 10:14:14 AM org.apache.myfaces.component.html.util.AddResource writeWithFullHeader
> WARNING: Response has no <head> or <body> tag:
> Remove the comment and it's fine and it outputs the prototype.js link. I imagine it's from your changes from yesterday.
--
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