Displaying 20 results from an estimated 400 matches similar to: "ajax and clearing the form"
2003 Dec 15
6
Secondary Groups and Group Mapping
We are having what appears to be two main issues in our attempt to setup Samba 3.0.0 compiled from src on Solaris 8. We are using Samba to provide Unix shares on W2K clients, and to authenticate against a W2K Active Directory server. OpenLDAP is used on the Samba side for the UID/GID to SID mappings.
The first issue deals with the file sharing. Even if a file gives full permission to one of a
2017 Jul 10
2
Samba ADS-member-server: FQDNs in /etc/hosts
Am 2017-07-10 um 12:08 schrieb Rowland Penny via samba:
> I would change /etc/hosts to this:
>
> 127.0.0.1 localhost
> 127.0.1.1 pre01svdeb01.my.tld pre01svdeb01
>
> ::1 localhost ip6-localhost ip6-loopback
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
>
> But replace '127.0.0.1' with the real ipaddress of pre01svdeb01.my.tld
> if
2010 Jan 20
5
disable submit_tag after click
This code disables the ''Save'' button once clicked, but doesn''t seem to
send the form data.
<%= submit_tag ''Save'', :class => ''submit'', :onclick =>
"document.getElementById(''save_button'').disabled=true;", :id =>
"save_button" %>
This code sends the form data and a record is created,
2006 Mar 23
10
Domain Requirements in Routes (Edge Rails)
I saw on the bottom of the following page that you can route requests to
different controllers based upon which subdomain is being requested.
http://wiki.rubyonrails.com/rails/pages/Routes
with_options :requirements=>{:subdomain=>''first.com''} do
map.connect '''', :controller => "first/catalog"
map.connect ''featured'',
2005 Feb 26
2
Any documentation for routes?
I''m having a hard time setting up routes.
So far what I have is that accessing /photos/view/YYYY-MM-DD correctly
accesses the photo stored for that date, but I''d like to be able to
access this as simply "/YYYY-MM-DD"
My first guess of:
map.connect '':year-:month-:day'', :controller => ''photos'', :action =>
2004 Jan 13
1
Winbind PAM authentication
Config: Solaris 8, OpenLDAP winbind backend, using AD for global users.
Is there documentation on what service_name / module_type pairs are
supported by pam_winbind? I've gone through the Samba-3 HOWTO book
and internet searches, but haven't found anything difinitive. I have been
able to tell through experimentation that winbind doesn't work with
"rsh auth", giving a
2006 Jul 24
1
Worker-be-gone
Hello,
Thank you so very much for Backgroundrb. Good Stuff.
A general question:
Do:
- calling ''teminate'' within a worker
- calling delete_worker through MiddleMan
- letting the :ttl expire
- calling MiddleMan.gc! (with an appropriate timestamp)
All accomplish the same thing?
And here''s a bonus feature request: It''d be cool if you could specify
how many
2006 Mar 24
2
Expiring cached actions outside of ActionController
In the site I''m building, my models are *almost* never updated within
ActionController-- all new data comes in via command line scripts
manipulating ActiveRecord directly.
Can anyone offer any hints about expiring cached actions without Sweeper?
-Ross
2005 Mar 08
2
ActiveRecords on the command line?
Hello-
I''d like to write command line scripts that have full access to my
Rails app''s data model and database.yml (in other words, I don''t want
to lose any of the abstractions and automation that make programming
with Rails so pleasant).
Can anyone offer a hint of where to start?
-Ross
2006 Mar 29
2
Fragment Cache Wackiness
I can''t seem to get the fragment cache to use :file_store. I''d really
appreciate it if someone could point me in the right direction.
Rails 1.1 final, FreeBSD
Observe:
In environment.rb AND production.rb (for good measure, DRY be damned):
ActionController::Base.fragment_cache_store = :file_store,
"/www/apps/localfeeds/directory/tmp/fragmentcache/"
At the console
2006 Mar 21
4
Feedtools
Hi all,
Is anyone else seeing silly amounts of segfaults with Feedtools?
They''re regular enough to make it unusable, but I haven''t pinned down
what''s triggering them yet. Here''s the error:
> deadlock 0xb75970a8: run:-/usr/lib/ruby/1.8/timeout.rb:42: [BUG] Segmentation fault
> ruby 1.8.3 (2005-06-23) [i486-linux]
Naturally, that knocks over WEBrick,
2005 Dec 18
1
Multiple selection....
Hi,
I have a table with a paginator and each row displays its own
checkbox.
I want to be able to offer actions like
select_all/deselect_all/select_partial.
The problem how does on record user actions so that the form is
correctly posted once the user hits submit ?
Can anyone point me out to an elegant solution to this common problem
?
Code or article would be great !!
Many
2006 Jul 14
1
SAS to R translator for particular procedures
Dear /Bill Paterson,
while trying to find a way to convert SAS code into R, I came across
your one time e-mail message
(http://www.ens.gu.edu.au/robertk/R/help/99b/0908.html). I'd appreciate
to learn if anything came out of this, or any suggestions.
Thank you in advance,
Mehmet Somel
/
--
Mehmet Somel
Max Planck Institute for Evolutionary Anthropology
Department of Evolutionary
2009 Jan 08
4
Problem with disable_with
Hi Group,
I have a registration.html.erb page with the following JavaScript at
the top which I use to validate form fields:
<script type="text/javascript">
<!--
function validate(){
if ((document.myForm.email_projectname.value=="")||
(document.myForm.email_projecttype_id.selectedIndex<1)||
(document.myForm.email_region_id.selectedIndex<1))
{
alert
2008 Mar 10
5
Passing extra parameters to functions called from Observers
Hi again,
When you have an ''obeserver'' setup as follows:
$(''myForm'').observe(''submit'', validateForm);
If a user submits the form the ''validateForm'' function is called and
is automagically passed the ''event'' to work with. This is fantastic!
But is there a way to pass another argument to the function?
2006 Apr 24
4
javascript in RoR page - Check ALL/uncheck ALL buttons
I am trying to implement a check all and uncheck all button for my check
boxes.
Here is what I have below. I am getting this error each time:
Error: document.myform.add_visit_for_this_Pt has no properties
Source File: http://localhost:3000/AddPatientVisit/addvisits
Line: 1
Strange that I can''t seem to pass value into the function.
Thanks for your help!
<SCRIPT
2013 Apr 05
2
model.frame: object is not a matrix
Over a decade ago there was a problem with model.frame when the variable
names were long:
https://stat.ethz.ch/pipermail/r-help/2002-August/024492.html
I have similar symptoms with R 2.15.3 on Windows 7:
Browse[2]> x <- model.matrix(formula(myform), p$data)
Error in model.frame.default(object, data, xlev = xlev) (from mice.R#601) :
object is not a matrix
My attempt at a work-around
2018 May 01
4
issue with model.frame()
A user sent me an example where coxph fails, and the root of the failure is a case where
names(mf) is not equal to the term.labels attribute of the formula -- the latter has an
extraneous newline. Here is an example that does not use the survival library.
# first create a data set with many long names
n <- 30? # number of rows for the dummy data set
vname <- vector("character",
2011 Jan 23
2
Passing in arguments into function
Hi,
I had a function that looked like:
diff <- lm(x ~ y + z)
How can I pass the argument to the 'lm' function on the fly? E.g., if I pass it
in as a string (e.g. "x ~ y + z"), then the lm function treats it as a string
and not a proper argument.
many thanks
[[alternative HTML version deleted]]
2007 Jul 03
2
"form_for" names fields using brackets = javascript problems
Hi all,
The "form_for" helper and its friends "text_field_for" etc generate form
fields with names like "forum[title]", i.e. using square brackets to
denote attributes on model objects.
Now, for the convenience of the user I want to do some simple
client-side validation to check that some fields have been filled in. So
I am trying to write javascript like
"if