Displaying 20 results from an estimated 4000 matches similar to: "link_to_remote and an id that points to a text_field"
2006 Jan 04
4
HOWTO: Render partial in div
Hey-
I''m using ROR 1.0 and script.aculo.us 1.5.1. I''ve been trying
unsuccessfully to render a partial in a DIV, but can''t seem to get the
right combination of stuff to make it work. There seems to be a few
different ways of going about it. Right now I can render a partial.
What do I need to to render the partial in a div? Here is what it
looks like so far:
#
2006 Jan 13
2
Populating form elements with AJAX
Hi All!
Is it possible to populate a form (or certain elements) with the shipped
AJAX library? When using link_to_remote it seems that only innerHTML of
a DOM element can be updated, but I would like to set the value of a
text field (or perhaps multiple).
Greetings,
Wouter
--
Posted via http://www.ruby-forum.com/.
2006 Mar 15
2
link_to_remote issue after upgrading to rails 1.0
Hi
I''ve only recently noticed my notebook was using an old version of rails
(0.13), and so upgraded it to 1.0 (this is on gentoo linux).
The upgrade has broken some previously working code, and I''ve not been
able to find a work-around.
Previously the following call:
<%= link_to_remote("some string",
:update =>
2006 Jan 14
3
link_to_remote where the url contain a javascript variable
Ok, so I am basically trying to use ''link_to_remote'' and pass the value
of a javascript variable as an argument. Something like that:
link_to_remote "my_link",
:update => ''my_div'',
:url => { :action => "my_action", :var =>
''my_var'' }
Basically,
2005 Dec 30
11
Losing my mind with Ajax link_to_remote
I''m playing around with Rails, and I can''t get this to work. I just
can''t seem to wrap my brain around it. I''m having some trouble doing an
Ajax navigation column. Here''s what I have:
view layout:
<div id="navigation">
<%= render(:partial => "navigation", :collection => @categories) %>
</div>
My
2005 Mar 24
5
Using html_options with link_to_remote??
Why doesn''t this output class="delete" into my html?
<%= link_to_remote image_tag("delete"), :update => "relationship_" +
@relationship.id.to_s, :url => { :controller => "relationships", :action
=> "destroy", :id => @relationship.id }, :html_options => {:class =>
"delete"} %>
Regards,
Ben
2006 Jun 16
0
link_to_remote v. text_field?
Just curious if anyone had come across wanting to submit the value in a
text_field via link_to_remote [the more obvious way is to use
form_remote_tag]? It''s certainly possible using javascript but was
wondering if theres a rails construct..
--
Posted via http://www.ruby-forum.com/.
2003 Jun 16
3
crash on LIST command
Hello,
I'm experiencing a reproducable crash in the imap daemon of dovecot
0.99.9.1 when running the next commands (sniffed from a sylpheed session):
[cocaine:~] telnet ice 143
Trying 192.168.196.1...
Connected to ice.
Escape character is '^]'.
* OK dovecot ready.
1 NOOP
1 OK NOOP completed.
2 LOGIN wouter password
2 OK Logged in.
3 NAMESPACE
3 BAD Error in IMAP command: Unknown
2001 Dec 10
1
Font problem with delphi application
Hi all,
I am having a problem with a small Delphi address database application.
When attempting to display the address details from one of a list of
addresses, an empty text area is displayed instead of a text area
containing address details. Screenshots of the app in windows and wine
can be found here:
http://www.blub.net/~wouter/wine/windows.png
http://www.blub.net/~wouter/wine/wine.png
The
2004 Jul 12
1
dovecot-1.0-test27 crash on FETCH
Hello,
I've got a crash with -test27 on a FETCH, just after logging in. Attached
are the mailbox (1 message only), logs, sniffed session, testcase and core
dump backtrace. If the dovecot.conf is needed, just ask (it's pretty much
the default configuration).
Maybe this has just been fixed in -test28, in which case you can just
delete this email. :)
Btw, it's rather irrelevant, but
2006 Jul 20
5
Need HELP changing link_to_remote to a button
I would really appreciate some help with changing a link_to_remote call to a button of some sort. Here''s a little background.
On the page there are two <div>s. One is a form that lets the visitor enter items. The second <div> is where the entered items get displayed, each in it''s own item <div>.
Each item <div> has two <span>s. The first one
2005 Oct 17
7
Ajax.MultiUpdater ?
Hi,
I''m using prototype within ruby on rails.
One limitation I''d like to overcome is the restriction of beeing able to
update just one html elements content using from_remote_tag or
link_to_remote.
AFAICS this is just a restriction of the form_remote_tag/link_to_remote
implementation and it''s underlying Ajax.Updater class. Right?
In theorie there should be no problem,
2006 Mar 06
3
break a vector into classes
Hi,
I'm looking for a function which divides a vector into n classes and
returns the breaks as well as the number of values in each class.
This is actually what hist(vector, breaks=n) does, but in hist() n is a
suggestion only, and is a suggestion only and cannot be enforced (as
far as I know...)
It is not so difficult to do it yourself, but a ready made function would
be nice...
2009 Aug 13
3
Upgrade question from 1.1 to 1.2
Good afternoon,
I am considering to upgrade from Dovecot 1.1.18 to 1.2.x and was reading
your Wiki regarding any changes and found: "If you were using e.g.
mail_location = maildir:/var/mail/%h, just change it to mail_location =
maildir:%h and add /var/mail/ prefix to home dirs."
I am currently using: "mail_location = maildir:~/Maildir" in combination
with vpopmail. Does
2006 Feb 17
4
Best practice for showing errors AND updating list
Morning/Afternoon/Evening All,
This is my first post to the ruby message board so if my request is
better suited to another location just let me know,
The problem I keep coming up against is with a listing of objects and
updating that list via AJAX (for arguments we are talking about a list
of users).
As it stands I can currently submit a form, and update the list
(using :update
2002 Apr 26
3
different data series on one graph
Hello,
I'm looking for a way to plot different data series on one graph.
I have a series of hourly rainfall and quarterly flow
measurements (i.e. 4 times an hour) of a catchment. The rainfall
should be plotted in bars, the flow as a line. Both on the same X
axe (time) but with different Y axes.
The problem is the plot() function does not support add=TRUE...
Furthermore I'm not sure
2008 Nov 20
4
[Bug 18636] New: nouveau git does not run on NV34M
http://bugs.freedesktop.org/show_bug.cgi?id=18636
Summary: nouveau git does not run on NV34M
Product: xorg
Version: git
Platform: PowerPC
OS/Version: All
Status: NEW
Severity: critical
Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau at lists.freedesktop.org
ReportedBy: wouter
2007 May 13
1
Migrating to Maildir -> path
Hello,
I'm in the process of migrating to Maildir, and I wondered what would be an
acceptable path.
I want to do virtual-accounts only, so $HOME/Maildir/ is not an option.
I was thinking of /some/path/username at domain.tld/Maildir/
and later perhaps /some/path/(firstletter)/username at domain.tld/Maildir/
but perhaps Maildir/ is a bit too redundant here....
Anyone who could advice ?
2006 Nov 30
2
margins within plotting region
Hi list,
there always seem to be a small margin between the actual plot and the
axes/box around the plot. For instance, in
plot(c(0,1),c(0,1))
the 2 points do not lay on the box around the plot but slightly more to
the center. Which parameter controls this margin and is it possible to
eliminate it?
thanks,
Wouter
2009 Jun 17
4
Serverside AjaxRequest or AjaxUpdater detections
Hi all,
This question might be a long shot, but I''m going to ask it anyway. In
my application, I''ve created a before_filter that does some magic. It
looks like this:
if request.xhr? then
render :update do |page|
page.redirect_to url_for_thingy
end
else
redirect_to redirect_to url_for_thingy
end
This works perfectly, however, I have one annoyance. On the server side,