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

Johan Compagner reassigned WICKET-1105:
---------------------------------------

    Assignee: Juergen Donnerstag  (was: Johan Compagner)

juergen, this is more your area i think, but can you look at this one or give 
me a pointer where to look?
We make with the HtmlHeaderSectionHandler that does the parsign and inserts a 
special tag if it find the body..
So this is sometimes not possible because there is no body. Then we need to 
throw an exception if somehow we 
want to contribute to that. But on which place exactly is an header container 
created (where we test on the special tag that got inserted)
i see the HtmlHeaderResolver but thats just testing specific tags so we can't 
do it there either.

So what could be the place to test if there is a HtmlHeaderContainer added to a 
page? it can't be onBeforeRender of the page becaus then the html header is not 
resolved yet right? So is it only possible after the render? test did we make a 
HtmlHeaderContainer yes or no? But then we don't know if we really needed it... 
But i guess thats not a problem. 

Normally all pages should have a html header container right (after render)

> Missing javascript header referencies in Wicket portlet
> -------------------------------------------------------
>
>                 Key: WICKET-1105
>                 URL: https://issues.apache.org/jira/browse/WICKET-1105
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-portlet
>         Environment: wicket trunk revision 588784
> JDK 1.5.0_13-b05
> Maven version: 2.0.7
>            Reporter: Michal Capo
>            Assignee: Juergen Donnerstag
>         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.

Reply via email to