Sure, that would be welcome. Thanks,

Eelco


On 7/13/06, David Leangen <[EMAIL PROTECTED]> wrote:
>
> Ok, thank you!
>
> Do you think I should submit a patch to add this explanation to the
> javadoc?
>
>
>
> On Thu, 2006-07-13 at 08:29 +0200, Eelco Hillenius wrote:
> > Hello,
> >
> > It is not necessary in from 1.2 on to pre-register shared resources.
> > The big reason to loose that requirement - besides convenience - is
> > the constant classloader headache pre-registering gave us.
> > Unfortunately, there is no rock-solid mechanism to get all the
> > contents of a package in Java, just the hacks we had in place (and
> > they turned out to be not proof to all situations).
> >
> > Contributing multiple resources used the same package listing
> > algorithm, and thus was a potential source of problems. I considered
> > whether it was worth having it, but thought that, even though it is
> > handy sometimes to contribute all .css or .js or whatever resources in
> > package, it should be usually fine to do this one-by-one too. I expect
> > not many users wanting to contribute more than just a few resources.
> >
> > The newly preferred way is thus to call
> >
> > add(HeaderContributor.forCss(MyComp.class, "foo.css"));
> > add(HeaderContributor.forCss(MyComp.class, "bar.css"));
> >
> > instead of
> >
> > add(HeaderContributor.forCss(MyComp.class));
> >
> >
> > Eelco
> >
> >
> >
> >
> > On 7/13/06, David Leangen <[EMAIL PROTECTED]> wrote:
> > >
> > > Hello!
> > >
> > > The javadoc for HeaderContributor.forCss() says:
> > >
> > >   Will be removed in 2.0; contribute resources
> > >   one by one instead.
> > >
> > >
> > > What is meant by this? What, then, is the newly preferred way of
> > > contributing to a header? Or is this the only way until 2.0, and the
> > > message is just an advanced warning to that effect?
> > >
> > >
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------------------------
> > > Using Tomcat but need to do more? Need to support web services, security?
> > > Get stuff done quickly with pre-integrated technology to make your job 
> > > easier
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > > _______________________________________________
> > > Wicket-user mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to