Re: [Wicket-user] yui slider enquiry
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 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 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 interesting not so much shopping cart ... so I am looking at things like : 1/ sorting list - drag into order choice 1 to 10 - good to have a backing list 2/ maybe extending (1) to have a choice editable - ala toolman - also backed by a list. 3/ multi-targets/draggables - each target having 1 only 1 draggable - so dragging a draggable over a target replaces it instead of adding up ?? still thinking about this one, could be used for matching question. Joshua On 3/30/06, Igor Vaynberg [EMAIL PROTECTED] wrote: 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 lists here: http://tool-man.org/examples/sorting.html ive been thinking of how drag and drop can work in wicket. my idea was to be able to have a DropTarget WebMarkupContainer whose model is a list, and a Draggable behavior to another component. so after a form submit whether ajax or regular, the DropTarget's model would be set to the list of all value model object's of all Draggables in it. maybe this will help, -Igor --- 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?cmd=lnkkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] yui slider enquiry
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] 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?cmdlnkkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Wicket 1.2 is coming! Write Ajax applications without touching JavaScript! -- http://wicketframework.org --- 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?cmd=lnkkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] yui slider enquiry
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 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] 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?cmdlnkkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Wicket 1.2 is coming! Write Ajax applications without touching JavaScript! -- http://wicketframework.org --- 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?cmd=lnkkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] yui slider enquiry
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, EelcoOn 3/28/06, Eelco Hillenius [EMAIL PROTECTED] wrote: 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. 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. 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 ... Iamtrying 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?cmdlnkkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Wicket 1.2 is coming! Write Ajax applications without touching _javascript_! -- http://wicketframework.org--- This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642___ Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] yui slider enquiry
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 the implementation yet) to enable it to be just be dropped in a form and behave as a form component (updating its model value on form submits). And of course I was planning to expose the YUI at least partly through the Wicket component. Hey, and now that you're on it... you might want to take a look at Calendar too. The component works, though I made no effort yet to build a picker on top of it, but it doesn't cooperate in a form either, and it is hardly configurable. Eelco On 3/29/06, Joshua Lim [EMAIL PROTECTED] wrote: Thanks Eelco I have been poking around and manage to get the slider out in the examples, however, it now slides out of the bar :P ... I hope to add more options though... I am new to oss and scm in general so not sure how to apply a patch and don't want to break things. so I am attaching them in this email. hope it can find its way to the right position joshua On 3/29/06, Joshua Lim [EMAIL PROTECTED] wrote: 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 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 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] 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?cmdlnkkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Wicket 1.2 is coming! Write Ajax applications without touching JavaScript! -- http://wicketframework.org --- 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?cmdlnkkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- 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?cmd=lnkkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] yui slider enquiry
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 coupled to a textfield, although I would prefera hidden one and show the value via a label ... would be better... that's what I need for the next project I think is maybe useful to have it independent (of the form) as well for things like color picker kind of stuff. no?I like the yui also, I need more of it though :) the other bits I need are the drag and drop stuff, if you've got ideas, one thing I need is for a drag and drop sortable list and the other a editable div like tiddywiki http://tiddlywiki.com but also dragable...just some thoughts... JoshOn 3/30/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Thanks Joshua. There is still a weird thing: it seems that the slidercan 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 toa textfield and use that for form submission? I was planning (didn'tget to the implementation yet) to enable it to be just be dropped in aform and behave as a form component (updating its model value on form submits). And of course I was planning to expose the YUI at leastpartly through the Wicket component.Hey, and now that you're on it... you might want to take a look atCalendar too. The component works, though I made no effort yet to build a picker on top of it, but it doesn't cooperate in a formeither, and it is hardly configurable.EelcoOn 3/29/06, Joshua Lim [EMAIL PROTECTED] wrote: Thanks Eelco I have been poking around and manage to get the slider out in the examples, however, it now slides out of the bar :P ... I hope to add more options though... I am new to oss and scm in general so not sure how to apply a patch and don't want to break things. so I am attaching them in this email. hope it can find its way to the right position joshua On 3/29/06, Joshua Lim [EMAIL PROTECTED] wrote: 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 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 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] 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?cmdlnkkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Wicket 1.2 is coming! Write Ajax applications without touching _javascript_! -- http://wicketframework.org --- 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!
Re: [Wicket-user] yui slider enquiry
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 lists here:http://tool-man.org/examples/sorting.htmlive been thinking of how drag and drop can work in wicket. my idea was to be able to have a DropTarget WebMarkupContainer whose model is a list, and a Draggable behavior to another component. so after a form submit whether ajax or regular, the DropTarget's model would be set to the list of all value model object's of all Draggables in it. maybe this will help, -Igor
Re: [Wicket-user] yui slider enquiry
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 interesting not so much shopping cart ... so I am looking at things like : 1/ sorting list - drag into order choice 1 to 10 - good to have a backing list 2/ maybe extending (1) to have a choice editable - ala toolman - also backed by a list.3/ multi-targets/draggables - each target having 1 only 1 draggable - so dragging a draggable over a target replaces it instead of adding up ?? still thinking about this one, could be used for matching question. JoshuaOn 3/30/06, Igor Vaynberg [EMAIL PROTECTED] wrote: 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 lists here:http://tool-man.org/examples/sorting.html ive been thinking of how drag and drop can work in wicket. my idea was to be able to have a DropTarget WebMarkupContainer whose model is a list, and a Draggable behavior to another component. so after a form submit whether ajax or regular, the DropTarget's model would be set to the list of all value model object's of all Draggables in it. maybe this will help, -Igor
Re: [Wicket-user] yui slider enquiry
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 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 interesting not so much shopping cart ... so I am looking at things like : 1/ sorting list - drag into order choice 1 to 10 - good to have a backing list 2/ maybe extending (1) to have a choice editable - ala toolman - also backed by a list.3/ multi-targets/draggables - each target having 1 only 1 draggable - so dragging a draggable over a target replaces it instead of adding up ?? still thinking about this one, could be used for matching question. JoshuaOn 3/30/06, Igor Vaynberg [EMAIL PROTECTED] wrote: 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 lists here:http://tool-man.org/examples/sorting.html ive been thinking of how drag and drop can work in wicket. my idea was to be able to have a DropTarget WebMarkupContainer whose model is a list, and a Draggable behavior to another component. so after a form submit whether ajax or regular, the DropTarget's model would be set to the list of all value model object's of all Draggables in it. maybe this will help, -Igor
[Wicket-user] yui slider enquiry
HiI would like to use the yui slider bar ... is it still experimental?noticed it in the exmaple app (1.2b2 in there under yui, but not exactly shown on the home page)thanks joshua
Re: [Wicket-user] yui slider enquiry
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 experimental? noticed it in the exmaple app (1.2b2 in there under yui, but not exactly shown on the home page) thanks joshua --- 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?cmd=lnkkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] yui slider enquiry
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 force the order in which which .js file is loaded ... I amtrying 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)); 2/ I tried first to use wicket:head in the AbstractYuiPanel.html but it doesn't seem to get added into the sub-panel Slider.any help ? Joshua On 3/29/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: May be you can have a look at it and tell us whether you think it isready or not. And in case you find something to improve, we are morethan happy to receive a patch.JuergenOn 3/29/06, Joshua Lim [EMAIL PROTECTED] wrote: Hi I would like to use the yui slider bar ...is it still experimental? noticed it in the exmaple app (1.2b2 in there under yui, but not exactly shown on the home page) thanks joshua---This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] yui slider enquiry
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 I'm too short on time to give it a proper look and the component will have to go from the extensions project. Eelco On 3/28/06, Joshua Lim [EMAIL PROTECTED] wrote: Hi I would like to use the yui slider bar ... is it still experimental? noticed it in the exmaple app (1.2b2 in there under yui, but not exactly shown on the home page) thanks joshua --- 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?cmd=lnkkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] yui slider enquiry
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?cmd=lnkkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] yui slider enquiry
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?cmd=lnkkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] yui slider enquiry
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 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 languagethat 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?cmdlnkkid0944bid$1720dat1642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user-- Wicket 1.2 is coming! Write Ajax applications without touching _javascript_!-- http://wicketframework.org
Re: [Wicket-user] yui slider enquiry
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, 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 webcastand join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user