The advantage of using the header distributions as we now support
out-of-the-box, and that you can see in components like DatePicker, is
that it works in /any/ page. It is completely self contained.

Eelco


On 8/24/05, Scott Sauyet <[EMAIL PROTECTED]> wrote:
> I'm not certain I need it.  In my homegrown proof-of-concept framework,
> a component could implement a similar interface (with an identical name!):
> 
>     public interface HeaderContributor {
>         public List getStyleHrefs();
>         public List getJSHrefs();
>         public List getMetas();
>     }
> 
> My equivalent of the WebPage class automatically collected and supplied
> these links for all components that implement this interface, so I
> didn't need to do this sort of gymnastics.  I was wondering if something
> like this had been added since the Wiki page was last updated.
> 
> I'm mostly just randomly browsing the documentation and seeing what
> matches my expectations, and what doesn't.  This was the first thing I
> saw that seemed rather clunky with Wicket and I'm mainly curious.  I
> don't have a particular need now.
> 
>   -- Scott
> 
> 
> Juergen Donnerstag wrote:
> > Wicket provides several difference means to reference css and js
> > files. Unfortunately the documentation is perfect, ... What exactly is
> > your problem or your question. In the simplest case use plain (X)HTML
> > without any wicket specific code. <head><link ...
> > href="style.css"></head>. The examples may serve as references as
> > well.
> >
> > Juergen
> >
> > On 8/24/05, Scott Sauyet <[EMAIL PROTECTED]> wrote:
> >
> >>Obligatory disclaimer:  I'm brand new to Wicket.  I'm trying to use it
> >>on my first project.</o-d>
> >>
> >>The Wiki page on including CSS references for components
> >>(http://tinyurl.com/8aqp5) finishes with this comment:
> >>
> >>    "A better integrated way of dealing with CSS, JavaScript, etc,
> >>    is planned for Wicket 1.1, which is scheduled for summer 2005."
> >>
> >>The method described in this page is a somewhat convoluted process of
> >>visiting all the children of the page that implement a HeaderContributor
> >>interface.  I was wondering if this "better integrated way" is now
> >>available, and if so, if there is any documentation available.
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to