similar to: IE: error with Serializers[method] in getValue()

Displaying 20 results from an estimated 100 matches similar to: "IE: error with Serializers[method] in getValue()"

2005 Aug 19
0
Form.Element.getValue for checkboxes and radios?
I notice that Form.Element.getValue() takes a single element or id and returns the element name and value. How does one handle getting the values of checkboxes and/or radios which share the same control name, save getting them one at a time? <fieldset> <legend>Medical History</legend> <input name="history_illness" type="checkbox"
2009 Jan 23
4
getValue() in a Controller problem, help please.
Hello there, I''m trying to do something like: render :update do |page| page[:client_list].replace_html render(:partial => ''client_list'', :object => @clients_list) name = page[:name].getValue(); end but I''m not getting the value, or somehow use $("name").getValue() inside of the controller. How can I do that? tks, David Sousa --
2012 Jun 21
1
ActiveModel::Serializers::JSON support arbitrary keys
Is there a reason why AM:S doesn''t support arbitrary keys to serialization? I can see a lot of uses cases where arbitrary keys could come handy. Right now, if one tries to do it, AM:S checks if the keys match a method of the model and raises exception if it can''t find any. class Client < ActiveRecordBase attr_accessible :name, :address, as: :creator include
2012 Oct 01
1
active_model_serializers, more than one level deep of associations, specifying serializers per association
I am assuming this an appropriate place to discuss this, but if it isn''t my apologies- just let me know. Just a Rails 4-ish thing. Am attempting to pull AMS (active_model_serializers), strong_parameters, and the "permitter" strategy that Adam Hawkins is using: http://broadcastingadam.com/2012/07/parameter_authorization_in_rails_apis/ Code so far is here (in the
2008 Jan 05
4
PeriodicalUpdater onComplete broken?
Using the PeriodicalUpdater, I''m finding the onComplete is not firing. I thought I''d get some feedback here before filing a bug report. http://ianty.com/updater/update_test_1.6.0.1.html http://ianty.com/updater/update_test_1.6.0.html The above are examples of this for prototype 1.6.0 & 1.6.0.1. I''m expecting the onComplete to fire after the update takes place, per
2007 Jan 22
11
getElementsBySelector broken in IE
Hi all: getElementsBySelector appears to be broken in 1.5 final on IE. getElementsBySelector works as expected in FF 1.5 final and also it works correctly in IE in 1.5 RC2. Here''s my simple code fragment: var els = element.getElementsBySelector(''[recnum]''); The variable els is undefined in 1.5 final on IE. --~--~---------~--~----~------------~-------~--~----~ You
2007 May 14
8
Problem with script.aculos.us script
I''m newbie to rails application. I like to use script.aculos.us script in my app. I faced the following problem. 1. first i creat my application. 2. Then I copied the files scriptaculous.js, builder.js, effects.js, dragdrop.js, controls.js and slider.js and prototype.js into my app/public/javascripts/ 3. Then included the <%= javascript_include_tag :defaults %> code into head
2007 Sep 27
4
transportXML returns null?
Hi, I want to load an XHTML file into DOM. I issue Ajax.Request and on success do: var response=transport.responseXML Response is null. On the other hand: var response=transport.responseText; // has the data. Why is response=transport.responseXML returns null? Here is the code: function display() { url = "http://" + location.hostname + port + "/fusion/
2007 Mar 08
7
ZKoss
Hi All, Has anyone here used zkoss.org? What do you think of it in comparison to scriptaculous? -- Leonard Burton, N9URK http://www.jiffyslides.com service-CbOvBfcOUrWrJCssh9Shfg@public.gmane.org leonardburton-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org "The prolonged evacuation would have dramatically affected the survivability of the occupants."
2007 Aug 20
3
Contribution on extending createElement
Hi all, I work a lot with scripts that modify the DOM, and I have always found quite annoying that the code would always get very verbose as soon as I wanted to create even simple structures : var my_div = document.createElement(''div''); var my_anchor = document.createElement(''a''); my_anchor.setAttribute(''href'',my_link); var my_text =
2008 Jan 16
2
Firebug alert issue workaround required
HI there, here is a basic piece of HTML/JavaScript that duplicates something similar in an application we''re working on: <html> <head> <script src="prototype.js" type="text/javascript" ></script> </head> <body> <div id="ST_1">ST_1</div> </body> <script> var widgetId = "ST_1";
2007 Apr 28
2
Tables & Databinding
Hiya, I''ve recently been looking at removing the dependency in our CRM/CMS on MSIE XML Databinding so that it''ll run properly in Firefox.. The solution I''ve created uses the prototype.js lib so I thought I might share my efforts here if that''s ok? It''s still _very_ early days but there''s the beginnings of a writeup here:
2007 Apr 17
5
Problem with toQueryParams()
I''m sure this has been covered before, but here goes... Anybody noticing some odd behavior with submitting forms through Ajax.Request? I thought at first it was a problem with Form.serialize, but was able to trace it back to line #975 (in prototype 1.5.1_rc2) which calls "toQueryParams" on the parameters that are passed into the new Ajax object if it is a string. This is the
2006 Jul 10
11
prototype hash method
var v1 = { a: ''value for a'', b:''value for b'' } var v2 = { c: ''value for c'', d: function(){some code...} }; var v3 = v2.merge(v1); I''m getting an error doing this... what is wrong?
2006 Feb 16
3
Firmware version 1.3.1 released for Aastra IPphones
There is no release note, just a text file that says AASTRA TELECOM INC. February 2006 FC-000046-01-07.st - 9133i Generic SIP Firmware 1.3.1.1095 for customer release. ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Gareth Owen Sent: 15 February 2006 02:00 To: asterisk-users@lists.digium.com
2007 Sep 20
10
Element.addMethods functions swallowing exceptions (IE6 + 7)
IE6 and IE7 are not correctly handling the ''throw'' command for functions attached to Element via Element.addMethods. Firefox and Safari are fine. See the example below. For IE6: functions called with no attributes (ie: funcName()) correctly handle thrown errors. Funcions called with attributes (ie: funcName("foo")) will respond to the throw command and pass execution
2008 Jan 18
5
wz_tooltip and updating the DOM
Hi all, I am using Prototype in conjunction with wz_tooltip and am having a problem with the tool tips not being updated in time. When a user mouses over a link, I am making an Ajax call to a CFM page that sends back an HTML table and updates the contents of a div with the returned content. I then call wz_tooltip and reference that div to use as the tool tip. However, what is displayed in the
2007 Apr 12
6
JSON handling in Prototype 1.5.1_rc2
Hi, I try to use the JSON encoder/decoder on JSON string receive from an HTTPRequest. And it failed to handle characters with accents (çéèà...) giving me an parsing Exception. I think because the convertion from string to object is a simple eval ! This make Protoype unusable for non americain characterset application ! Or I miss something ! Sad ! Constant
2008 Jan 04
6
Ajax.Request: onFailure vs. onException
Hello All, I''m trying to capture the exception message that my server application is providing in response to my Ajax.Request. However, I''m confused as to when onFailure is fired vs. onException. The onException handler has access to the javascript exception object and I''d understood that it was only called when the dispatch fails. Not sure what exactly that means
2006 Feb 14
1
Firmware version 1.3.1 released for Aastra IP phones
Aastra Telecom has released SIP v1.3.1 firmware for the Aastra range of IP phones (480i, 480iCT, 9112i and 9133i). The firmware and release notes (no updated admin and user guides yet) are available for download at: http://www.aastra.com/support/enterpriseip Contrary to what the version numbering would suggest, this is a significant update with many new features and bug fixes. See the release