[Lift] Re: Ideas for an ordered list in a form
Cool ! On Jun 3, 12:18 am, Derek Chen-Becker dchenbec...@gmail.com wrote: Thanks for sending that. It looks like UI could also provide some drag and drop, so the asm select plugin is looking very nice :). Now I just need to get approval on changing multiSelect to use an LFuncHolder and I'm golden :) Derek On Tue, Jun 2, 2009 at 3:02 PM, Marius Danciu marius.dan...@gmail.comwrote: Derek, Here is the thing (FWIW). Embedding JQuery UI in Lift sounds like a good thing to me as many JQuery plugins requires it. I hope there are no other non-technical implications though. Br's, Marius --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Ideas for an ordered list in a form
The plugin here requires jQuery UI to work. I can either add jQuery UI to lift-webkit's toserve directory so that it's available for people to use, or I could just bundle it with the widget. I'm leaning toward bundling with webkit so that it's available for other components. Otherwise, I'm not sure if it might cause a conflict if someone wants to use UI and provides their own version. Thoughts? Derek On Mon, Jun 1, 2009 at 4:33 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I found this jQuery plugin that I think actually works much better than a simple palette control: http://plugins.jquery.com/project/asmselect There's an accompanying article that has a nice demo of it: http://www.ryancramer.com/journal/entries/select_multiple/ I'm going to see about making a widget from this instead. Much cleaner! Derek On Sun, May 31, 2009 at 5:28 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: If it's not too much trouble to find that would be great, but don't work too hard searching : Derek On Sun, May 31, 2009 at 2:59 AM, marius d. marius.dan...@gmail.comwrote: A couple of years ago I did the same thing with drag and drop ... but I wrote the JS code, and for some reason I didn't really look for an existent solution :) ... I think I still have the damn thing and if you want to I could send it to you. On May 31, 3:01 am, Derek Chen-Becker dchenbec...@gmail.com wrote: I have some ideas for this, but my short term solution is to make a Lift version of Palette. Once I have it debugged I'll add it as a widget. Derek On Sat, May 30, 2009 at 3:17 AM, Joe Wass j...@folktunefinder.com wrote: Bump. I'm interested in this too. On May 28, 10:01 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: Oops. I meant to give the link to Tapestry so that people could see what I'm talking about (image toward the middle of the page): http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tap... Derek On Thu, May 28, 2009 at 3:00 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I'd like to pick everyone's brains on a small requirement I have for an in-house app. I need to have the end-user select a subset of items from a master set. Additionally, the items should be ordered. Typically in the past I've used something like Tapestry's Palette control (or rolled my own with some selects and javascript). I don't think that this would be too hard to do in Lift, but I was wondering if anyone else has a better approach that they've used or seen in use. Thanks, Derek --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Ideas for an ordered list in a form
On second thought, a widget for this is probably overkill. Just adding the proper script and css to the page works fine. Derek On Tue, Jun 2, 2009 at 7:57 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: The plugin here requires jQuery UI to work. I can either add jQuery UI to lift-webkit's toserve directory so that it's available for people to use, or I could just bundle it with the widget. I'm leaning toward bundling with webkit so that it's available for other components. Otherwise, I'm not sure if it might cause a conflict if someone wants to use UI and provides their own version. Thoughts? Derek On Mon, Jun 1, 2009 at 4:33 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I found this jQuery plugin that I think actually works much better than a simple palette control: http://plugins.jquery.com/project/asmselect There's an accompanying article that has a nice demo of it: http://www.ryancramer.com/journal/entries/select_multiple/ I'm going to see about making a widget from this instead. Much cleaner! Derek On Sun, May 31, 2009 at 5:28 PM, Derek Chen-Becker dchenbec...@gmail.com wrote: If it's not too much trouble to find that would be great, but don't work too hard searching : Derek On Sun, May 31, 2009 at 2:59 AM, marius d. marius.dan...@gmail.comwrote: A couple of years ago I did the same thing with drag and drop ... but I wrote the JS code, and for some reason I didn't really look for an existent solution :) ... I think I still have the damn thing and if you want to I could send it to you. On May 31, 3:01 am, Derek Chen-Becker dchenbec...@gmail.com wrote: I have some ideas for this, but my short term solution is to make a Lift version of Palette. Once I have it debugged I'll add it as a widget. Derek On Sat, May 30, 2009 at 3:17 AM, Joe Wass j...@folktunefinder.com wrote: Bump. I'm interested in this too. On May 28, 10:01 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: Oops. I meant to give the link to Tapestry so that people could see what I'm talking about (image toward the middle of the page): http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tap. .. Derek On Thu, May 28, 2009 at 3:00 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I'd like to pick everyone's brains on a small requirement I have for an in-house app. I need to have the end-user select a subset of items from a master set. Additionally, the items should be ordered. Typically in the past I've used something like Tapestry's Palette control (or rolled my own with some selects and javascript). I don't think that this would be too hard to do in Lift, but I was wondering if anyone else has a better approach that they've used or seen in use. Thanks, Derek --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Ideas for an ordered list in a form
Thanks for sending that. It looks like UI could also provide some drag and drop, so the asm select plugin is looking very nice :). Now I just need to get approval on changing multiSelect to use an LFuncHolder and I'm golden :) Derek On Tue, Jun 2, 2009 at 3:02 PM, Marius Danciu marius.dan...@gmail.comwrote: Derek, Here is the thing (FWIW). Embedding JQuery UI in Lift sounds like a good thing to me as many JQuery plugins requires it. I hope there are no other non-technical implications though. Br's, Marius --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Ideas for an ordered list in a form
I found this jQuery plugin that I think actually works much better than a simple palette control: http://plugins.jquery.com/project/asmselect There's an accompanying article that has a nice demo of it: http://www.ryancramer.com/journal/entries/select_multiple/ I'm going to see about making a widget from this instead. Much cleaner! Derek On Sun, May 31, 2009 at 5:28 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: If it's not too much trouble to find that would be great, but don't work too hard searching : Derek On Sun, May 31, 2009 at 2:59 AM, marius d. marius.dan...@gmail.comwrote: A couple of years ago I did the same thing with drag and drop ... but I wrote the JS code, and for some reason I didn't really look for an existent solution :) ... I think I still have the damn thing and if you want to I could send it to you. On May 31, 3:01 am, Derek Chen-Becker dchenbec...@gmail.com wrote: I have some ideas for this, but my short term solution is to make a Lift version of Palette. Once I have it debugged I'll add it as a widget. Derek On Sat, May 30, 2009 at 3:17 AM, Joe Wass j...@folktunefinder.com wrote: Bump. I'm interested in this too. On May 28, 10:01 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: Oops. I meant to give the link to Tapestry so that people could see what I'm talking about (image toward the middle of the page): http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tap... Derek On Thu, May 28, 2009 at 3:00 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I'd like to pick everyone's brains on a small requirement I have for an in-house app. I need to have the end-user select a subset of items from a master set. Additionally, the items should be ordered. Typically in the past I've used something like Tapestry's Palette control (or rolled my own with some selects and javascript). I don't think that this would be too hard to do in Lift, but I was wondering if anyone else has a better approach that they've used or seen in use. Thanks, Derek --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Ideas for an ordered list in a form
A couple of years ago I did the same thing with drag and drop ... but I wrote the JS code, and for some reason I didn't really look for an existent solution :) ... I think I still have the damn thing and if you want to I could send it to you. On May 31, 3:01 am, Derek Chen-Becker dchenbec...@gmail.com wrote: I have some ideas for this, but my short term solution is to make a Lift version of Palette. Once I have it debugged I'll add it as a widget. Derek On Sat, May 30, 2009 at 3:17 AM, Joe Wass j...@folktunefinder.com wrote: Bump. I'm interested in this too. On May 28, 10:01 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: Oops. I meant to give the link to Tapestry so that people could see what I'm talking about (image toward the middle of the page): http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tap... Derek On Thu, May 28, 2009 at 3:00 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I'd like to pick everyone's brains on a small requirement I have for an in-house app. I need to have the end-user select a subset of items from a master set. Additionally, the items should be ordered. Typically in the past I've used something like Tapestry's Palette control (or rolled my own with some selects and javascript). I don't think that this would be too hard to do in Lift, but I was wondering if anyone else has a better approach that they've used or seen in use. Thanks, Derek --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Ideas for an ordered list in a form
If it's not too much trouble to find that would be great, but don't work too hard searching : Derek On Sun, May 31, 2009 at 2:59 AM, marius d. marius.dan...@gmail.com wrote: A couple of years ago I did the same thing with drag and drop ... but I wrote the JS code, and for some reason I didn't really look for an existent solution :) ... I think I still have the damn thing and if you want to I could send it to you. On May 31, 3:01 am, Derek Chen-Becker dchenbec...@gmail.com wrote: I have some ideas for this, but my short term solution is to make a Lift version of Palette. Once I have it debugged I'll add it as a widget. Derek On Sat, May 30, 2009 at 3:17 AM, Joe Wass j...@folktunefinder.com wrote: Bump. I'm interested in this too. On May 28, 10:01 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: Oops. I meant to give the link to Tapestry so that people could see what I'm talking about (image toward the middle of the page): http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tap... Derek On Thu, May 28, 2009 at 3:00 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I'd like to pick everyone's brains on a small requirement I have for an in-house app. I need to have the end-user select a subset of items from a master set. Additionally, the items should be ordered. Typically in the past I've used something like Tapestry's Palette control (or rolled my own with some selects and javascript). I don't think that this would be too hard to do in Lift, but I was wondering if anyone else has a better approach that they've used or seen in use. Thanks, Derek --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Ideas for an ordered list in a form
I have some ideas for this, but my short term solution is to make a Lift version of Palette. Once I have it debugged I'll add it as a widget. Derek On Sat, May 30, 2009 at 3:17 AM, Joe Wass j...@folktunefinder.com wrote: Bump. I'm interested in this too. On May 28, 10:01 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: Oops. I meant to give the link to Tapestry so that people could see what I'm talking about (image toward the middle of the page): http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tap... Derek On Thu, May 28, 2009 at 3:00 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I'd like to pick everyone's brains on a small requirement I have for an in-house app. I need to have the end-user select a subset of items from a master set. Additionally, the items should be ordered. Typically in the past I've used something like Tapestry's Palette control (or rolled my own with some selects and javascript). I don't think that this would be too hard to do in Lift, but I was wondering if anyone else has a better approach that they've used or seen in use. Thanks, Derek --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Ideas for an ordered list in a form
Oops. I meant to give the link to Tapestry so that people could see what I'm talking about (image toward the middle of the page): http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Palette.html Derek On Thu, May 28, 2009 at 3:00 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I'd like to pick everyone's brains on a small requirement I have for an in-house app. I need to have the end-user select a subset of items from a master set. Additionally, the items should be ordered. Typically in the past I've used something like Tapestry's Palette control (or rolled my own with some selects and javascript). I don't think that this would be too hard to do in Lift, but I was wondering if anyone else has a better approach that they've used or seen in use. Thanks, Derek --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---