Displaying 20 results from an estimated 200 matches similar to: "Ajax response won''t display"
2008 Apr 28
1
LC_REPORT ListCtrl Confusion
Hi,
I''m having some trouble allowing the user to edit a multi-column
listctrl. I can do the first column fine, simply by calling
ListCtrl::edit_label in the activate event, but it seems impossible to
do this for the other columns for two reasons. 1, the activate event
doesn''t allow you to get the column, and 2, edit_label onl;y works for
the first column.
Thanks,
Lucas
2007 Oct 28
2
Edit label in virtual listctrl
Hi,
I am testing a virtual listctrl, and have run into some problems with
changing the labels in it.
The listctrl shows a bunch of rows and columns, and it gets activate
events whenever I doubleclick on a cell. Works like a charm.
My problem comes when I call the edit_label method, specifically that I
think that I don't quite understand the argument passed to it (item as
integer). This
2008 Oct 24
4
Railscast 75, Observe_field and Shopping Cart
Hi all,
I have the shopping cart page where a user can add items dynamically
through ajax as explained in Railscast episode 75. I am using
observe_field to observe the ''quantity'' and ''cost'' fields to update
the total field for each item.
This does not work however, for records that are added through the
Ajax. How can i name the fields and observe them as i have
2004 Jan 08
3
pictorG
Hi!
Attached is the current version of my image organizing program.
If you dbl-click on a thumbnail, it will show the image (1:1 zoom) in a
dialog, and eat some memory....
Gergo
--
+-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+
| http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy |
| Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval
2006 Apr 14
2
Nested AJAX remote_form in form?
I''d like to achieve something that is better described by the following
code:
<%= start_form_tag :action => ''create'' %>
<%= text_area ''place'', ''description'', :cols => 100, :rows => 4 %>
<div id="categories">
<%= form_remote_tag :update => ''categories'',
2007 Apr 13
3
rspec on rails won''t install
Hi:
This command:
svn co svn://rubyforge.org/var/svn/rspec/tags/REL_0_9_0/rspec_on_rails/vendor/plugins/rspec_on_rail
Gives me this output:
svn: URL ''svn://rubyforge.org/var/svn/rspec/tags/REL_0_9_0/rspec_on_rails/vendor/plugins/rspec_on_rails''
doesn''t exist
If I go the ''script/plugin install'' route, I get "Export complete."
Anybody know
2006 Aug 07
0
integration test won''t run
Im trying to write and run integration tests in my app, but they keep
failing with an error like "uninitialized constant IntegrationTest"
secificly:
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/
active_support/dependencies.rb:123:in `const_missing'': uninitialized
constant IntegrationTest (NameError)
I tried creating a fresh rails app and was able to run an
2006 Jul 10
0
Paypal gem issues Webrick won''t boot :(
I installed the paypal gem and downloaded the plugin as instructed at
http://dist.leetsoft.com/api/paypal/ When the plugin is in the
vendor/plugins folder WEBrick refuses to start. No error messages, just
"=> Booting WEBrick..." then back to my prompt.
Do I have to declare the plugin someplace or something?
--
Posted via http://www.ruby-forum.com/.
2006 Jul 24
1
meantime_filter won''t pick up my missing methods
<code><pre>
module Scope
protected
def method_missing(method_id, *arguments, &block)
if method_id.id2name =~ /^scope_([_a-z]\w*)_to_([_a-z]\w*)/
scope_model($1.singularize.capitalize, "#{$2}_id", &block)
else
super
end
end
def scope_model(klass, foreign_key, &block)
eval(klass).with_scope({
:find =>
2006 Jul 31
0
validates_confirmation_of won''t work
Hello folks, this is the first time I''ve written to this forum. If
there''s already a topic on this, forgive me but the search isn''t working
right now.
I seem to have a problem validating confirmation of a password. The
first two snippets are some model code and some test code that work just
fine:
----------------------------
class Challenge < ActiveRecord::Base
2006 Jun 14
2
script/generate --pretend; Won''t
Cannot pretend:
> ruby script\generate --pretend controller entryform index
Couldn''t find ''--pretend'' generator
I just wanted to see what files it would generate...
Warren Fred
2006 Jun 21
1
WEBrick won''t answer
Hi
I''m starting with RoR, trying to get things working. I''m following the
onLamp tutorial for my first steps. At the point where i''m supposed to
start the server for the first time i''m not getting any further. WEBrick
seems to work:
=======================================
Microsoft Windows XP [versie 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
2006 Jun 28
2
hash value won''t increment with =+ operator
I have a database of bookmarks and tags, and want to count the number
of bookmarks each tag is assigned to, for example: user "tyler" has
the tag "concerts" on 15 out of his 30 bookmarks. This code:
hash = Hash.new("0"); @user.tags.each do |t|
@user.bookmarks.each do |b|
x = 0
if b.tags.include?(t) then
hash[b.id] =+ 1
puts "hash is #{hash}
2006 May 29
1
Server won''t start
Hi,
I have the demo "depot" running on my windows XP computer.For some reason I try to start the server. I select the server, click the green arrow, but it only displays the red button not the yellow restart that indicates that the server is running, along with the status message changing from stopped to running.
What have I done or ?
Jim
-------------- next part --------------
An HTML
2006 Apr 13
0
Re: One model won''t work like the others, generating weird e
Rails assumes tables that have a column called type are using a single inheritance pattern. For example, if you had a model called Article and then had a model called News and another called Feature that both inherit from Article. You can use a single table to represent both child types data. The type column tells rails which model should be used to create the object.
sean
-----Original
2006 Apr 30
4
renamed partial won''t render?
hi all
this works
<%= render :partial => "admin/works/work", :collection =>
@artist.works %>
but this doesn''t
<%= render :partial => "admin/works/worklist", :collection =>
@artist.works %>
even though the partial _work.rhtml and _worklist.rhtml are identical.
worklist.rhtml throws
undefined local variable or method
2007 Dec 20
2
0.24.0 won''t start
Hi,
I am having a problem where puppetd won''t start on one of my RHEL 5
machines with the --listen option enabled. 0.23.2 seems to run fine but
0.24.0 dies leaving the pid file still there.
I installed puppet using the latest gem from reductive labs. It works
fine on what is meant to be an identical system.
I tried running strace and it seems to exit after trying to write to a
bad
2007 Oct 28
1
Won''t be at RubyConf
Hi all
Sorry folks, I won''t be at RubyConf this year. I burned up the travel
budget with a trip to Thailand, a makeup trip to Florida, and I''m headed
to Florida again this Christmas.
At least this gives me more time to work on Wuby. :)
Regards,
Dan
2007 Apr 24
1
IPMark won''t compile on a vanilla 2.6.20 kernel
Hello,
IPMark won''t compile on a vanilla 2.6.20 kernel
I obtain this error during the compilation under debian sarge 3.1
CC [M] net/ipv4/netfilter/ipt_TTL.o
CC [M] net/ipv4/netfilter/ipt_IPMARK.o
net/ipv4/netfilter/ipt_IPMARK.c: In function `target'':
net/ipv4/netfilter/ipt_IPMARK.c:37: error: structure has no member named
`nfmark''
2008 Mar 26
1
bgrb won''t start
I get the error when trying to start backgroundRb 1.0.3 running on Rails 1.2.6
./backgroundrb start
./backgroundrb:11:in `require'': no such file to load -- /var/www/test/vendor/plugins/backgroundrb/config/boot.rb (LoadError)
from ./backgroundrb:11
is 1.0.3 able to run on rails 1.26 ?
this was my thought as to why it wasn''t working
unfortunately i cannot upgrade rails