Re: [Wicket-user] yui slider enquiry

2006-03-30 Thread Eelco Hillenius
Yeah, we just communicated that offline. I'm moving yui to it's own project as we speak, and I'll make Joshua a member. Eelco On 3/29/06, Igor Vaynberg [EMAIL PROTECTED] wrote: if you would like you may start a wicket-stuff project to build up some of these components. that way the committers

Re: [Wicket-user] yui slider enquiry

2006-03-29 Thread Eelco Hillenius
I didn't choose for that set implemention because I thought it would be useful to have an insertAt option. Eelco On 3/28/06, Martijn Dashorst [EMAIL PROTECTED] wrote: Use a LinkedHashSet to filter out double entries and keep order. Martijn On 3/29/06, Eelco Hillenius [EMAIL PROTECTED]

Re: [Wicket-user] yui slider enquiry

2006-03-29 Thread Eelco Hillenius
Ok, just checked in some improvements. Slider still doesn't work for me however. Joshua, if you are interested, please take a look at what is in SVN now, and see if you can find what the problem is. Thanks and have fun, Eelco On 3/28/06, Eelco Hillenius [EMAIL PROTECTED] wrote: I didn't

Re: [Wicket-user] yui slider enquiry

2006-03-29 Thread Joshua Lim
ok I will take a look On 3/29/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Ok, just checked in some improvements. Slider still doesn't work forme however. Joshua, if you are interested, please take a look at whatis in SVN now, and see if you can find what the problem is.Thanks and have fun,

Re: [Wicket-user] yui slider enquiry

2006-03-29 Thread Eelco Hillenius
Thanks Joshua. There is still a weird thing: it seems that the slider can be dragged out of bounds. See http://papernapkin.org/pastebin/app/view/86 How do you plan on using the component? Do you plan on coupling it to a textfield and use that for form submission? I was planning (didn't get to

Re: [Wicket-user] yui slider enquiry

2006-03-29 Thread Joshua Lim
Hi Eelcoyea, I think the slider out of bound is defined by the div in the css. I intend to look into thatthis morning.. and also making it more configurable like being able to define how many intervals,the length etc that kind of thing ... I like your idea of it being able to drop inside a form

Re: [Wicket-user] yui slider enquiry

2006-03-29 Thread Igor Vaynberg
On 3/29/06, Joshua Lim [EMAIL PROTECTED] wrote: and the other a editable div like tiddywiki http://tiddlywiki.com but also dragable... take a look at AjaxEditableLabel, its probably not exactly what you want, but it will give you an idea of how it can be done. there is a good impl of draggable

Re: [Wicket-user] yui slider enquiry

2006-03-29 Thread Joshua Lim
thanks igor, that is very close to what I need, and the insight too into the backing list model... I think that would be useful, I do want another, which will only take 1 single value. perhaps a limit on the list ? basically I am trying to build up more widgets to make answering surveys

Re: [Wicket-user] yui slider enquiry

2006-03-29 Thread Igor Vaynberg
if you would like you may start a wicket-stuff project to build up some of these components. that way the committers and others interested can also contribute.let me know if you would like to do that.-Igor On 3/29/06, Joshua Lim [EMAIL PROTECTED] wrote: thanks igor, that is very close to what I

Re: [Wicket-user] yui slider enquiry

2006-03-28 Thread Juergen Donnerstag
May be you can have a look at it and tell us whether you think it is ready or not. And in case you find something to improve, we are more than happy to receive a patch. Juergen On 3/29/06, Joshua Lim [EMAIL PROTECTED] wrote: Hi I would like to use the yui slider bar ... is it still

Re: [Wicket-user] yui slider enquiry

2006-03-28 Thread Joshua Lim
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 foundadd(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

Re: [Wicket-user] yui slider enquiry

2006-03-28 Thread Eelco Hillenius
Oh yeah. Sorry, but I am still in the process of removing it. I just can't get it to work properly due to javascript issues/ how YUI was set up. If you - or anyone else reading this - are succesful in getting it to work, please send in a patch and we'll keep the component. Otherwise I'm afraid

Re: [Wicket-user] yui slider enquiry

2006-03-28 Thread Eelco Hillenius
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

Re: [Wicket-user] yui slider enquiry

2006-03-28 Thread Eelco Hillenius
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

Re: [Wicket-user] yui slider enquiry

2006-03-28 Thread Martijn Dashorst
Use a LinkedHashSet to filter out double entries and keep order.MartijnOn 3/29/06, Eelco Hillenius [EMAIL PROTECTED] wrote:Erm, actually I'm not there yet. I'll check in more in half an hour. EelcoOn 3/28/06, Eelco Hillenius [EMAIL PROTECTED] wrote: That was because I used a set to filter double

Re: [Wicket-user] yui slider enquiry

2006-03-28 Thread Joshua Lim
Ok I added them manually and it now loads ok without _javascript_ errors...so that bit is ok... next I think the imgs/*.png shoud be added into resources...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.EelcoOn 3/28/06,