search for: inplacecollectioneditor

Displaying 13 results from an estimated 13 matches for "inplacecollectioneditor".

2006 Apr 21
1
how-to pass other values to InPlaceCollectionEditor?
Hi, I am trying to pass others paramenter to the function InPlaceCollectionEditor, but I think that is not possible I have modified some rows controls.js to line 782 from: ####################### this.editField = this.cached_selectTag; if(this.options.loadTextURL) this.loadExternalText(); this.form.appendChild(this.editField); this.options.callback = function(fo...
2006 Mar 07
6
[PATCH] Allow Ajax.InPlaceCollectionEditor to load collection externally
Attached is a patch to allow Ajax.InPlaceCollectionEditor to load the collection using AJAX. It adds a new option, loadOptionsURL, which is the URL used to load the values over the interweb. It expects the server to return <option></option> values. If one of them has a selected="selected" attribute, it will probably be pre-selected....
2008 Jan 21
4
Can't change paramName with InPlaceCollectionEditor
...and script.aculo.us controls v1.7.0 I did this simple code : --------------------------------------------------------------------------------------------------- new Ajax.Request("myPageSel.asp", { method: "get", parameters: {r:$el.id}, onSuccess: function(xhr) { new Ajax.InPlaceCollectionEditor($el.id, ''myPageMaj.asp'', { paramName: $el.id, collection: xhr.responseText.evalJSON() }); alert($el.id); } }); --------------------------------------------------------------------------------------------------- Ajax.InPlaceCollectionEditor always sends paramName as &qu...
2006 Mar 07
0
Ajax.InPlaceCollectionEditor problems
Hi all, I''m trying out the new Ajax.InPlaceCollectionEditor in script.aculo.us 1.5.3. I''m able to display the select box properly. However, I''m stumped on how to send my hidden field as well as the value being edited to my form. Can anybody also explain how I can use $F or $S to read my hidden form fields into javascript? Thanks much,...
2006 Mar 31
0
info about default value of InPlaceCollectionEditor
I have the follow code: ------------------------------------- <script type="text/javascript"> function setupCategoryEditor(el, url, id_pagam) { var Element = document.getElementById(el); var editor= new Ajax.InPlaceCollectionEditor(el, url, { callback: function(form, value) { return ''op=pag_sca&value=''+value+''&id=''+id_pagam+''&id_cliente=8&id_order=22'' }, onBlur: function(request) {Element.show(''indicator'')}, collection: [[0,'...
2006 Apr 04
0
Ajax inPlaceCollectionEditor
How to I get the value passed back to me into a script? And why does evalscripts not work with this function? Deco
2007 Jul 10
9
Other parameters on InPlaceEditor
Hi to all, I have a doubt on like passing other URL parameters to InPlaceEditor function. For Ajax.Updater I can use "parameters:", but for InPlaceEditor (or InPlaceCollectionEditor) I cannot use "parameters". How I make to pass other parameters to the page that callback? A sample code: ---------------------------------- var editor= new Ajax.InPlaceCollectionEditor(el, url, { ajaxOptions: {method: ''get''}, value: ($(el).innerHTML==''Ye...
2006 Mar 25
0
in_place_collection_editor
Hi, I''m trying to write a helper for Scriptaculous'' InPlaceCollectionEditor component. I''ve already submitted a patch (http://dev.rubyonrails.org/ticket/4302). This was a drunk patch; it needs a bit of work (Don''t drink & code!). So far I''ve gotten it to work correctly with normal collections, but I want to use it for belongs_to relations...
2007 Jul 19
3
InPlace[Collection]Editor rewrite: it's in trunk!
Hi all, For those of you who don''t follow Thomas Fuch''s blog, know that a complete rewrite of InPlaceEditor / InPlaceCollectionEditor just made it into the trunk. You''ll find all the juicy details on Thomas'' post: http://mir.aculo.us/2007/7/17/in-place-editing-the-summer-2007-rewrite Do note that this is my rewrite, so if you find bugs etc., don''t go yelling at Thomas: I''m the one to blame!...
2006 Feb 21
4
New stuff in script.aculo.us trunk
Heya all, There''s some new stuff in the script.aculo.us trunk as of today that needs to be tested, so maybe give it a shot: * Added Ajax.InPlaceCollectionEditor which uses a SELECT element instead of a text field (see test/functional/ ajax_inplacecollectioneditor_test.html for usage), #3491 [thx anna] * Enable in place editor to use RJS (implements a new evalScripts option for the in place editor), #3490 [thx Richard Livsey] * Added Sortable.setSequ...
2008 Feb 13
8
comparing ajax.updater div in js
This is really bugging me no matter what I''m trying. In javascript, I''m using the ajax.updater, and it (obviously) writes back out to a div. I want to then compare what was echoed out into this div (which came from the php file I listed in ajax.updater) with a string. test should equal "SomeString" because that is what is being echoed out to
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...this.triggerCallback('onEnterHover'); }, getText: function() { - return this.element.innerHTML; + return this.element.innerHTML.unescapeHTML(); }, handleAJAXFailure: function(transport) { this.triggerCallback('onFailure', transport); @@ -780,7 +780,7 @@ Ajax.InPlaceCollectionEditor = Class.create(Ajax.InPlaceEditor, { onSuccess: function(transport) { var js = transport.responseText.strip(); if (!/^\[.*\]$/.test(js)) // TODO: improve sanity check - throw 'Server returned an invalid collection representation.'; + throw('Ser...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server