similar to: Subject: Trying to Get Results from Form Element

Displaying 20 results from an estimated 200 matches similar to: "Subject: Trying to Get Results from Form Element"

2006 Jul 08
1
Need Help Understanding Situation with Table Columns
I am trying to create an application loosely based on the Depot application presented in Agile Web Development with Rails (AWDwR). I am using InstantRails for the server. In my app I have the folowing controllers: admin_controller application_controller city_map_controller (with method: displayGMap) The admin_controller was created with the following command: ruby script/generate scaffold
2006 Jul 08
0
Subject: Trying to Get Results from Form Element -CLOSED-
Thanks for your advice. It turns out that I had access to what I needed all along. All I had to do was stop thinking of the (form) result as a hash and start thinking of it as a list. The following line is what I use to get the desired result. citySelection = Gmap.find(:first, params[:mapPoint].values[0])
2009 May 17
1
MapPoint 2004 and Swing App
Hello, I am new to Wine. I have a swing app that requires the use of mappoint. Currently it runs on a windows box. The new box the app will be running on will be XBuntu. Using Wine I can install MapPoint, however on windows I will using Java2COM from Neva Objects which allowed the swing app to talk to mappoint. How would this be possible if I switched to XBuntu? Any idea? Cheers
2007 Jan 18
1
Clusterer generating javascript syntax error
Hi all, I''m using Ym4r with the Clusterer. The GMaps code in my controller looks something like this: # geo is an array of lon/lat points session[:gmap] = GMap.new(''map_div'') session[:gmap].control_init(:large_map => true,:map_type => true) session[:gmap].center_zoom_init([38.134557,-95.537109],4) markers = Array.new
2006 Feb 01
3
Parsing RDF coming from a URL
Hello, i''m writing an application that needs geocoding information for locations outside of the US. I''m using the brainoff.com geocoding service mappoint = Net::HTTP.new(''brainoff.com'', 80) response = mappoint.get(''/geocoder/rest/?city=Gent,BE'') logger.debug response.body and the body of the response is in the following form : <rdf:RDF
2011 Jul 14
1
rails 3.0.9 ArgumentError (redundant UTF-8 sequence):
Hi guys, I have a simple controller def gmap @intentsearches = Intentsearch.all logger.info @intentsearches respond_to do |format| format.html {render :gmap} format.xml {render :xml => @intentsearches } format.json { render :json => @intentsearches } end end and want a json response, but i do get the following error Completed 500 Internal
2010 Oct 25
0
Re: Trying to install MapPoint 2010
my specs are: laptop running Ubuntu Maverick 10.10 wine 1.3.5 I installed microsoft street and trips 2010 with no problem at all I installed microsoft mappoint 2010 with no problem at all but when I try to start the program(both) they start normal and go to activate like waiting for the Key but there is no box where to type the key and the Next button is gradish out,so I can not continue to finish
2005 Feb 16
0
MS autoroute express (a.k.a. mappoint or "street and trips")
Hi I attempted to run MS Autoroute Express 2005 on wine 20050211. (I believe this fantastic product is marketed also under the names MapPoint and "Street and Trips" depending on market and target). I had wine setup done by winetools: basic setup, ie6, arial, ms installer. i installed the product directly from cd (*) the installer forced an update on the system (to update its office
2007 Apr 10
0
Mappoint (Microsoft mapping) and ruby on rails
Hello guys, Have any one tried to use Microsoft Mappoint with Ruby on rails? How did you talk to the service? Adi -- 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
2011 Jan 18
1
Changing gmap marker icons while onclick
Is there any way to change gmap marker icon while onclick and get back its original icon while clicking another marker or map. Suppose, In my gmap, I''m showing events in different colors(icon''s). while clicking a marker the icon should change to yellow and should get back its original color when clicking another marker on the map. -- You received this message because you are
2006 Jul 31
1
How to get result of following SQL Query in Ruby?
Hi, I have 2 tables as follows:- _________________ ________________ ____________ taggings | |stores | | tags | -----------------| |---------------| |------------| --tag_id | |--store_id | |tag_id | --store_id | |--store_name | |tag_name | --user_id | |---------------| |------------| -----------------| Now I want to execute
2006 Jul 25
1
Blank map?
Hey all, I''m a little frustrated here. The controls for the Google Map show up, but the map itself seems to either never appear or to briefly flicker onto screen, then to disappear. My controller is simply this: @map = GMap.new("map_div") @map.control_init(:large_map => true, :map_type => true) @map.center_zoom_init([0, 0], 6) and my view is this:
2006 Nov 02
2
Update map
Hi! I''ve just started playing around with the ym4r-plugin and try to update a map as explained in the README-example... but nothing happens. I can update normal html. Heres my baby-code: class AdminController < ApplicationController def index @map = GMap.new("map_div") @map.control_init(:large_map => true) @map.center_zoom_init([59.91106, 10.72223],16)
2008 Aug 02
0
thematic maps, missing data, gmap
Running R version 2.6.1 under Gentoo Linux, I'm trying to produce a thematic map of the USA using the gmap package and its function USALevelPlot. The variable whose levels are to be plotted is observed for 49 states but missing for one (Delaware). I would like to produce a map in which the states for which data exist are shaded and Delaware is represented only by an outline. In contrast
2007 Mar 08
1
map not displayed after Ajax.updater request
In my layout header I inserted the standard helper : GMap.header I built the map in my controller , I build either a standard table or a map and display it in the corresponding partial the map is built without any problem with the icons and markers ( @map is correct...) @map = GMap.new("map_div") ... @map.icon_global_init(GIcon.new(:image =>
2008 Jan 26
0
Error: no such file to load -- geokit (plugin is install)
Hi, after spending hours on getting geokit and ym4r running I don''t know how to do or how to getting a test running. I have try the tutorial from http://www.railslodge.com/plugins/179-ym4r but I don''t get it :(. Has sone one other tutorials he can recommend? Maybe someone knows were I did my mistake (I only want to show a fixed address, no database connection so far, pure
2005 Oct 28
1
SF Beer & Pizza SIG - review and forecast
Wednesday''s Beer & Pizza SIG was attended by about a dozen Rubyists, plus one extremely well-dressed gentleman (no hacker he!) who was on the prowl for Rubyists to hire. Beer and Pizza (among other things) were consumed, Ruby (among other things) was discussed, and everyone appeared to have a good time. The upcoming SIG will, as announced previously, be held just up the street at
2006 Aug 03
3
Calling/Executing javascript functions from controller
Hey all, How can I call a javascript function from my controller? Is it possible to simply call a javascript function from directly in the controller WITHOUT needing an AJAX request to come through via link_to_remote or remote form? As an example I''ve tried: class RandomController < ApplicationController before_filter :login_required, :except => [:index, :initialize] def index
2007 Oct 16
3
can''t define custom GIcon
Hi, I am having trouble getting custom GIcons to display. Here is the code in my controller: @map = GMap.new("map_div") @map.control_init(:large_map => true,:map_type => true) @map.icon_global_init(GIcon.new(:image => "images/APBox-20.png "),"ap_none") infoString = "Friendly Name: "+result.friendly_name+
1999 Apr 17
1
Maps in R
Apologies in advance from an R newbie if this is a dumb question. Is it possible to produce choropleth maps in R? I gather from some nice research papers on the AT&T (sorry, Lucent) S web site that in S (and S Plus) there is a map() function which uses arrays of polylines and regions to draw map borders and then fill them with patterns or shades according to some scalar quantity. We currently