similar to: Checkbox Help

Displaying 20 results from an estimated 1400 matches similar to: "Checkbox Help"

2006 May 30
1
Url encoding Help Pls!
Hi guys, it''s me again, I want to come up with the following url: www.mysite.com/webpage?myid=1 I keep coming up with the following url: www.mysite.com/webpage%3Fmyid%3D1 require ''uri'' $myurl = URI.escape("webpage?myid=") redirect_to(:action => $myurl + 1 ) what am I doing wrong? I also tried require ''cgi'' $myurl =
2006 May 31
3
Upsidedown Insertion
Hello again... All my insertions using de Insertion.After an Ajax.Request functions are being done upsidedown... i mean, when i need a couple of rows on the page, they come in a different order they should do... sorry my english... :-) did anyone had this kind of problem? -- Posted via http://www.ruby-forum.com/.
2006 Jun 28
9
Scaffold Issue with Postgres
Hi guys, I''ve been able to successfully install the postgres adapter for a remote database machine to get rails up. My machine is running on Fedora 2. Rails version 1.1.2. Is my yml config correct? I am getting this error when I execute script/generate scaffold service_contents content : exists app/controllers/ exists app/helpers/ create app/views/spiel exists
2008 Sep 15
2
Passing an array into controller
I am trying to pass and array from an AJAX Javascript function to a controller. The parameter is being read as a single string and not an array. The Javascript function: function sendtolist(formName){ var form = $(formName) var checked = [] checked = form.getInputs("checkbox","plans[]").findAll(function(item) { return item.checked; }).pluck("value");
2006 May 17
9
Render No Layout?
Hi guys, Am having a problem. I have this def in my index controller that works like this: def do_something $a = variable1 $b = variable2 $c = variable3 $d = ""<script language=\"Javascript\"> \n new Insertion.Bottom(''#{$c}'', ''#{$a} - #{$b}''); \n </script>" $trigger = "1" render(:partial =>
2006 May 31
8
New Rails site... RightCart.com
Hello Everyone ! Wanted to announce the launch of a new, 100%, Ruby/Rails based shopping system. http://www.rightcart.com (our blog: http://www.rightcartblog.com) It''s basically a shopping widget that allows users to make purchases directly through the widget.... no need to be redirected to a third party shopping cart. You can sell anything you want by upload the products onto the
2006 May 30
11
Another String Manipulation Exercise
Hi guys, And I thought it wasn''t a problem. Here''s my string "/var/www/vhosts/mysite.com/httpdocs/public/file/mypic.jpg" How do i take out all the text that comes before "mypic.jpg"? Trickier than I first thought. TIA, Bing -- Posted via http://www.ruby-forum.com/.
2006 May 18
3
How to call controller from a div
Hi guys, it''s me again, Just wanted to ask, what technique can you use to call a def inside your controller while clicking on a div? thanks, Bing -- Posted via http://www.ruby-forum.com/.
2006 May 19
2
Checking div generation technique
Hi guys, just wanted to ask, on the onset of our page, we generate several div''s. What we noticed on an intermittent connection is that several divs don''t get to generate all the div''s sometimes so we had to reload our page. Would you have any technique on how we can do this? thanks bing -- Posted via http://www.ruby-forum.com/.
2006 Apr 28
2
Trying to turn params field into a variable
Hi guys, I have another question, we have this line on our .rb code: @variable = params [:user][:bird] I need to be able to change the 2nd field into a variable because it is a changing valuename, I was wondering if you had any trick for that. Meaning I need to make [:bird] into [:dog] or [:cat]... It''s proven really tricky for me to get it to change I wonder if you guys had any
2006 Mar 02
6
Question about $F()
Hi Guys, Maybe this is a stupid question, but I am confused at the moment. The $F() function is a handy shortcut to get the value of the an input field. So, doing something like $F(''name'') is equivalent to document.formname.name.value which is pretty cool. Now, what if I have 2 forms on the page, that same field name "name"? What would $F return? It does not take
2006 Jun 08
1
Using hidden fields to pass values
Hi guys, Another question from a newbie. I need to update a div on my page which gets updated regularly. So what I''ve done is to create a hidden field which technically just contains the user_id. This field doesn''t change. I was planning of pulling that text field user_id data and putting it into params but it keeps on giving me a nil value. Is there a technique I could
2009 Jan 05
8
How to use evt_update_ui wrt RichTextCtrl ?
Hi, I''m trying to create a very simple RichTextCtrl sample based on the C++ version. This works pretty well now with the fixes for missing RichTextCtrl.selection_bold? ... methods. See the attached script. Given the formatting buttons (bold, italics, underlined), I can type text with the proper formatting, select some text and apply a formatting later ... The problem I have is I
2009 Jan 05
8
How to use evt_update_ui wrt RichTextCtrl ?
Hi, I''m trying to create a very simple RichTextCtrl sample based on the C++ version. This works pretty well now with the fixes for missing RichTextCtrl.selection_bold? ... methods. See the attached script. Given the formatting buttons (bold, italics, underlined), I can type text with the proper formatting, select some text and apply a formatting later ... The problem I have is I
2006 Jul 19
4
How do I overwrite/extend a scaffold module?
I have many pages to generate quickly. They are based off of the scaffold generator, but I want to convert the rhtml files to Markaby, and change some formatting. Without having to do a lot of repetitive hand editing. Is there a simple way to overwrite/extend part of the scaffold generator? Do I need to write my own from scratch? -- Best Regards, -Larry "Work, work, work...there is no
2009 Aug 14
2
RGoogleDocs: getDocs() - "problems connecting to get the list of documents"
Hi I have been using RGoogleDocs successfully for some time now but something seems to have happened which is preventing me from accessing my data in google spreadsheets. I get the message: "problems connecting to get the list of documents" when I use getDocs, despite being logged in e.g. sheets.con = getGoogleDocsConnection(getGoogleAuth("username", "password",
2006 Jun 15
1
Periodically Call Remote Condition
Hi guys, I''ve been reading through the forums and came across a response for adding :with condition to a periodically call remote. I tried it out and couldn''t make it work. Would anyone have a sample of how to use this conditional structure with periodically call remote? If not, does anyone have any idea how to add a condition to a periodically call remote? What I need is to
2006 Jul 19
6
Howto: Check_box with a variable (no model)
Hi, I would like to put a checkbox on a form where the input field is a variable rather than a field in a model. The normal way (with a model) would be: <%= check_box(''client'', ''accept'', {}, "1", "0") %> But since accept is a variable @accept and model client will not be there, how do I make a check box work? Regards, Paul
2008 Jan 04
2
problem with Menu.append_check_item()
Menu.append_check_item(), like Menu.append(), is supposed to return a reference to the created menu item. Here is a test code which seems to show that this behavior works for append(), but fails for append_check_item(). This is the output I get: % ruby test-menu.rb #<Wx::MenuItem:0xb74c036c> nil Am I missing something or is this a bug? Both menu items are created and work as expected. I
2009 Jan 28
3
putting match.call to good use
[This email is either empty or too large to be displayed at this time]