Displaying 20 results from an estimated 9000 matches similar to: "302 redirects"
2007 Sep 17
5
Script.aculo.us effect queues & Ajax.Updater()
Hey guys,
I''m new here and just checked out Prototype with Script.aculo.us and
have to say it''s a great experience once you get the concept. However,
I''m not very experienced with JS so I''m a bit stuck on something I
think is quite easy to solve:
What already works:
A searchfield is observed by a DelayedObserver, a list of contacts is
updated vie Ajax updater.
2007 Apr 04
3
Ajax.Updater -- returning failure from a php script
If I give Ajax.Updater a first arg like{ success: ''replies'', failure:
''errors''}, how do I return an error from a php script so the message
goes in ''errors'' rather than ''replies''?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on
2008 Jul 07
4
script.aculo.us slider - this and event handler - depending sliders
Hi,
I successfully created depending sliders with prototype and slider.js.
See the result here: http://www.soa-world.de/dev/slider/slider.html
(here''s the code: http://pastebin.com/ma1e82eb)
There is one problem with my code. What I do is I have a sliders class
"function sliders()"
inside I create the 5 sliders in a for loop and store them inside an
array which is a member of
2008 Mar 22
4
Ajax.Updater not fully work in IE7
My code snapshot: correct work in FF , Opera and Safari, but in IE7 -
isn''t return result
<form action="test.php" method="POST">
<div id="country" style="border: 1px solid #ccc; width: auto"></div>
<br/>
<a href="javascript:getTest()">test</a>
</form>
<script
2008 Jul 11
2
Error in prototype.js ......var value = element.style[style];
Hi,
I have a script that throws an error in prototype.js on line 1889. Its
just started showing...it''s not breaking my app at all just showing
the error. I can''t track back to where it started happening though.
It''s this line.
var value = element.style[style];
Has anyone encountered this before....do yiou have any hints on how to
track this bug down?
2007 Apr 23
3
getElementsBySelector problem in IE
I''m having this problem with IE and getElementsBySelector, but am a
relative js novice, so quite possible -- likely even -- that I''m doing
something stupid. Either way, a fresh pair of eyes would help.
Basically I''m duplicating a fieldset within a form (so you can upload
more than one photo). [BTW, the fieldsets have a CSS id which relates
to the object id of the
2007 Jul 02
3
list box poupulation using php,mysql and ptototype
I have some problems with php and Prototype.I am trying to implement
listbox population (second dropdown box values depend on first
dropdown) using php,Mysql and Prototype.But i have no idea how to
implement . I hope you all have sucessfully done this, please show me
an example
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
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 Dec 18
11
Ortho - a library for JavaScript Graphics and Text
I''ve written a JavaScript library called Ortho (http://www.craic.com/
ortho) on top of Prototype for creating ''diagram-style'' graphics in
JavaScript. You can create histograms, graphs, timeline plots, ''maps''
of genomic data, annotated images, tree diagrams, etc.
Unlike Canvas, it seamlessly integrates text with graphics and the
output looks the same
2009 Jul 31
8
Would like include model association in to_xml
i have:
class Library << ActiveRecord::Base
has_many :books
end
class Book << ActiveRecord::Base
belongs_to :library
end
in my controller i have:
render :xml=> Library.find(:all).to_xml(:include=>books)
but, i would like put a condition in the books ( e.: pages >= 100 )
i would like to create a xml with all Libraries, but books with pages more
than 100)
How to
2010 Jan 03
9
ferret search in production
Hi there,
after recently deploying my app, I have noticed that the search
results are not being displayed...
When I look in my app, I also notice that the apps content (search
criterea) is not being indexed, so I dont have an index folder being
created.
I read on a google post that it may be that the ferret.yml server
isn''t started (or perhaps the content of this file are not right)
I
2008 Dec 20
9
Upgrade to Rails 2 - problem with "save" (MySQL boolean issue?)
I have been working through an upgrade of my 1.2.6 application to
2.2.2.
I am almost there but I have hit a problem with ActiveRecord.
Before the upgrade, the following code was working fine.
def create_root(administrator)
root = create_root_collection(self.pingee_name,
administrator,
2009 Dec 24
12
no such file to load -- ferret
Hi there,
I''m just trying to deploy my app to my vhost, and i''m getting an error
on the phusion passenger page:
no such file to load -- ferret
now everything worked fine in development.
DO i need to reinstall the plugin and gem again? if so - would these
be in domain.com/public? or should it be installed at domain.com?
ANy advice would be great!
THank you.
--
You received
2009 Dec 29
15
help needed - undefined method `reenable' for <Rake::Task db:schema:dump => [environment]>:Rake::Task
Hello,
I am trying to deploy my app at the moment, and each time I do, I get
the following error when i run a trace on it:
rake db:migrate --trace
(in /srv/some area/someplaceelse...)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
** Invoke db:schema:dump (first_time)
** Invoke environment
** Execute db:schema:dump
rake
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."
2008 Jun 19
7
getDimensions() fails for elements with ancestors with display: none
Prototype v1.6.0.2
If any of an element''s ancestors are hidden, Element.getDimensions()
returns misleading values. In order to address this in my own project,
I made the following modification:
getDimensions: function(element) {
element = $(element);
var display = element.getStyle(''display'');
+ var hiddenAncestor = element.ancestors().any(function(e)
{
2008 May 30
7
Styling an Anchor Tag With Prototype
I have a question: How do you style the various components of the
anchor tag? I am doing it this way:
$$(''a:link,a:visited'').each(function(link){ //links
link.setStyle({ color: ''#''+$F(''cp4_Hex'') });
});
$$(''a:hover'').each(function(link){ //links
link.setStyle({ color: ''#''+$F(''cp5_Hex'')
2012 Nov 26
8
why functional test does not get failure?
The test:
test "should get new" do
get :new, :room_id => @room.name
assert_template(:ne)
end
the template new does not exists but the test does not get failure.
Why?
--
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
2009 Aug 18
7
** Removing all instances of mysql on mac osx **
I am trying to switch from sqllite3 to mysql on Ruby on Rails.
Whenever I try to install the mysql gem, i get an error:
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
I cd''d into my usr/local/bin directory and saw i have several
2009 Nov 17
6
after changed the tag i got the same eror
SyntaxError in Upload#index
Showing *app/views/upload/uploadfile.rhtml* where line *#10* raised:
compile error
app/views/upload/uploadfile.rhtml:10: syntax error
Extracted source (around line *#10*):
7: <% end %>
Trace of template inclusion: app/views/upload/uploadfile.rhtml
RAILS_ROOT: /home/malathi/www/upload
Application Trace <http://localhost:3000/upload#> | Framework