search for: fauser

Displaying 20 results from an estimated 69 matches for "fauser".

Did you mean: fauster
2006 Jun 13
21
RJS Templates for Rails
...ing with FireBug, and finishes off with some reference material. The book is 56 pages and is available in PDF format. I''m really happy with how the book has turned out and I think you''ll really enjoy it. You can find the book at http://www.oreilly.com/catalog/rjsrails/ -- Cody Fauser http://www.codyfauser.com
2006 Mar 04
29
Getting RJS / EgdeRails working
Hi, using Rails 1.0 on windows (without svn yet) I just wrote "rake freeze_edge". Are the RJS-templates already included then ? When I write "rake update_javascripts" I receive this error: svn: ''.'' is not a working copy Any tipps for a newbie on how to get the update done (if neccessary) ? thx Jan
2006 Apr 11
12
RJS
I am trying to use RJS as shown in this tutorial : http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates However it does not seem to work. I am not getting any excpetions in the logs. Here is what the logs say : Parameters: {"action"=>"add", "controller"=>"homepage"} Rendering homepage/add The homepage/add i...
2006 Mar 07
12
rjs and partials
I''m trying to update a list, and having a hard time applying visual effects to the latest element created. Here is what I''m doing. =========================================== 1) Creating an "item" via an action, then rendering the RJS template 2) RJS template looks like this: page.insert_html :top, ''items'', :partial =>
2006 Apr 07
5
RJS support "toggle" effect?
Does RJS inherently support the Element.toggle effect? I haven''t been able to call it the way you call "appear", "fade", etc... Jeff -- Posted via http://www.ruby-forum.com/.
2006 Mar 07
0
Re: rjs isn''t update_page problems (Cody Fauser)
Thank you for the reply Cody. It didn''t work so I''m just going to try edge rails again. Wish me luck! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060307/7e7df8dd/attachment.html
2006 Apr 08
2
Cannot use view helpers in RJS helpers
Any ideas why I would get an error in a RJS helper on view helpers such as number_to_currency. Example: # my_template.rjs page.help_me # my_helper for my_controller def help_me number_to_currency(10) end I have also tired page.number_to_currency but that doesn''t work either. Cheers, Nicholas
2006 Mar 29
2
vim syntax highlighting of rjs templates
Are there config files for vim that offer syntax highlighting of rjs templates? Charlie Bowman http://www.recentrambles.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060329/486c9d84/attachment.html
2006 Feb 08
2
301 Redirect with Rails
I have been searching for a way to do this but haven''t found anything yet. Can anyone please guide me to a resource or tell me how I would go about doing a 301 (Moved Permanently) redirect using Rails? Thanks Frank --------------------------------- Yahoo! Mail - Helps protect you from nasty viruses. -------------- next part -------------- An HTML attachment was
2006 Feb 18
2
Effect queues with RJS templates and scriptaculous
Hi. I was wondering if it''s possible to combine effects for individual elements with RJS templates. I notice that scriptaculous has support for a concept called effect queues (http://www.railsdevelopment.com/2006/01/15/effectqueue/). Is there anyway to use these queues from rjs?
2006 Jan 29
9
Specify options with habtm
Hi all I have the following models: class member has_and_belongs_to_many :disc_jockeys end class disc_jockey has_and_belongs_to_many :members end The relation table is called disc_jockeys_members and has the following fields: disc_jockeys_members(disc_jockey_id, member_id, status) So far, the field status can have values like valid, invalid, locked etc., but it is not regarded yet by
2006 Mar 18
9
RJS - not working in IE
I searched thru all the postings about RJS, and I didn''t find one person who complained of problems specific to IE, but that''s what I''ve got. My environment is: Rails 1.0 + RJS Plugin Updated Javascripts to Scriptaculous 1.5.3 (for evalScripts support) Monkeypatched in_place_editor to support evalScripts I have just started using RJS, and I have two .rjs templates.
2006 May 05
6
rake rails:update
This question has been asked before, but I am still can''t run rake rails:update. I get rake aborted! Don''t know how to build task ''rails:update'' My environment: FC4, Ruby 1.8.4, Rails 1.1 Any idea what to do? -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Mar 14
2
rjs woes
i''ve just installed the RJS plugin per cody''s instructiuons and read through tutorials. I''ve made the necessary changes to my existing code and everything appears to be working, except that the returned javascript is not being evaluated... here''s my setup: i have a checkbox with an onclick event pointing to a javascript function. this javascript function does
2006 Jun 27
4
RJS Form Values
Hi, I have the following code : <%=link_to_function("? | China", update_page{|page| page[''tags_en''].value = "China" page[''tags_ch''].value = "?" }) %> This updates two text fields with the China and ?. However I want to append the values, not replace them. So I need something like this :
2006 Mar 27
13
Is this a bug in Ajax handling?
When a controller responds to a link_to_remote with a redirect_to, the link_to_remote gets a success callback, this would seem like a bug to me, at a minimum it should return a failure? This is driving me crazy because all the login engines/generators respond to an authentication error with a redirect_to. The work around is to change them to all do a render :layout => false, :status => 500
2006 Jul 08
3
Make AJAX form do multiple actions?
I have a form that I want to do a few things. -do an Effect.SlideOut on a div -replace the text in a div with different text -update the database and add a new div later in the document. How do call all of these (there is only one :complete or :update) Thanks in advance. -- Posted via http://www.ruby-forum.com/.
2006 Mar 28
5
RJS call from controller issues javascript that doesn''t get evaluated by browser
Hi, I''m on Rails 1.1 and I have a problem wit RJS In my cotroller i have ==>>> def show @contact = Contact.find(params[:id]) render :update do |page| page[:contactInfo].replace_html :partial=>"contactInfo" end end <<<=== And my contactInfo partial looks like this and it''s placed inside a div element ==>>> <table>
2006 Mar 20
4
Ajax.Request w/standard redirect doesn''t render
I am doing an Ajax call in my page to a controller method like so: new Ajax.Request(''<%= url_for(:action => "target_list_add" )%>'', { asynchronous:true });" In my controller method "target_list_add", I do something and then I say: redirect_to( :action => ''target_list_upload'', :layout => false ) I know for certain
2005 Dec 23
13
how to form.rest in RJS
is there any way to Form.reset (clear all fields of the form ) in form_remote_tag generated form? I want to reset fields after ''submit'' in .rjs. -- Hiroshi Takagi <gollum-u1eKKkw+WM0gE89CWYshPg@public.gmane.org>