similar to: problem with postback generator on 0.9.5

Displaying 20 results from an estimated 200 matches similar to: "problem with postback generator on 0.9.5"

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 Apr 14
0
Issue with Core Effect and AJAX Postback
Hi, I''m displaying an Effect during an AJAX request, unfortunately, during the postback, the Effect doesn''t display. Is there a solution ? Best Regards, -- Jean-Philippe Encausse - R&D Jalios SA Jp-vcK5r0oTKUrk1uMJSBkQmQ@public.gmane.org - http://www.encausse.com ICQ: 109796741 - AOL: NextOne6666 - MSN: Nextone6666-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org Mob: +336 82 12 56
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
2006 Apr 07
0
Dynamic Scaffolding vs. ScaffoldGenerator
I asked this question before, but didn''t get any response. I hope someone can give me some clue now. Here''s the background, I upgraded to rails 1.1 and suddenly I was getting strange failures in my functional tests. I traced the problem to dynamic scaffolding. I had overwritten all of scaffold''s methods in my controller (all but show and destroy). Destroy no
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:
2007 Jan 29
1
Asterisk, VoIP and Linux Blog.
Hello everyone! In my humble try of creating a Blog, I've made this: http://fameal.blogdns.org. By now, it's hosted in my own server but shortly it'll be moved to a serious hosting. All post are written in spanish, so it's only for spanish talking people, I will try to make it grow and have english articles. If someone is interested in writing in english (obiously I would help) I
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 Jan 05
1
Another newbie searching for help.....
Hello I'm wondering if anybody has ever done anything like what I'm trying to do, and if so please help!!! This is the situation. I'm working at a university that has a classroom full of WinXP PC's. These machines conncect to a Win Server 2003 box, where they get the user policies and active direcory stuff. Now, we want to put a switch and a Linux Server between the the classroom
2005 Dec 20
2
Designing a data-entry screen
Here''s what i''m trying to do: Have 3 dropdowns up the top of a page, being: year, month, department, and group. Also a button underneath that called refresh. When you click refresh, it finds the 1 row of data from the database for that year/month/dept/group and populates the fields into a set of textboxes below. Then you can edit what is in those textboxes, and click a
2007 Nov 14
0
Should receive field_for failing
I have a spec that''s not behaving as I''m thinking it should. Here''s the code: http://pastie.caboo.se/117931 it''s failing with: ActionView::TemplateError in ''customers/new should receive fields_for'' Mock ''ActionView::Base'' expected :form_for with ("address", #<Address id: nil, address1: "123 Main St.",
2006 Feb 23
0
Patterns for multiple forms
Hi, I''m currently sat at home ill and am thinking about a problem I''ve been looking at recently. I have a form that lets users enter orders into a system. At the moment its all pretty simple stuff (proof of concept rather than working just for the time being), with basic details about an order and a place for them to enter billing and delivery addresses. I am also
2007 Nov 20
0
Prototype error in IE for dom:loaded code
This is a wierd problem that I just encountered. Just to note what I am running, I am using Asp.Net and I have prototype as an embedded resource. (An embedded resource is just a way that Asp.Net can put the javascript into a .dll and then you access it through a unique url) This embedded resource is loaded in the head element, and is the first script loaded into the head element. Everything
2008 Mar 25
0
filter collection based on field value in the index.rhtml
Hi, I am using Rails 1.2.6 i have an items controller. i am using the templated index.rhtml so it displays everything in my items table each item has the following fields in database. id name category which is non unique price what i need is let say there is a drop down list in the index.rhtml which contains all the possible values of category in the items table. (I have managed this.)
2009 May 03
0
Mechanize & ASP/ASPX pages
Can anyone provide any tips/tricks for clicking through ASP/ASPX pages. From what I can remember about the .NET world, you move between pages by doing a javascript postback to a form. That said, I can mimic the javascript action and submit the form, but for some reason the .NET application always errors. What''s the secret! :-) I''ve managed to get one previous ASP page
2006 Apr 12
0
[ADV] New Rails Recipes Beta Available
Folks: The fifth beta of Rails Recipes, Chad Fowler''s book on writing real-world Rails, is now available. The book now has its full quota for 70 recipes. Here''s the complete list. Part I--User Interface Recipes In-Place Form Editing Making Your Own JavaScript Helper Live Preview Live Search Creating a Drag-and-Drop Sortable List (extract) Update
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
2006 Oct 16
0
Restful routes, not repeating yourself and non-standard rest actions best practices
So I''ve recently started playing with the restful routes support in edge rails, converting a few of my controllers to support all the standard operations.. One thing that''s been bothering me, however, is the following: Before using restul routes, I would define an edit method in my controller which would be responsible for both creating new objects as well as editing