Displaying 20 results from an estimated 30000 matches similar to: "Working with multiple objects on forms"
2007 Sep 06
0
Invite from Carl Woodward (cjwoodward@gmail.com)
CarlWoodward (cjwoodward at gmail.com)
has invited you as a friend on Quechup...
...the social networking platform sweeping the globe
Go to: http://quechup.com/join.php/aT0wMDAwMDAwMDA5NTI5MTMxJmM9OTkyMDg%3D
to accept Carl''s invite
You can use Quechup to meet new people, catch up with old friends,
maintain a blog, share videos & photos, chat with other members, play
games, and
2006 Oct 19
8
Mongrel::HttpHandlerPlugin
Hi,
I''m trying to write a file upload monitor for mongrel that uses
juggernaut to alert the browser of a change. I''m writing a plugin that
uses Mongrel::HttpHandlerPlugin but it looks like the only method that
gets called is process and that is only when the upload has finished.
I''m setting the following:
@request_notify = true
But I am still only getting process to
2006 Jan 19
1
rjs problems
Hi,
I am having trouble with rjs templates. Basically I want the item_div
to fade if its already open and then display the new item that the
user selected with the visual effect: appear. The code below causes
the browser (firefox on osx) to open the div and then close it again
as soon as it is open:
page.visual_effect :fade, ''item_div'', :duration => 0.5
page.replace_html
2006 Aug 10
16
Error on Solaris
Hi everyone, I''m having a problem starting rails on solaris. I have
made the changes suggested in the joyeur article but it doesn''t make
any difference. The error is below. Does anyone have any idea?
/opt/csw/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:666:in
`register'': undefined method `resolve'' for nil:Mongrel::URIClassifier
(NoMethodError)
2006 Nov 05
0
Forms with associations and collections
Hi
Does anyone have a good pattern for using a sinlge form for a model
with multiple associations including some has_many''s?
For example I have a Property model with a has_one association an
Address model and a has_many association to a Highlight model. I would
like to update these all on the same page however if I render the main
Property form, then use a partial for the address and
2006 Feb 14
1
timing how long a user takes to do a test
Hi everyone,
I have a quick problem. What I want to do is time how long a user
takes to do a test. To do this I would like to start a thread which
increments the time for a user. I would like do this for multiple
users and so I wanted to use a hash class variable (static). This
doesn''t work from my rails app, how ever it works fine in my test
code. After doing some research I see that
2006 Mar 20
0
Re: Problem with AJAX not working on IE
I am running the simplest web2 demo from AWDWR (./example/index) on a
slackware box running WEBrick on RadRails; with firefox and Konqueror (!)
3.4.2 anyway) everything fine; on laptop talking to my linux box, firefox
does it instantaneously; but... IE DOES DO it, but takes a full 31
seconds!!! (The RadRails WEBrick console shows the POST immediately, but IE
trundles for a full 31 seconds to
2006 Apr 11
2
Mapping contained objects to forms?
I''m having lots of trouble trying to map an object that contains another
object to the right forms param. So say I have Book which has one
Publisher. Here is what I''ve tried:
<p><label for="book_publisher">Publisher</label><br/>
<%= text_field ''book'', ''publisher.name'' %> </p>
Then
2009 Jan 27
2
working with tables -- was Re: Mode (statistics) in R?
Ok, so I'm slowly figuring out what a factor is, and was able to follow
the related thread about finding a mode by using constructs like
my_mode = as.numeric(names(table(x))[which.max(table(x))])
Now, suppose I want to keep looking for other modes? For example,
Rgames> sample(seq(1,10),50,replace=TRUE)->bag
Rgames> bag
[1] 2 8 8 10 7 3 2 9 8 3 8 9 6 6 10 10 7 1
2011 Sep 17
0
[LLVMdev] Build errors on r139985
Hi,
I get build errors when trying to build a fresh r139985.
Anyone got a clue?
carl at carl:~/Downloads/llvm3.0/llvm$ gcc --version
gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
carl at
2015 Apr 24
4
"hosts allow" not working?
On Fri, 24 Apr 2015, Klaus Hartnegg wrote:
> Am 24.04.2015 um 01:02 schrieb Carl G. Riches:
>> I'm unable to join a Windows 7 PC
>> to the Samba 4 domain when "hosts allow" is defined
>
>> hosts allow = 127 10.208.29. 10.108.29.
>
> Maybe the new version insists there must be a dot after the 127.
>
I put the dot in, to no avail. I also modified the
2006 Oct 28
2
onchange="document.forms[0].submit()" - how to CANCEL
Goal: I want to auto-send a form whenever any field changes. The page
will be updated "via Ajax", so standard submission is cancelled.
Idea: Add onchange="document.forms[0].submit();" to every field
Problem: Can not cancel form submission. Browser redirects to "results"
page, which is of course JavaScript meant to dynamically update the
page.
RHTML snippet:
2011 Mar 22
0
Error on ajax forms/links in jQuery UI tabs
I''ve implemented jQuery UI tabs, and I get an error:
When i submit a ajax form or link, it gets submitted multiple times.
As seen in this Doom console output:
DELETE http://localhost:3000/innmeldings/101 404 (Not Found)
DELETE http://localhost:3000/innmeldings/101 404 (Not Found)
DELETE http://localhost:3000/innmeldings/101 404 (Not Found)
DELETE http://localhost:3000/innmeldings/101
2006 Apr 19
1
AJAX - update item forms problem
I have a table showing some records from the database. These records
should be always ordered by some datetime field. The list of items is
changed by AJAX using RJS scripts and edits are done by showing and
hiding an update form under a chosen row. Adding and updating rows works
great but my problem is when the order of items is changed after making
some AJAX datetime updates update forms of
2015 Apr 24
0
"hosts allow" not working?
On 24/04/15 17:13, Carl G. Riches wrote:
> On Fri, 24 Apr 2015, Klaus Hartnegg wrote:
>
>> Am 24.04.2015 um 01:02 schrieb Carl G. Riches:
>>> I'm unable to join a Windows 7 PC
>>> to the Samba 4 domain when "hosts allow" is defined
>>
>>> hosts allow = 127 10.208.29. 10.108.29.
>>
>> Maybe the new version insists there must be
2006 Nov 28
1
observe_form, observe_field, dynamic forms help
I made a pretty lengthy post on what I''m doing here:
http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/89a2b8e54a874dd9
Short version:
I have a radio_button group of two. If one is clicked another pair of
radio buttons is added, if the other is clicked it is removed.
observe_form does not work for elements added after initial page load.
observe_field does not work
2006 Jun 13
1
mongrel_upload_progress & plugin question in general
Hello,
So, I grabbed the mongrel_upload_progress code from subversion
because I really need something similar for a project I am working
on. Anyway, I installed the gem and can''t figure out a few things.
1) I''m not sure what Upload < GemPlugin::Plugin "/handlers" is for
2) How to call the Progress < GemPlugin::Plugin "/handlers" handler.
While I
2015 Apr 23
2
"hosts allow" not working?
Wwe are doing some testing in preparation for our migration from Samba 3.6
to Samba 4.x. Because we must share networks with other groups, we want
to use the "hosts allow" parameter in smb.conf to restrict who can connect
to our Samba domain. This works great in 3.6. I'm unable to get it to
work with 4.1.16. That is, I'm unable to join a Windows 7 PC to the Samba
4
2007 May 05
3
Tell me why my Shoutcase handler sucks!
So, I want to build the greatest online radio ever! (for my, currently
crappy, faderwave.net radio station. Right now, I''m running Icecast
straight up. The only problem is that managing different DJs and
keeping them off the air when they aren''t supposed to be there is a
pain. There also is not one single management package that does
everything. My current system is a hacked
2020 Aug 03
0
Ubuntu 18.04 classicupgrade help
On Monday, August 3, 2020, 11:40:04 a.m. EDT, Rowland penny via samba <samba at lists.samba.org> wrote:
On 03/08/2020 15:39, Carl Hunter via samba wrote:
>? On Monday, August 3, 2020, 03:21:02 a.m. EDT, Rowland penny via samba <samba at lists.samba.org> wrote:
>?
>?
>? On 03/08/2020 00:29, Carl Hunter via samba wrote:
>>? ?
>>
>> Just got back from