🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.ruby
4 messages
4 total messages Started by misiek Tue, 02 Jan 2007 17:11
page.drop_recieving 'my_cart', :url => { :controller => 'cart', :action => 'add' }
#378
Author: misiek
Date: Tue, 02 Jan 2007 17:11
8 lines
1094 bytes
somebody used that stuff ?
page.drop_recieving 'my_cart', :url => { :controller => 'cart', :action 
=> 'add' }
page.dragable 'my_image', :revert => true
page.sortable 'my_list', :url => { :action => 'order' }

HowTo use it ?...
I am really interesting the first one.
Re: page.drop_recieving 'my_cart', :url => { :controller => 'cart', :action => 'add' }
#379
Author: punkracy
Date: Mon, 22 Jan 2007 14:55
24 lines
2014 bytes
misiek napisal(a):
> somebody used that stuff ?
> page.drop_recieving 'my_cart', :url => { :controller => 'cart', :action
> => 'add' }
> page.dragable 'my_image', :revert => true
> page.sortable 'my_list', :url => { :action => 'order' }
>
> HowTo use it ?...
> I am really interesting the first one.
widze w innych postach, ze piszesz po polsku, wiec bedzie po pl_PL
calkiem niezle masz to opisane w ksiazce Beginning Ruby on Rails
E-Commerce.

my_cart to id elementu na stronie, np. <div id="my_cart">koszyk</div>
jesli przerzucisz na ten element inny element o id="id" to w
kontrolerze cart w akcji add bedziesz mógl np.: @book =
Book.find(params[:id])

pozdrawiam

--
Krzysztof Raczkiewicz
http://punkracy.com # Prawie jak Blog 27
http://10110.biz/pmug # Polish Mainframe User Group
Re: page.drop_recieving 'my_cart', :url => { :controller => 'cart', :action => 'add' }
#380
Author: punkracy
Date: Mon, 22 Jan 2007 14:59
9 lines
1528 bytes
punkracy napisał(a):
> widze w innych postach, ze piszesz po polsku, wiec bedzie po pl_PL
prawie po polsku

--
Krzysztof Raczkiewicz
http://punkracy.com # Prawie jak Blog 27
http://10110.biz/pmug # Polish Mainframe User Group
Re: page.drop_recieving 'my_cart', :url => { :controller => 'cart', :action => 'add' }
#381
Author: misiek
Date: Fri, 26 Jan 2007 18:33
9 lines
1230 bytes
punkracy wrote:
> punkracy napisa³(a):
>> widze w innych postach, ze piszesz po polsku, wiec bedzie po pl_PL
> prawie po polsku


dzieki za posta
przyklad znalazlem tutaj 
http://wiki.script.aculo.us/scriptaculous/show/sandbox4
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads