similar to: webrick and in_place_editor_field

Displaying 20 results from an estimated 1100 matches similar to: "webrick and in_place_editor_field"

2006 Mar 22
9
Setting empty fields with in_place_editor_field
Hi all! Playing around with in_place_editor_field, I found that when you set a field to be empty, you can''t edit it at all anymore after that. Am I doing something wrong or is this the way it is intended to be? If so, is there any way around that behaviour? Is it just styling? Best regards, Raphael -- Posted via http://www.ruby-forum.com/.
2006 Mar 01
2
In_place_editor in a For loop
I''m using Ajax to create a list of items. Once these items have been created the user can edit in place and delete them. I''ve got the ajax working for delete and removing the element from the page, but the in_place_editor_field doesn''t seem to like being in a for loop. I''ve got in_place_editor working for single items, but what''s the syntax
2006 Jan 19
5
script.aculos.us and the in_place_editor
Hi there, I''ve been trying incorporate the in_place_editor, but have had no luck so far. I read the Ajax.In Place editor wiki on script.aculos.us which was informing, but still left me wondering about a few things. Here''s what I''m trying to do. A user has a profile page which lists their name, age, homepage, etc... There is no form on this page... it''s just
2006 Aug 12
5
In place editing on a list - not passing ID through
I want to do in-place edits on a list of data, but I''m having trouble getting the ID passed through to the controller. I use this in my view to create the field: <% for frame in @frames %> ... <%= in_place_editor_field :frame, :price %> <% end %> and this produces the following in my output: <span class="in_place_editor_field"
2006 Aug 02
2
Passing Ajax.InPlaceEditor options
I''ve followed the instructions in the Rails Recipe #1 and have the in_place_editor_field working but now I want to tweak how it looks and behaves. I''d like to be able to override the default yellow highlight color, which is done using the highlightcolor param according to the scriptaculous documentation (unless I''m missing something). I''m new to Ruby and Rails
2006 Jan 04
2
simple_format and in_place_editor_field
Hi! How can i do to force an in_place_editor_field to format the text with simple_format while not editing? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060104/bbd141a2/attachment.html
2006 Mar 22
1
RJS - Still not working in IE
The previous thread on this topic got a little disjointed, so I thought I''d summarize the issue again, in hopes that someone could help. To re-iterate, this rjs works in Firefox and Safari on Mac, and in Firefox on Windows. It fails, in IE on Windows. The failure is that the second page.replace_html seems to do nothing. My environment is: Rails 1.0 + RJS Plugin Updated
2006 Nov 04
2
in_place_editor_field submitOnBlur & okButton=false options?
I have a few in_place_editor_fields working fine. I can access some of the script.aculo.us options such as :cols, :save_text, :cancel_text, but how do I access the okButton = false & submitOnBlur options? Basically, I want no submit button, a cancel button, and the ability to submit when I tab out of the field. Is this doable without writing a helper? (avoiding digging that deep so
2007 Oct 23
0
Applying CSS style to in_place_editor_field?
I have a simple in_place_editor_field but the default style when clicking it isn''t quite acceptable for my needs. I tried using options that in_place_editor can take advantage of but I''m still getting a small field with a very close "Ok" button. I''m currently using: <% for note in status_notes.notes %> <li> <% @note =
2006 Apr 04
3
How to use in_place_editor_field ?
Hello, I really don''t understand how to use in_place_editor_field In my controller : class Admin::CategoriesController < Admin::BaseController in_place_edit_for :category, :title def list @categories = Category.find_all end end In the view list.rhtml <% @categories.each do |c| %> <td><%= in_place_editor_field :c, c.title %></td> # snip <%
2006 Feb 10
1
cannot combine in_place_editor_field and a sortable list
As the title says, _sortable list_ doesn''t like ''in_place_editor'' very much. Problem: when you click on an editable element, the field editor and the 2 buttons appears - good - , BUT they keep following the mouse - bad -, and moving, while you''re in edit mode. Alain
2006 Mar 28
2
In_place_editor_field throws error ...
I receive the following error: Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id when trying to use the in_place_editor_field tag: <% for employee in @employees %> <%= in_place_editor_field :employee, employee.fname %> <% end %> My model is called Employee and is being populated from a controller method employees_list:
2008 Jun 16
1
changing the style of in_place_editor_field
Hi... I''m using in_place_editor_field. I want to change the default style of in_place_editor_field. I need to apply another style for the label, the yellow and white highlighting color. I tried <%= in_place_editor_field :ci_class, :name, {:id => @ci_class.id}, {:highlightcolor => "#FF0000"} %> But this is not working. Please help me to change its style. --
2006 May 01
0
problem with in_place_editor_field
I can''t seem to pass any options other thant :rows to the in_place_editor <p><%= in_place_editor_field :gallery, ''description'', {}, {:rows => 2, :cols => 15} %></p> :cols is just not working, a quick look at the html source confirms this? I am using rails 1.0..
2006 Feb 07
3
in place edit, save on blur
I thought I''d seen some discussion on this, but can''t find it. I have a text area that I''d like to save on blur unless the user clicks cancel. Anyone got a nice example of this? It''s non-obvious to me how I force the submit via javascript. Thanks, pt. -- Parker Thompson http://www.parkert.com/ 510.541.0125
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 Feb 06
1
template choice error (layout.rb)
Hey, I installed the rjs plugin yesterday and started using it for one set of views. Today I notice that in an entirely separate controller/template I''m seeing this error: TypeError (can''t dup NilClass): /vendor/plugins/javascript_generator_templates/lib/add_rjs_to_action_controller.rb:41:in `dup''
2006 Jan 25
2
inserting column headings between grouped rows
Hello all, I have what is conceptually a pretty simple poblem, but can''t think of an obvious solution. I have a group of objects (@items), that I wish to render as rows. Items have dates, and I wish to group them by that date, inserting a header row each time the date changes e.g.: header row row 11/11/2004 row 11/11/2004 header row row 11/23/2004 I''m currently
2006 Jan 13
0
Controller part of in-place editing
I''m doing some incremental improvements on scaffolding, and want to add in-place editing to an admin section. I think I may have the view part working right (at least, the editor pops up as expected) with this in my view: ### <% for link in @links %> <tr> <td> <div id="<%= ''url'' + link.id.to_s -%>"><%= link.url
2007 Dec 19
2
undefined method `in_place_editor'
I''m trying to get Globalization to work using the globalize plugin. In their sample application they use in_place_editor to edit the translate strings. <%= in_place_editor "tr_#{tr.id}", :url => { :action => :set_translation_text, :id => tr.id }, :load_text_url => url_for({ :action => :translation_text, :id => tr.id })%> </p> I get the