Re: [Rails-spinoffs] Can I send a redirect_to() call to a periodically_call_remote() refresh?

2006-05-12 Thread PJ Hyett
There is a specific redirect_to for RJS templates, don't remember the method call off the top of my head, though. -PJ On 5/1/06, Stuart Hungerford <[EMAIL PROTECTED]> wrote: Hi, I'm using Rails 1.1 and the periodically_call_remote() helper to query the server for the progress of a long running

Re: [Spam] Re: [Rails-spinoffs] Dynamically printing a page

2006-05-12 Thread Jim Geurts
Thanks Jerod, I'll take a look at it.  In the mean time, I was able to get around IE by doing the following.  I use the hidden iframe to print in non-IE browsers.  For IE, I have a hidden anchor element with a target="_blank" attribute.  When the user clicks the button to print, I set the unique hr

Re: [Spam] Re: [Rails-spinoffs] Dynamically printing a page

2006-05-12 Thread Jerod Venema
Hey Jim, Not sure about your specific problem, but if you check out this little bit of code I whipped up a while back: http://www.clarityccs.com/modernapp/editor/trial_textarea.htm and be sure to view the source, you'll find some interesting workarounds. IE has all kinds of issues (that is, IE

[Rails-spinoffs] draft-proposal for Ajax.History - History/Bookmark handling in Ajax apps

2006-05-12 Thread Siegfried Puchbauer
Hi list,In one of my previous projects I had to satisfy the requirement of handling browser back- and forward calls within an Ajax application. Thus I didn't get an urge to switch the JS part of this project to an other framework like dojo (which supports Browser history handling out-of-the-box), I

[Rails-spinoffs] How to cancel the drag and drop on ajax error

2006-05-12 Thread Laurent Michenaud
Hi,   We use the Sortable functionnality with Ajax.   When an ajax error is returned, I would to know how to reorder the items just as they were before the drag and before.   Thanks.       ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyo