Hi,

On Mon, Nov 5, 2012 at 5:38 PM, Per Newgro <[email protected]> wrote:

> Hi,
>
> i was wondering why CssUrlReferenceHeaderItem (wicket 6.2.0) is
> implemented by HeaderItem#getDependencies() which returns an empty list.
> The CssReferenceHeaderItem has a getDependencies implementation
> which uses the dependencies provided by the resource reference.
>
> If i extend CssUrlReferenceHeaderItem (for testing) and provide the
> dependencies of the resource reference (analogoues to
> CssReferenceHeaderItem) everything works fine.
>

CssUrlReferenceHeaderItem works with a Url which  doesn't provide
#getDependencies().
What ResourceReference do you use in your version of
CssUrlReferenceHeaderItem ?



>
> But maybe i miss here something. So my question is: Is it required that
> CssUrlReferenceHeaderItem is not handling dependencies of the resource
> reference?
>
> Thanks for explanation.
> Per
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


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

Reply via email to