In View I have the Following HTML Tag <input id=''remove-button-01'' type=''submit'' value=''<%= I18n.t "storage.remove.remove_button" %>'' disabled=''true'' onclick=''storage_index.click_remove();''/> I want to use the id of the button in Controller .... Can you specify what are all the ways available .... Thanks In Advance Antony Prabhu N. -- Posted via http://www.ruby-forum.com/.
On Tue, Oct 27, 2009 at 9:37 AM, Antony Nambikkai <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > In View I have the Following HTML Tag > > <input id=''remove-button-01'' type=''submit'' > value=''<%= I18n.t "storage.remove.remove_button" %>'' > disabled=''true'' onclick=''storage_index.click_remove();''/> > I want to use the id of the button in Controller .... > > Can you specify what are all the ways available ....Can you tell us what have you tried so far? What doc have you read about creating a request to the controller and getting parameters in the controller? Or something... -- Leonardo Mateo. There''s no place like ~
No I don''t have any doc .... My Requirement is to get the HTML Tag id from view and want to use it in Controller... Kindly Help us ... If it is not possible means why? -Antony -- Posted via http://www.ruby-forum.com/.
Antony Nambikkai wrote:> No I don''t have any doc ....http://railsapi.com http://guides.rails.info Read those before you ask more questions. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/.
Marnen Laibow-Koser wrote: Thank you so much Marnen..... I will look into it :-) -- Posted via http://www.ruby-forum.com/.
hi all.. I m using cron for my application. already for my 1st task i use the schedule.rb again i want to use cron job again for my 2nd task. is it possible to use the same schedule.rb file? why i ask is whenever i modify any of my tasks settings it overwrites the schedule.rb file. so how can i solve this.. any ideas. Thanks for Any HELPS -- Posted via http://www.ruby-forum.com/.
Quoting Newb Newb <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>:> > hi all.. > I m using cron for my application. > already for my 1st task i use the schedule.rb > again i want to use cron job again for my 2nd task. > is it possible to use the same schedule.rb file? > why i ask is whenever i modify any of my tasks settings it overwrites > the schedule.rb file. > so how can i solve this.. > any ideas. > Thanks for Any HELPS >I''ll assume you are using Javan''s whenever for a starting point. This generates a crontab file. You should be able to add a second task to the config/schedule.rb file, re-generate and update or overwrite your existing crontab file. I am unclear what is overwriting the schedule.rb file. As I read the whenever documentation, whenever can modify your crontab, but you modify schedule.rb. I notice there are many forks of whenever, if you give us more details about which version, whether you are using Capistrano for deployment (which will modify schedule.rb on the production servers), etc. we may be able to help. Jeffrey