Use a LinkedHashSet to filter out double entries and keep order.

Martijn

On 3/29/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:
Erm, actually I'm not there yet. I'll check in more in half an hour.

Eelco

On 3/28/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> That was because I used a set to filter double contributions. I
> changed this to list to guarantee order and added an additional method
> with an index argument to enable further tweaking if needed.
>
> Eelco
>
> On 3/28/06, Joshua Lim <[EMAIL PROTECTED]> wrote:
> > It seems that the slider is loading the *.js in some random order...
> > so YAHOO.js is loaded _after_ dom.js etc...which caused a YAHOO not found
> >
> > add(HeaderContributor.forJavaScript(AbstractYuiPanel.class));
> >
> >  I am not sure but I will attempt to get this going since I need this...
> >
> > 1/ is there a way to force the order in which which .js file is loaded ... I
> > am
> > trying to load them manually ...  seems too does not gaurantee the order...
> >
> >  add(HeaderContributor.forJavaScript(AbstractYuiPanel.class, "YAHOO.js"));
> > add(HeaderContributor.forJavaScript(AbstractYuiPanel.class, "dom.js"));
> > ....
>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



--
Wicket 1.2 is coming! Write Ajax applications without touching _javascript_!
-- http://wicketframework.org

Reply via email to