Re: Prioritize header items in html templates

2013-03-21 Thread Guillaume Smet
On Wed, Mar 20, 2013 at 11:48 PM, Guillaume Smet wrote: > On Wed, Mar 20, 2013 at 12:58 PM, Martin Grigorov > wrote: >> Another user asked the same question so I added it to my demo app: >> https://github.com/martin-g/blogs/commit/d5a248a3a3d5369c9cdc66604eba384428e9d0a0 FWIW, the following doe

Re: Prioritize header items in html templates

2013-03-20 Thread Guillaume Smet
On Wed, Mar 20, 2013 at 12:58 PM, Martin Grigorov wrote: > Another user asked the same question so I added it to my demo app: > https://github.com/martin-g/blogs/commit/d5a248a3a3d5369c9cdc66604eba384428e9d0a0 Thanks Martin. Very helpful. -- Guillaume -

Re: Prioritize header items in html templates

2013-03-20 Thread Martin Grigorov
Another user asked the same question so I added it to my demo app: https://github.com/martin-g/blogs/commit/d5a248a3a3d5369c9cdc66604eba384428e9d0a0 On Tue, Mar 19, 2013 at 9:31 PM, Martin Grigorov wrote: > Actually I think it is possible to have them on the top. > All "entries" from are handle

Re: Prioritize header items in html templates

2013-03-19 Thread Martin Grigorov
Actually I think it is possible to have them on the top. All "entries" from are handled by PageHeaderItem at runtime. So you can use custom FilteringHeaderResponse that lifts PageHeaderItem to PriorityHeaderItem. On Tue, Mar 19, 2013 at 7:42 PM, Guillaume Smet wrote: > Hi, > > On Tue, Mar 19, 2

Re: Prioritize header items in html templates

2013-03-19 Thread Guillaume Smet
Hi, On Tue, Mar 19, 2013 at 2:07 PM, Martin Grigorov wrote: > You can use StringHeaderItem.forString("") and wrap it in > PriotityHeaderItem/FilterHeaderItem if needed. We had the same question. Starting with Wicket 6, and so on are lost in the resources lines. It was quite nice to have them on

Re: Prioritize header items in html templates

2013-03-19 Thread Martin Grigorov
You can use StringHeaderItem.forString("") and wrap it in PriotityHeaderItem/FilterHeaderItem if needed. On Tue, Mar 19, 2013 at 3:03 PM, Pointbreak wrote: > The Java based header contributions are for css, and javascript mostly. > Is there a practical way to get title, meta, and other 'special'

Re: Prioritize header items in html templates

2013-03-19 Thread Pointbreak
The Java based header contributions are for css, and javascript mostly. Is there a practical way to get title, meta, and other 'special' tags appear before contributed headeritems in the head then? On Tue, Mar 19, 2013, at 13:48, Martin Grigorov wrote: > Hi, > > I think this is not possible. > i

Re: Prioritize header items in html templates

2013-03-19 Thread Martin Grigorov
Hi, I think this is not possible. is just a convenience. The full power is in the Java based header contributors. On Tue, Mar 19, 2013 at 2:42 PM, Pointbreak wrote: > Is there a way (in Wicket 6) to prioritize items in wicket:head/head > elements to get them inside the head of the final page b