Quantcast

Does [Parent|Child]HeaderRenderStrategy work with <wicket:head> tag?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Does [Parent|Child]HeaderRenderStrategy work with <wicket:head> tag?

TH Lim
I am using Wicket 1.5.x with <wicket:head> tag. I tried rendering the child component (Wicket Panel) CSS / JS 1st then followed by the parent. It didn't work. It always renders the parent (Wicket WebPage) JS 1st. I used -DWicket_HeaderRenderStrategy=org.apache.wicket.markup.renderStrategy.ChildFirstHeaderRenderStrategy or ParentFirstHeaderRenderStrategy and it rendered the same HTML output. Do these header renderers strategy works with <wicket:head> tag at all?

Thanks
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Does [Parent|Child]HeaderRenderStrategy work with <wicket:head> tag?

Martin Grigorov-4
Hi,

Please file a ticket with a quickstart to debug what is happening.
I'm almost sure that the reason is the fact that a IMarkupFilter
handles <wicket:head> and this is handled earlier than the header
render phase but let's see what can be done.

On Wed, Nov 16, 2011 at 5:07 AM, TH Lim <[hidden email]> wrote:

> I am using Wicket 1.5.x with <wicket:head> tag. I tried rendering the child
> component (Wicket Panel) CSS / JS 1st then followed by the parent. It didn't
> work. It always renders the parent (Wicket WebPage) JS 1st. I used
> -DWicket_HeaderRenderStrategy=org.apache.wicket.markup.renderStrategy.ChildFirstHeaderRenderStrategy
> or ParentFirstHeaderRenderStrategy and it rendered the same HTML output. Do
> these header renderers strategy works with <wicket:head> tag at all?
>
> Thanks
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Does-Parent-Child-HeaderRenderStrategy-work-with-wicket-head-tag-tp4075161p4075161.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>



--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Does [Parent|Child]HeaderRenderStrategy work with <wicket:head> tag?

TH Lim
This post was updated on .
Loading...