And I further agree with you -- I think we all need to bite the bullet and become js experts rather than depending on Rails to do it for us. The problem is, if I look at all this JS that I am seeing in this example, I am trying to discern where in my rails app I pick up these values? -Janna B.
On Jun 26, 2:02 pm, JannaB <[email protected]> wrote: > Thanks Fred, > Yes, this is immensely frustrating -- I've lost 3 days working on > this, and looking at examples that don;t cut it -- there is a vacuum > of documentation really, and it seems to be a very RoR thing "Yes, > this is fast and easy to do in RoR with this library/plugin/gem," but > when you go to actually do it, you are left with total trial and > error. > > No wonder the dork frameworks like Java Struts are so much more > prevelant. In truth, those frameworks may just be faster and easier to > use -- I've been trying to accomplish things here that frankly don;t > pay off in terms of the time curve. No one seems to know how to use > the Scritpatuclous library's aside from mickey mouse effects. > > -Janna B. > > On Jun 25, 11:43 am, Frederick Cheung <[email protected]> > wrote: > > > On Jun 25, 3:32 pm, JannaB <[email protected]> wrote: > > > > If I look at a page with a Scriptaculous example like: > > anks Fred > > >http://www.gregphoto.net/sortable/advanced/ > > > > And I can view the html/js source of the page -- my question becomes, > > > how do I implement this, or wire this into, my rails app? -Janna B > > > You need to , one way or another, generate the javascript that sets up > > the scriptaculous stuff (ie create instances of Sortable for > > appropriate dom elements and so on). There are helpers > > (draggable_element and so ) that sort of do this for you but > > personally I feel that most of that stuff is a bit of a crutch and > > that you'd be better off biting the bullet and learning enough > > javascript/scriptaculous that you can just write it on your own. > > > Fred --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

