similar to: Ajax Problem

Displaying 20 results from an estimated 300 matches similar to: "Ajax Problem"

2013 Jan 29
1
points rejected as lying outside the specified window
Hello, I am using the following code to create ppp files from csv data and map shape files, but I am getting some errors which I have been unable to fix by searching them online: library(spatstat) library(maps) library(maptools) NYC2<-readShapePoly("nybb.shp") # this is a map of the NYC boroughs without waterways and no census tract divisions (but it does include lines separating
2005 Dec 15
3
Rails: Select and html forms
I''m close to getting this to work, but not quite there. I''m trying to implement a dropdown control, with the current choice selected. I have the following code in the view: 5 <select id="product_product_type" name="product[product_type]"> 6 <%= 7 types = ProductType.find(:all, :order => "product_type") 8
2009 Apr 12
5
Problems with jRails and ajax helpers
I working on a Rails 2.2.2 app that uses jRails and any time I attempt to use a Rails ajax helper, I get the following error: index 116545 out of string with this stack trace: vendor/plugins/jrails/lib/jrails.rb:197:in `[]='' vendor/plugins/jrails/lib/jrails.rb:197:in `build_callbacks'' vendor/plugins/jrails/lib/jrails.rb:119:in `options_for_ajax''
2007 Feb 13
1
RJS specs
Hi again... This is wierd spec problem no. 3. I''ve got a simple one line RJS file that renders a partial specified by the controller page.replace_html("product_info", :partial => @product_partial) The partials in question will contain purely static content - the idea is to have some dynamic links, so you hit http://localhost:3000/gap/product_info/product_1
2008 Jul 17
2
Problem with link_to_remote, RJS and jRails
Hi, everyone, I''m trying to update the content of a div using link_to_remote and RJS template. Everything works fine if I use the default Prototype/Scriptaculous libraries, but I want to use jRails ''coz other parts of my application use a lot of jQuery. Here are the steps I done: 1. inside StatesController.rb I defined the following action: def update_view # do nothing just
2013 Jun 10
1
Sending Email with Attachment
Hi, I am trying to send an email through gmail or outlook from my Windows PC and finding trouble to send the email. The code which I am using is given below: Code : library("sendmailR") from <- "abcd@outlook.com" to <- <mailto:efgh@gmail.com> efgh@gmail.com subject <- "Run at" mailControl = list(smtpServer="blu-m.hotmail.com")
2007 Nov 15
1
jRails plugin: jQuery on Rails
Hey All, I just built a new plugin that replaces most of the default functionality for Prototype/scriptaculous with jQuery. I still have some work to do completing the rest of the visual effects and writing some plugins for autocomplete and in-place editing but this release is pretty solid. It includes support for basic AJAX calls (form_to_remote, link_to_remote), RJS, observers (observe_form,
2009 Jun 03
0
TINY MCE Jrails media upload
Hi Can anybody give me idea to do media upload in rails using tiny_mce and jrails ? Thanks ! -- Ruby on Rails Developer http://sandip.sosblog.com http://funonrails.wordpress.com www.joshsoftware.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send
2011 Aug 02
0
jrails plug in and rails 3 compatibility
Hi people Today I just want to make a simple question. Is Jrails 0.4.0 compatible with rails 3? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to
2009 Apr 08
0
authenticity problem with jrails ajax
I''m using jrails and I found when I use the authenticity_token in certain javascript calls, that the url works differently in that the paramters in the :with clause get dropped if they are in a json type syntax. Below is an example of a remote_function() call from JS that used to work fine without authenticity. When I enabled authenticity it adds the authenticity token automatically, but
2007 Jun 08
1
Running test Rails app under JRuby and JBoss - experiences
Based on this article http://blog.saush.com/?p=208 I have created a simple speed test application to see how JRuby behaves under JAVA server. I created one controller with simple method that provides actual time for view. View is RHTML with simple code for publishing the time provided by controller. Then a packed the application into WAR(described in article) and published under JBoss 4.0.5 (on
2006 May 19
2
Problems with belongs_to table joins
I am looking for a little assistance with a problem I have with a simple table join using Rails. I am a relative newbie to both Ruby and Rails so any help would be greatly appreciated . I have two tables products and product_formats. create table products ( id int not null auto_increment, title varchar(100) not null, product_format_id integer
2011 May 31
0
Finding the adjusted confidence intervals in a group sequential trials (akin to GroupSeq), but in a simulation setting
Hi there, I want to find the adjusted confidence intervals in group sequential trials in a simulation setting. GroupSeq provides me with what I am looking for in an interactive setting, but I am not sure how to make it work in a simulation setting so that it produces a series of adjusted confidence intervals for a series of Z-statistics that I provide it without me having to enter each
2009 Feb 09
0
submit_to_remote change from 2.1 to 2.2 now gives wrong number of arguments
Hi, this snippet <%= submit_to_remote(''create_button'', ''Add Phone'', :submit => "phone_form", :url => send( "#{@phonable_type.to_s.downcase.singularize}_phones_path", @phonable_id),
2008 Mar 28
0
Problems with URL encoding
Hi I have a problem when sending parameters from link_to_remote. My link code: <%= link_to_remote "Remove", :url => object_relation_path( :id => 0, :object_relation => { :parent_id => @product.id, :parent_type => "Product", :child_id => content_object.id, :child_type => "ContentObject",
2006 Aug 15
2
Are form_remote_tag and submit_to_remote mutually exclusive?
Do I need to use submit_to_remote in conjunction with or instead of form_remote_tag? The description in the API docs. is confusing. Is the combination of form_tag/submit_to_remote valid? Is the combination of from_remote_tag/submit_tag valid? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2008 Jul 21
2
using image with submit_to_remote
Hi How can I give an image to submit_to_remote .I could successfully do it with link_to_remote as below..But the same not working with submit_to_remote <%= link_to_remote( image_tag("/images/cancel.png", {:alt => ''Cancel'', :class=>"noborder",:title=>"Cancel"}), {:update => "search_contact_div", :url
2006 May 19
2
Problem with joins and overlapping field names
Hi, I have the following code: @conversation_pages, @conversations = paginate(:conversations, :per_page => 20, :joins => ''LEFT JOIN messages on messages.conversation_id = conversations.id ''+ ''LEFT JOIN email_addresses on
2010 Mar 30
0
highcharts-rails from github not successfully installing
Hey all, I tried to install the highcharts-rails plugin from github as specified in the instructions: Installation Get the plugin: script/plugin install git://github.com/loudpixel/highcharts-rails.git Run the rake setup: rake highcharts_rails:install But when I run the script/plugin install... It installs a couple of files only and not all the required files, I presume, because when I run
2010 Mar 11
0
jrails_auto_complete problem
Hi All, I know this is not the right place to ask, but I am sure many people would have faced this weird jrails_auto_complete hovering problem. You can see my code here: http://pastie.org/864655 Everything works fine when auto-completed element is selected correctly. But selecting an element from the auto_complete list by mouse is tough (it''s all messed up). Somebody posted a similar