similar to: How do you make in_place_edit fields appear when empty?

Displaying 20 results from an estimated 900 matches similar to: "How do you make in_place_edit fields appear when empty?"

2006 Nov 04
6
Javascript form validation for In place editting in scriptaculous ?
Is there a way by which I can do form validation for form generated by In Place Editting of scritaculous? The reason is, I want to avoid server roundtrip for checks which I can perform at browser. Regards, Jatinder -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060828/ca882668/attachment-0001.html
2008 Apr 01
1
in_place_edit
where is the in_place_edit plugin? script/plugin source http://svn......? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from
2006 Jul 16
0
in_place_edit-like functionality in my controller
Hello, I''m trying to extend the functionality of in_place_edit and would like to have a function in my controller that populates methods for requested object/methods (just like in_place_edit does). Here''s some test code I tried to make work (from my controller): def do_some_edit(object, field) logger.info("We are editing") end do_some_edit(:item,
2006 May 17
0
How to validate in_place_edit updates
Can anyone enlighten me on how to make in_place_edit fields go through validations that are defined in the model? For example, my customer model has a "validates_numericality_of phone", but when the in_place_edit is done you can enter whatever you want. The field is defined as a string in the DB. I can''t change the database schema, due to other constraints, so I need a
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 Apr 18
4
IN-PLACE FORM EDITING
Ive been following the rails recipes (great book) and wanted to have a larger a text field when editing in place. The chapter it mentions that I can "force the InPlaceEditor to create either a text ?eld or a <textarea> ?eld, using the :rows option to in_place_editor_?eld( ). Then any value greater than 1 will tell InPlaceEditor to generate a <textarea>." It
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:
2006 Jan 12
2
in-place editing with validation
is there a good in-place editing solution with rails that does validation too ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060112/273fad3e/attachment.html
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 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/.
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 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 Jan 24
2
webrick and in_place_editor_field
I''m having a strange problem with webrick spinning forever. I have a view ''list'' that renders a collection: <%= render :partial => ''item'', :collection => @items %> The item partial looks like so: <div id="item_<%= item.id %>"> ... <div id="price"> <%= in_place_editor_field :item, :price
2013 Nov 06
4
augeas onlyif problem
I''m trying to make sure a specific user has a special ssh key used as his identity file. so I''m trying something like: augeas{"user_second_key": context => "/files/home/user/.ssh/config", changes => [ "ins IdentityFile after /files/home/user/.ssh/config/IdentityFile[last()]", " set
2006 Mar 31
13
validation with in_place_edit_for
i''ve got an in place edit text box for some of my fields. my model has validates_presence_of for the field but nothing happens. it works fine in the scaffold when using the edit page, but nowhere else. anyone have a solution to this? -- Posted via http://www.ruby-forum.com/.
2012 Nov 16
2
[LLVMdev] [Code Ownership] LTO
I'd like to take over LTO, unless someone else is clamoring for it. -bw
2006 Mar 14
15
in_place_editor_field -- values not clickable
Hallo -- I''ve just installed the latest stable version of rails, and am following the rails recipies book''s first recipie -- using in_place_editor_field. My problem is that the code throws no error, but the resulting fields are not editable -- the values just come up as text, rather than clickable-then-editable fields. Can anyone help shed any light on why this might be the
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 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