#rubyonrails - Mon 7 May 2007 between 00:00 and 00:25

NY Lost Funds



Skizit does
rikanferalHow?
Skizlink_to_remote( image_tag('blah, :alt => 'foo'), :url => {:action => 'wow'})
rikanferalDanke!
It worked
captprotonanyone here good with AJAX and selects?
Skizwhat do you need to do? are you getting ghetto submits while you are selecting?
actioncaptproton pasted http://pastie.textmate.org/59460
captprotonpasted http://pastie.textmate.org/59460
that's the javascript that I am trying to figure out.
Skizit doesnt make much sense to me ;)
you grab the field and change the selected index value then show a product passing create_type and the index which you just changed?
actionSkiz scratches his head
Skizscratches his head
captproton: you are trying to make it do something or trying to figure out what it is doing?
papricekdoes someone use simple_localization plugin use for language versions of your app?
captprotonSkiz, both.
papricekor better, gettext?
actioncaptproton pasted http://pastie.textmate.org/59463
captprotonpasted http://pastie.textmate.org/59463
Skiz, there's the html
Skizokay so what are you _trying_ to do? kind of hard without html and more code there and/or explan.. on
captprotonSkiz, I am trying to add/edit a product like shopify does.
Skizcaptproton: iirc there is a nice pseudo select box thats a text tag you can edit
funbagsAnyone use attachment_fu and force an exact resize?
captprotonSkiz, really? cool
Skiz, where?
Skiz1 sec
hrmm I know I've seen it and even used it. I'll need to peek around
captprotonSkiz, I can't figure out how the selected value gets parsed and put into the db.
Skizso you select the create_new, when its changed, the create_type div is displayed where you can enter the new name, when you enter the name it is then sent via Ajax.request, and a dom element is created in the list.
or perhaps by rjs
eurekahow do I start the webrick server on the console?
captprotonskiz, nothing changes until I hit save
eureka, have you tried script/server?
Skizcaptproton: well there you go even easier
captprotonskiz, I mean that the input appears, but nothing in the select list changes.
Skiz, do you know what prototype's Product.show does?
Skizremoves display:none
its custom anyway its not prototype
if params[:new_type] ; @category = Category.create(:name => params[:new_type]) ; @mything.category = @category ; end
eurekacaptproton, I ran it under windows, it just said ./ is not regconized
captproton, also got this from console: load': no such file to load -- script/server

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 93 

IrcArchive

NY Lost Funds