You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juergen Donnerstag (JIRA)" <ji...@apache.org> on 2007/12/01 09:50:43 UTC

[jira] Commented: (WICKET-1105) Missing javascript header referencies when there are no body or head tags.

    [ https://issues.apache.org/jira/browse/WICKET-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547398 ] 

Juergen Donnerstag commented on WICKET-1105:
--------------------------------------------

in WebPage.afterRender() we remove HeaderContainers from the component hierarchy. I extended that code in a way that if no HeaderContainer was found and we are in development mode than a HeaderContainer is created, added to the page and executed. The result is what would have been rendered and if that is more than nothing than we log and error. For know is just a log and no exception.

I keep this issue open for a few more days to watch it

> Missing javascript header referencies when there are no body or head tags.
> --------------------------------------------------------------------------
>
>                 Key: WICKET-1105
>                 URL: https://issues.apache.org/jira/browse/WICKET-1105
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>         Environment: wicket trunk revision 588784
> JDK 1.5.0_13-b05
> Maven version: 2.0.7
>            Reporter: Michal Capo
>            Assignee: Juergen Donnerstag
>             Fix For: 1.3.0-rc2
>
>         Attachments: wicket-portlets-test.zip
>
>
> I have two wicket portlets using RatingPanel they are almost same. There is one difference in the markup.
> First:
> <head>
> 	<link rel="stylesheet" type="text/css" href="style.css"/>
> </head>
> <html>
> 	<span wicket:id="rating"></span>
> </html>
> Second:
> <html>
> 	<span wicket:id="rating"></span>
> </html>
> In first one is request executed via ajax. In second one not. In first one rendered page contains reference to 'wicket-ajax.js' file but in the second not.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.