Displaying 20 results from an estimated 5000 matches similar to: "RJS and File Uploads"
2006 Feb 04
5
file_column + form_remote_tag
For my weekend project, I''m going to get form_remote_tag and
file_column playing happily together. According to my research, no
one has done this yet. If you happen to have tried this, and have
some workable code, send me an email. I''d rather not duplicate the
effort.
Thanks!
--
Kyle Maxwell
Chief Technologist
E Factor Media // FN Interactive
kyle@efactormedia.com
2006 Jan 24
1
Liquid templates and RJS
Does anybody know whether Liquid templates can be combined with RJS ?
--
Roberto Saccon - http://rsaccon.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060124/edeafadc/attachment.html
2006 Mar 28
5
Is it possible to upload file with form_remote_tag?
I have tried to upload a picture file with file_column plugin and
form_remote_tag, but no success.
When I do request.params.inspect it shows null for picture parameters.
With normal form the file uploads nicely, so is it possible to upload
file with form_remote_tag?
--
Posted via http://www.ruby-forum.com/.
2006 Feb 12
7
form_remote_upload plugin
form_remote_tag does not support the input type=file. This is due to
javascript security limitations. I created a plugin that modifies
form_remote_tag so that if you pass it the option: :html =>
{:multipart => true}, it will submit via an iframe, allowing you to
upload files. It works nicely with file_column :). Currently, it
only works with RJS templates (no :update option), and I only
2006 Jan 08
8
RaislsEdge - where to get latest javascripts ?
To play with RJS I just made a "rake freeze edge". But this copies only the
libs into vendor/rails and any attempt of "rake update_javascripts" fails.
But all the he required javascripts are there, at:
BASEPATH/vendor/rails/actionpack/lib/action_view/helpers/javascripts/
Except of prototype, they seem to have no version number, so I am asking
whether I should take those
2006 Jan 18
5
Perform action after in-place edit
I want to be able to call an action after performing an edit using the
in-place editor macro. I want to update multiple divs so I was
thinking about using an RJS template. However, I can''t figure out how
to trigger another action after the method created by
in_place_edit_for runs. Is there is an option on Ajax.InPlaceEditor
where I can inject some Element.update calls?
Thanks,
Shane
2006 Feb 19
2
Prototype Ajax + File Uploading-- How?
Good evening!
I''m currently trying to submit some data and a file upload through Ajax.
I''m using rails & prototype, and somewhere there''s a disconnect. I''m
reasonably convinced the file upload isnt being sent at all, or if it is,
Rails has absolutely no idea. The form itself heads with:
<form onsubmit="new
2006 Mar 08
6
best practices for handling uploaded images and capistrano
Quick question: I am going to use the file_column plugin to manage uploading
thumbnails. By default the images are stored in the public/ dir of the
rails project. The problem I see is that when capistrano redeploys a new
build and symlinks it in none of the images will be in the new public/
dir... Does anyone have a solution for this?
Thanks,
Zack
-------------- next part --------------
An
2005 Dec 23
3
RE: Scriptaculous and Prototype based Rich TextEditor
What I have so far.
In my main HTML:
<script type="text/javascript"
src="/javascripts/tiny_mce/tiny_mce_src.js"></script>
<script type="text/javascript">
tinyMCE.init({
mode: "textareas",
theme: ''advanced'',
theme_advanced_toolbar_location: ''top''
});
...
</script>
My Ajax form
2006 Mar 13
2
how do I render a partial view into a string from inside a view ?
I want to pass the partial to a Javascript function ( which uses the data
for for creating an iframe)
render_to_string is not accessible form a view
thanks in advance
--
Roberto Saccon - http://rsaccon.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060313/8165bcec/attachment.html
2006 Mar 30
3
Export Fixtures Plugin
= Description
This plugin is a super lightweight tool used to export data into the
test/fixtures directory.
So if you want to export all your data from your production server into your
development environment, this will simplify the process without having to
load up your database manager.
[%] rake db:fixtures:export_all RAILS_ENV=development
[%] rake db:fixtures:load
= INSTALLATION
2006 Feb 03
6
Rich Text Editor
I know I saw something a while back about a simple Rich Text Editor; did
that go anywhere? I''d love to see something as simple as the one google uses
in gmail. If not, I''ll get started on it :-D.
-Jerod
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 May 03
6
New Release: One-Click Ruby Installer 1.8.4-17 release candidate 2
We are almost there to a final release. The uninstall issues have been
fixed, and a few packages have been upgraded to more recent versions. Many
thanks to Ryan Leavengood and Shahank Date who stepped in to help finish off
this release!
*** Only "show-stopper" problems will be fixed ***
We are extreme short of manpower at the moment. So as much as I would like
to address each and every
2006 Mar 09
1
Rails File Upload w/ Ajax Update?
I''m trying to upload a file, display the upload progress and then
update a table with the newly uploaded file. Is there a way to
specify a :success handler for form_tag_with_upload_progress such that
I have access to the request.response data (in the way I can with
link_to_remote)?
The :finish JavaScript is being executed but because there is no
request object, the table
2005 Nov 11
2
InPlaceEditor trouble
Hi all
this is my first post to this list. Im am trying to use the InPlaceEditor,
but I only manage to make it work in very simple case as in teh demo on the
wiki. In my case I have a list of records ("books") with different fields
and each field has an InPlaceEditor. My problem is how to pass teh id of the
record to the update action at the controller, I tried to define the
2006 Mar 14
2
slider.js in ruby on rails
Hello,
Is anyone using slider.js from script.aculo.us? I don''t understand how
to integrate it into a form in rails. I want to do something like
adjust (slide) age from 16-100.
Thank You,
jeff
2006 Feb 06
3
acts_as_threaded plugin
This plugin is related to the acts_as_nested_set functionality but differs
in that it allows multiple roots to exist within your database.
The other benefit, is that when adding a child, it doesn''t perform a full
table update to rebuild the tree, each child insertion only affects the tree
that it is placed in.
It even comes with my first screencast to show how you can build an old
2006 Mar 09
5
Comet support?
Just out of curiosity, is there a plan to support Comet (name coined by the
dojo guys) w/ prototype? Comet represents persisting an http connection for
low latency data operations. It also represents a nice alternative to
polling.
Jim
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2005 Nov 20
3
rounded corners in rails apps ?
Hi all
I like very much rounded corners and often used thee well known nifty
Javascript approach for that, Recently I discovered Rico (
http://openrico.org), which does the same and is much simpler to use (don''t
require additional css files) and is based on prototype.js. This is all very
nice, but there is currently one problem, the latest Rico library seems to
require prototype 1.3.1,
2006 Jan 03
7
switchtower, windows and dispatch.fcgi
I just setup switchtower and I am very happy with it. Just one thing is
giving me some headache: My development machine is windows and my deployment
host is Unix. Each time I deploy I need to make dispatch.fcgi executable. I
wrote my own task for that. But does there exist any smarter way to get this
automated ? I think Subversion offers some possiblity to declare a file as
executable, but no idea