similar to: Issue with Core Effect and AJAX Postback

Displaying 20 results from an estimated 3000 matches similar to: "Issue with Core Effect and AJAX Postback"

2006 Apr 13
0
Help ! Effect vs Ajax in script.aculo.us
Hi everybody, For me the most interesting of Effects is to do a visual effect will doing an ajax request because the user didn''t think that he is waiting for something. So, In a timeout function, I create an Effect and an AJAX call: ... Effect.MoveBy( ... ); ... Then do an AJAX Call ... setTimeout(function(){ getJsonRPC().callMyFunction(); },30);
2006 Jun 02
2
Prototype/Scriptaculous beginer question
Hi ! Sorry if my 2 questions are stupid: - Is there a way with prototype or scriptaculous libraries to get the selected text in an html page ? Or in a textarea ? - Do you know a good SDA or RSA javascript library other that this one: http://pajhome.org.uk/crypt/sda/index.html ? Best Regards -- Jean-Philippe Encausse Jp [at] encausse.net - http://www.encausse.com - http://www.jalias.com
2006 Nov 24
5
Merge, Compact Ofuscate or Compress Javascript Lib ?
Hi !, A little question about JS Lib manipulation... - I found that DOJO toolkit gives a DOJO Compressor jar file to compress JavaScript http://dojotoolkit.org/docs/compressor_system.html - On the other hand there''s no docs in Prototype or Scriptaculous and prototype files are merged. Why ??? 1. Compacting file will reduce bandwidth but is it useful with a server that gzip .js ? 2.
2007 Jun 26
5
Migration of Effect from 1.4.0 to 1.5.1
Hi, Is there migration for custom Effect between prototype/scriptaculous 1.4 and 1.5 ? Kevin Davis send me it''s cool Poof Effect but it seems to be tooooo fast in last version of scriptaculous. I think it comes from the code ? But I don''t know the best way to correct that ? Here is a copy/past of his mail for anybody interested in his Effect: > > Hey there, sorry for
2007 Feb 02
2
Quick Element.getElementsBySelector() question
Hi, Does this code should works ? elm.getElementsBySelector(''UL.class1 > LI.class2''); I have an error caused by "UL.class1 > LI.class2" - Does CSS Selector ">" works ? - What is the exact ? may be "UL.class1>LI.class2" Regards, -- Jean-Philippe Encausse - R&D Jalios SA Jp [at] encausse.net - http://www.encausse.com -
2007 Oct 15
2
Cross-Browser History management
Hi ! Is it plan to release a Browser History Management in Scriptaculous ? Or does anybody know a "prototype" library to manage browser history compatible with IE6, IE7 and FF ? We tried to use Really Simple History: http://code.google.com/p/reallysimplehistory/ But it seems to be incompatible with some Prototype event management. Regards, Jp -- Jean-Philippe Encausse - Veille /
2005 Jan 29
4
problem with postback generator on 0.9.5
I''m trying to call the postback generator on rails 0.9.5. I''ve installed the postback tarball into gems/1.8/gems/rails-0.9.5/generators/postback as it seems like it is supposed to be. At least, I installed the login generator the same way and it works. But when I try to run it, I get this: [carl@e236014 test]$ ruby script/generate postback
2008 Jul 09
4
Auto Postback in Ruby On Rails
in some other language have a concept e.i "auto postback" So, in Ruby on rails is there any such option e.i "auto postback" or same as "auto postback" basically what i want ot do is that i have 2 select box One for "Industry" and other for "Chemical" 1st we show all the industry in "Industry" select box. if we select any 1 industry
2006 Aug 14
1
Postback Action Problem
I was trying to use postbacks, but its not working. def edit @xxxx= xxxx.find_by_id(params[:id]) || xxxx.new if request.post? @xxxx.attributes = params[:xxxx] redirect_to :list and return if @xxxx.save end end I get the following error: SystemStackError in xxxxxController#edit stack level too deep. The code of list is same as the code generated by the scaffold
2006 Jun 14
5
Sortable Tree - Stoping Event dispatch ?
Hi, I''m trying to play with sortable tree and have two issues: I have an AJAX Tree looking like: <ul class=''TreeCat'' id=''work''> <li class=''open''> <img src=''s.gif'' class=''node'' onclick="Ajax.Tree.toggle(event,this);"/> <a
2006 Jun 27
3
find_by_id vs. find in postback action
I''m playing around with the Postback action recipe listed in the recipes book. Here is the default code given: def edit @recipe = Recipe.find_by_id(params[:id]) || Recipe.new if request.post? @recipe.attributes = params[:recipe] redirect_to :main_url and return if @recipe.save end end Here is what my code sort of ended up looking like, altho i''ve ripped it apart
2005 Apr 25
1
Problems when using sweepers with postbacks
I''m using a cache sweeper class [1] to take care of some pretty complex sweeping. However, there is a problem with the current implementation. Namely, the sweeper gets called only when an action named in cache_sweeper is called using GET. As many methods where sweeper would be useful are using postback to send the form to the same action, this causes the cache to get swept when
2007 Oct 12
13
How to maintain Form State between Postback ?
Hi all, I''ve trying to look for answers for my problem but so far couldn''t find one, hopefully you can tell me what to do. This problem is so ubiquitous to Web Development, pertaining the fact that the web is stateless, i.e. how to maintain form''s state between postback. Basically, I have a form with some validations run for some of the fields, whenever the user submit
2010 Apr 09
0
HOW TO STOP POSTBACKS IN SUPERREWARDS
Hi Am currently working with integrating superrewards where i came up with all the steps included with superrewards but i didnt find the clear documentation for stopping the postbacks from superrewards (i.e., to which url the postback reply has to be send).Have anyone worked with superrewards? Your help will be timely help thanks in advance.. -- View this message in context:
2006 Jul 04
0
Help with first AJAX action
I''ve used Rails for a while, but haven''t really done any AJAX until now. Now I''ve been fighting for days with my first AJAX action and after reliably crashing Safari and throwing errors in IE, I''m finally coming to the list for help. :) I have a "controls" div in my layout. This div displays a list of page-specific actions. When some of these
2005 Mar 07
3
Tons of shiny new stuff
Ok despite this crazy flu which got me last week i was able to get some coding done. Here goes: == Hieraki Hieraki got plenty of improvements next to the rails 0.10 update. The biggest new features are proper yaml, html and readme export. But there are also plenty of new code improvements like the switch to my favorite postback style for all controllers. Hieraki traditionally serves as a demo
2006 Nov 05
4
Why Struts2 use dojo instead of Scriptaculous?
Hi, I''m using prototype/Scriptaculous in my open source project JSControlsTags http://jscontrolstags.sourceforge.net/ I''m Struts user and in the new version Struts2, the framework integrate AJAX with dojo and not with Prototype/Scriptaculous. I asked in the Struts forum, why Struts2 integrate by default dojo and not scriptaculous. Here Struts answer : ------------------------
2008 Aug 21
1
validates_uniqueness_of not working - urgent
I''m using restful_authentication to let users register and login. Lately, however, I''m seeing multiple login and emails being created even though I have validates_uniqueness_of as below: user.rb validates_uniqueness_of :login, :email, :case_sensitive => false mysql> select id, login, email, created_at, state from users;
2007 Mar 04
23
Sound support for script.aculo.us
Hi all, I''ve added a new library called sound.js to script.aculo.us, which allows for playing (mp3-based) sound effects. It works without using Flash, by using IE''s internal sound playback mechanism (BGSOUND) and falling back on using whatever plugin is used for audio/mpeg on other browsers (in real world terms, this means QuickTime or a QuickTime- compatible plugin).
2010 Nov 09
3
Rails 3 Action Mailer issue
Hi All, I am trying to send an email on a user sign up. The email is working without any issues. However there is a problem with the :from field that I am specifying. My SMTP setting look like : ActionMailer::Base.smtp_settings = { :address => "smtp.gmail.com", :port => "587", :domain => "test.com",