Displaying 20 results from an estimated 200 matches similar to: "Upload Progress, Error in Ajax.PeriodicalUpdater"
2005 May 17
5
Strings, Variables and GetText
Hi,
I''m starting to use GetText and have this code:
render_text %(<script language="JavaScript" type="text/javascript">
parent.mainframe.onUpdateNew("Gallery <b>#{@media.name}</b> was
successfully created.",
"#{@media.name}","#{String(@media.id)}","#{@media.media_type}");
</script>)
I need to convert
2005 Apr 20
4
Error in tutorial or sintax changed?
Hi,
In this tutorial
http://wiki.rubyonrails.com/rails/show/HowtoUseJoinsWithFindAll
it sad:
sql =<<SQL
SELECT articles.*, authors.name AS author_name
FROM articles
LEFT JOIN authors ON author_id = authors.id
SQL
and this return
*app/controllers/media_controller.rb:366: can''t find string "SQL"
anywhere before EOF*
what is wrong? the tutorial or ruby changed?
please,
2005 May 10
6
How not to use AJAX
Hi all,
Just ran across this article
http://blog.taragana.com/index.php/archive/how-not-to-use-ajax/
and was curious what the consensus is on the bookmarking and search
indexing problems. I remember seeing something about bookmarking on the
list. Thanks,
Ben
--
Ben Jackson
Diretor de Desenvolvimento
INCOMUM Design & Conceito
ben-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org
2005 Jun 08
7
Rails/lighttpd: Changes to controller not being seen?
This is a weird one:
My app works fine on our local box with webrick. After uploading to TxD
server, the app starts behaving weirdly. I make some edits to one of
the controllers and my changes don''t seem to be going through. So I go
ahead and change the name of the controller file. The page loads
without error. I figure maybe I''m in the wrong directory, so I change
the
2005 Jun 21
3
dynarch calendar problem when used with ajax
I''ve got a partial with a form using the dynarch calendar
(calendar_field behavior). Working.
Now I render this partial from the action specified in to a link_to_remote.
Now when I click the calendar it''s not showed anymore.
theese lines:
<%= stylesheet_link_tag ''calendar-system.css'' %>
<%= javascript_include_tag ''calendar'',
2006 Feb 17
7
Rich Text Editor (RTE)
Hello,
We are developing an commercial application that need to use an RTE.
Someone know one RTE editor that can I use in an commercial application?
We need basic functions to format paragrapher, bold, italic, ...
I found FCKEditor but it is very expensive and weight.
I found this list too but don''t know what is trustful:
http://www.geniisoft.com/showcase.nsf/WebEditors
Some
2005 May 29
0
validates_length_of && validates_presence_of: Duplicate error messages?
validates_presence_of :login , :on => :create, :message => "Please
enter a login."
validates_length_of :login, :within => 3..40, :message => "Login must
be a minimum of 3 characters."
Right now if the login field is left blank, both these errors get
thrown. I assume that setting a conditional for the first one if the
second one is thrown, something like
2005 Jun 24
0
lighttpd - sporadic mysql errors
I''m getting a strange error in the production.log (I''m on a TxD shared
server). The first entry is a successful request from right after
restarting lighttpd and killing all the procs, the second is the error
after accessing the site half an hour later without having changed
anything. Restarting lighttpd resolves the issue. What might be going
on?
2005 Aug 18
0
Vitalsource - what are the potential applications of this?
If you haven''t seen Vitalsource (http://www.vitalsource.com), take a
look at it. Very cool stuff, apparently they''re putting a native GUI
frontend on their Rails app.
What kinds of possibilities does this open up?
___________________
Ben Jackson
Diretor de Desenvolvimento
ben-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org
http://www.incomumdesign.com
2006 Jun 16
2
Javascript error?
Hi, I''m trying to get this progress bar plugin working, but I''m
having some trouble.
I''m running Apache 2.0.52 with mod_fcgid on Mac OS X. Everything
seems to be working fine, but the progress bar simply doesn''t work.
In my log I get:
Multipart upload with progress (id: 1, size: 176731770)
Finished processing multipart upload in 18.96244s
but no requests in
2006 Jun 16
6
Drag and Drop work in IE?
Please,
I''m build an drag and drop tree using scriptaculous and it is perfect in
FF but when I test in IE don''t work, I drag the element and when I free
the button the element don''t go to the place, stay in the mouse pointer...
What can do it happen? I''m using last version of scriptaculous.
Thank you,
Pedro
2006 Mar 07
2
Using form_tag_with_upload_progress
All,
I''m attempting to use "form_tag_with_upload_progress"
http://railsmanual.org/module/ActionView::Helpers::UploadProgressHelper/form_tag_with_upload_progress
However, I''m having a hard time understanding what I''m supposed to
provide and where in order to take advantage of it. There''s a lot of
information and I''m sure I can figure it
2005 Dec 21
0
Prototype: correct useage of onComplete with Ajax.PeriodicalUpdater
Hello all,
I know it''s a Prototype question, but I hope someone can tell me what
I''m doing wrong (I hope Prototype gets documented soon ;-(
Problem: using a onComplete callback with Ajax.PeriodicalUpdater
(using scriptaculous 1.5 with Prototype 1.4)
Works:
function fooBar() {
Element.hide(''foobar'');
}
new
2006 Nov 08
1
Yet another periodicalupdater question
I have something I want to do with the periodicalupdater..
1) place text in a field by id (I know how to do this part as
periodicalupdater makes is quite easy)
2) run a javascript statement to assign a value to a variable.
Any ideas how I can do this with one periodicalupdater statement?
Thanks,
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2005 Dec 21
1
RE: Prototype: correct useage of onComplete withAjax.PeriodicalUpdater
>From a quick look at the source code, it looks like onComplete is only
called when the whole thing is done - in the case of Updater, right
after the update, in the case of PeriodicalUpdater, right after it has
been stopped.
It looks like you need to pass your callback method as an ''insertion''
method in the options. This takes two parameters, the first will
probably be the
2006 Jul 17
1
RJS and PeriodicalUpdater -- example?
In a controller, I''m trying to do
def do_some_periodic_thing
render :update
page << ''var foo = new Ajax.PeriodicalUpdater("someDiv",
"/some/path", {asynchronous:true, frequency:1, evalScripts:true} );''
end
end
In the view, I have
<%= link_to_remote "Test Periodical", :url => { :action =>
2007 Aug 29
1
Re: using Ajax.PeriodicalUpdater in iPhone
it''s probably the iPhone.
I mean, would you *really* want your phone to be connected to the internet
all the time?
On 8/28/07, richieright-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <richieright-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
>
> Hi,
>
> I met a strange problems with PeriodicalUpdater in iPhone. This timer
> event will last only four or five
2007 Feb 23
4
Does Ajax.PeriodicalUpdater have a shield against multiple parallel executions?
Hello
Does Ajax.PeriodicalUpdater have a shield against multiple parallel
executions?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email
2008 Apr 21
0
Stopping Ajax.PeriodicalUpdater based on response
I have an Ajax.PeriodicalUpdater updating a div on my page and I want
to be able to execute the stop method when the div contains certain
content. As I understand it, I cannot pass in an options.onComplete
handler and onSuccess is executed before the response is completely
interpreted by the browser. I tried using Ajax.Responders, but that
didn''t seem to help. Do I need use AjaxUpdater
2007 Mar 07
0
PeriodicalUpdater with Logarithmic decay
Greetings all,
So, I''ve finally found a place to play around with the
Ajax.PeriodicalUpdater. In looking at the API, I''m liking the decay
option -- not necessarily for my current purpose, but just to keep in
mind -- and I have a question: can the decay be a function which
returns an integer? Basically, why I''m looking for is a logarithmic
decay (where the system