Hi,

In Wicket 1.5 there is IHeaderRenderStrategy.
org.apache.wicket.markup.renderStrategy.AbstractHeaderRenderStrategy uses
system property "Wicket_HeaderRenderStrategy" to select the actual strategy.
E.g. :
-DWicket_HeaderRenderStrategy=org.apache.wicket.markup.renderStrategy.ParentFirstHeaderRenderStrategy

1.5 by default
uses org.apache.wicket.markup.renderStrategy.ChildFirstHeaderRenderStrategy

See https://issues.apache.org/jira/browse/WICKET-2693 for more info.

On Wed, Mar 2, 2011 at 5:25 PM, Hans Lesmeister 2 <
hans.lesmeis...@lessy-software.de> wrote:

>
> Ernesto Reinaldo Barreiro-4 wrote:
> >
> > Is that really a stopper?
> >
>
> Well, that depends on the demands of the OP. IE6 is still used in many big
> companies (and because IE6 is buggy concerning !important, it can be
> (mis)used for nice CSS-hacks)
>
> But what if the !important-directive is already used somewhere and the user
> wants to override it? The result will be unpredictable:
>
>
> file1.css:
>  width: 200px; !important;
>
> userfile.css:
>  width: 150px; !important;
>
> file2.css
>  width: 100px;
>
> What will be the result? And what happens if the order changes?
>
>
>
>
> -----
> --
> Regards,
> Hans
>
> http://cantaa.de
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/IHeaderContributor-problem-How-to-render-the-page-css-after-all-css-styles-from-components-tp3331401p3331677.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
>
>

Reply via email to