Displaying 20 results from an estimated 2000 matches similar to: "refocus on text_field"
2007 Sep 25
2
Character limit for text field
I was just wondering if there is a way to limit the number of characters
that can be entered in a textfield? Here is what I have for a helper:
<%= text_area ''user'', ''rentalcar_comments'', :size => "69x4" %>
I am describing a size but I need it to only allow a certain number of
characters and no more. Is that possible or am I going to have to
2007 Jul 20
4
the value in text_field helper
I have been working on this small, minute, part on my project and it all
hinges on setting the value in a text_field helper. Saying:
<%= text_field ''user'', ''company'', :value => @login %>
does not do it. When I go and look at the raw html, there is no value
there and "value" is an attribute of the input tag, im pretty sure. I
really like
2006 Jul 16
3
Binding text_field et al to object.attribute.name
Hi all,
Suppose I have a PurchaseItem model which refers to Product model...
class Product < ActiveRecord::Base
has_many :purchase_items
end
class PurchaseItem < ActiveRecord::Base
belongs_to :product
end
To keep things simple, one of the attribute of the Product model is
title.
On the interface, I have a textfield that I need to bind with
@purchase_item.product.title.
2010 Nov 08
1
API Google MAPS
Hello everybody,
I''m working with Version 3 of Google Maps JavaScript API, and I have
the next code:
In a layout of my application:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/
libs/jquery/1.4.1/jquery.min.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?
2008 Oct 31
6
link_to submit form value 2
Hi to all,
I''d like to pass with a link to values inside some form. I''ve read in
other posts that it''s possible if i include the forms inside a html
<div>...
So here it''s my code of the view :
<div id="study">
<table>
<tr><td><label for="study_titolo">Titolo di
2011 Mar 10
4
Multi-model forms
Hi guys, I''m new to ruby and rails and I''m working on multi model
forms, specifically 3. I''m using this http://guides.rubyonrails.org/getting_started.html
as a start, and its got a 2 Model example but I cant seem to get the
last one working.
These are my models:
Country name:string code:string (has_one :address)
Address address_line1:string
2009 Jul 10
3
text_field_with_auto_complete
I need to pass a parameter in my text_field_with_auto_complete and am
struggling to discover how to do this. I have something like this:
<%= text_field_with_auto_complete ''user'', ''username'', {}, {:with =>
"''post=''@company_title.id"} %>
but because it is in a partial that pops as a result from a
remote_function_tag, I am
2019 Aug 07
0
samba-tool PTR with /16 network
Hai,
?
Good your asking this.
I should have tested it... and NO, PTR lookup is not working correctly in this case.
?
I've reported it as a bug.
https://bugzilla.samba.org/show_bug.cgi?id=14077?
?
Greetz,
?
Louis
?
?
Van: H?noch Herv? [mailto:h.henoch at isc84.org]
Verzonden: woensdag 7 augustus 2019 11:01
Aan: L.P.H. van Belle; samba at lists.samba.org
Onderwerp: Re: [Samba] samba-tool
2019 Oct 06
1
Missing per-Filesys--Df in CentOS-8
Hi,
I'm missing perl-Filesys-Df ins CentOS-8, I need it because of Df.pm
which is in it.
Any suggestiosn?
Adrian
--
Adri P. van Bloois
"Elegance is not a dispensable luxury but a factor that decides between
success and failure."
Edsger W. Dijkstra
2009 Jun 06
0
loglikelihood and AIC
Hi,
I tried fitting loglinear model using the glm(catspec). The data used is FHtab. . An independence model was fitted. Here summary() and fitmacro( ) give different values for AIC.
I understand that fitmacro( ) takes the likelilhood ratio L2(deviance) to calculate AIC and uses the formula AIC= L2- d.f(deviance)*2 and this AIC is used for comparison of nested models. (Am I right?)
The value
2008 May 03
1
[Bug 15814] New: unable to view new york times feature
http://bugs.freedesktop.org/show_bug.cgi?id=15814
Summary: unable to view new york times feature
Product: swfdec
Version: git
Platform: Other
URL: http://www.nytimes.com/slideshow/2007/08/31/realestate/2
0070902_SKETCH_FEATURE.html
OS/Version: All
Status: NEW
Severity: normal
2006 Feb 07
1
Help needed with conflicting EventObserver
Hello everyone,
I have a page that populates/updates make, model and year select lists
via Ajax.Updater and I think that an EventObserver is causing a
conflict.
Here''s what I''m trying to do. I''m using this page as a create and
edit page for a car database. If I''m calling the page in edit mode,
I''ll want the make, model and year set (using the
2005 May 16
1
TEXTFIELD_ENTER_ONLY doesn''t work
Hi Lyle,
I noticed that when creating a FXTextField with TEXTFIELD_ENTER_ONLY it
still sends messages
to its target when other keys than KEY_Return are pressed.
I usually create a textfield this way:
textfield = FXTextField.new(self, 50, self, ID_INPUT, TEXTFIELD_ENTER_ONLY)
textfield.setText(aStr)
textfield.setFocus
textfield.move(x, y, w, h)
textfield.show
This way only the enter key should
2003 Dec 10
1
ext3 from whithin W2K
hello everyone,
in the past I used an utility to gain access to my ext3 filesystem from
whithin W2K, I recall that the access was very restricted in terms of modes.
Now I'm looking for that tool (of which I cannot remember the name at all)
or, better, an unlimited one.
Does anyone help me in this seeking without finding? In particular, does
anyone know of a driver which present me the ext3
2006 Mar 29
2
intercepting messages from FXScrollBar toFXScrollArea
Hello Lyle,
the Task, I want to accomplish:
I''ve created a little app that is used on a PC with a touch screen. To ease
hitting the keys, the keys and the scrollbars are really big (45 pixels). So
the ScrollCorner is also really big and I just wanted to use this space by
moving the ScrollDown Botton down to the position of the ScrollCorner (like
the attachment shows)
The code looks like
2011 Mar 19
2
I get an error message
Everytime I try to open up a game called Rollercoaster Tycoon 2 I have copied the program files to a thumb drive, I get a popup text box that says the following:
<html><head id="AM_Offline_Page"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta name="am-version" content="6.1"> <script
2007 Jan 10
0
Ajax.InPlaceEditor Create Form question
I''ve successfully combined Ajax.Inplaceeditor with another autocomplete
javascript.
However, I''m trying to alter the form that is created.
Is there a way to prevent the autocompletion feature when typing in the
form?
I tried messing with the controls.js file:
textField.obj = this;
textField.type = "text";
textField.name = "value";
textField.id =
2007 Nov 27
0
12 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h
libswfdec/swfdec_as_interpret.c | 3
libswfdec/swfdec_as_strings.c | 14
libswfdec/swfdec_load_object.c | 178 +---
libswfdec/swfdec_load_object.h | 21
libswfdec/swfdec_load_object_as.c | 71 +
libswfdec/swfdec_loader.c | 75 +
2002 Oct 26
2
Wine securityflaw.
Hello again,
(FYI, I took the liberty to change the topic since I started the
former thread "How is Win/Dos syscalls implemented in Wine?"
which I feel has gone a little bit off-topic)
I had some more thoughts on the issue...
I believe most wine users trust wine not to touch anything outside of
its configured drive space. Malicious Linux/Unix syscalls could be embedded
in windows
2007 Oct 28
1
test/trace
test/trace/Makefile.am | 11 +++++
test/trace/text-field-init-native-5.swf |binary
test/trace/text-field-init-native-5.swf.trace | 2 +
test/trace/text-field-init-native-6.swf |binary
test/trace/text-field-init-native-6.swf.trace | 2 +
test/trace/text-field-init-native-7.swf |binary
test/trace/text-field-init-native-7.swf.trace | 2 +