I want to build a sortable list that updates the server when the item is dropped into its new position. How to create a sortable list is clear, but I''m looking for an example of how to integrate this with the server side. Are there any examples or tutorials around? I''m working in a java environment. Thanks, Jamie
If you''re using tacos, which I think you might be, you could specify hitting an AjaxDirectLink url as the drop target for your list completion. Instead of using AjaxDirectLink, you can use the "Refresh" component for instances where you need to create a valid tapestry url to hit something but not have it embedded in an href element. I use this in a couple javascript logic blocks... jesse On 10/3/05, Jamie Orchard-Hays <jamie@dang.com> wrote:> > I want to build a sortable list that updates the server when the item > is dropped into its new position. How to create a sortable list is > clear, but I''m looking for an example of how to integrate this with > the server side. Are there any examples or tutorials around? I''m > working in a java environment. > > Thanks, > > Jamie > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20051003/9d360362/attachment.html
Thanks, Jesse. Unfortunately, I''m not in a Tapestry environment, but a WebWork2 with Velocity environment that I''m upgrading--my Tapestry foo won''t help me here! Jamie On Oct 3, 2005, at 2:09 PM, Jesse Kuhnert wrote:> If you''re using tacos, which I think you might be, you could > specify hitting an AjaxDirectLink url as the drop target for your > list completion. Instead of using AjaxDirectLink, you can use the > "Refresh" component for instances where you need to create a valid > tapestry url to hit something but not have it embedded in an href > element. I use this in a couple javascript logic blocks... > > jesse > > On 10/3/05, Jamie Orchard-Hays <jamie@dang.com> wrote: > I want to build a sortable list that updates the server when the item > is dropped into its new position. How to create a sortable list is > clear, but I''m looking for an example of how to integrate this with > the server side. Are there any examples or tutorials around? I''m > working in a java environment. > > Thanks, > > Jamie > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20051003/85ec295e/attachment.html
I was looking at the DragDrop functional tests rather than the Sortable. Oops. Looks like the serialize() function will come in handing for what I''m doing. Still, if anyone has some generic examples of server-side integration, I''d love to be pointed to them. Jamie On Oct 3, 2005, at 1:51 PM, Jamie Orchard-Hays wrote:> I want to build a sortable list that updates the server when the > item is dropped into its new position. How to create a sortable > list is clear, but I''m looking for an example of how to integrate > this with the server side. Are there any examples or tutorials > around? I''m working in a java environment. > > Thanks, > > Jamie > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >