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

2011-11-17 Thread TH Lim
Bug posted

https://issues.apache.org/jira/browse/WICKET-4235

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Does-Parent-Child-HeaderRenderStrategy-work-with-wicket-head-tag-tp4075161p4079254.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



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

2011-11-15 Thread 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

--
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: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



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

2011-11-15 Thread Martin Grigorov
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 ssh...@gmail.com 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: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





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

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org