Displaying 10 results from an estimated 10 matches for "rerendering".
2006 May 22
1
rerender tcltk toplevel
Hi everybody,
I am trying to write a simple progress display based on a tcltk
toplevel. My first approach was to use the progressBar widget from the
BWidget library but since this is not available on every system (missing
on at least almost all windows systems, I guess...) I wanted to have a
backup there. So my second strategy was to use a simple toplevel with a
label and update the tclvariable
2010 Dec 22
1
'No route matches' error with select_tag
Rails 3: I have a view books/:id/show.html.erb - in the view, I have a form
with a select tag to pick a template, that on dropdown should submit the
form which rerenders the page based on the selection:
<%= form_tag book_path(@book) do %>
>
> <%= select_tag "template[]",
>> options_for_select([["Template1","template1"], ["Template2",
2006 May 18
7
Server out to excel
How would one server out to excel a html table with the mime/content
type
application/vnd.ms-excel ?
In PHP it would be something like
?php
header("Content-Type: application/vnd.ms-excel");
------
But how do I do this in rails?
Cheers Glenn
--
Posted via http://www.ruby-forum.com/.
2009 Jul 11
6
conditional link_to_remote not re-rendering
I have an int, ''floorfrozen,'' in my table, ''channels'' that can take a
value of 0 or 1.
When I render a page, an image in a link_to_remote is called
differently depending what the value of channel.floorfrozen is, in a
partial, as follows:
<% if @channel.floorfrozen %>
<%= link_to_remote image_tag("/images/icecube.gif"), {:url =>
2009 Dec 31
1
[PATCH] Print NOUVEAU_NO_SWIZZLE and NOUVEAU_NO_TRANSFER messages only once
Currently we are continuously spewing messages messages about these variables since we call debug_get_bool_option everytime we want to check their value
This is annoying, slows things down due to terminal rerendering and obscures useful messages.
This patch only calls debug_get_bool_option once and caches the result in a static variable.
---
src/gallium/drivers/nv04/nv04_transfer.c | 6 ++++--
src/gallium/drivers/nv10/nv10_transfer.c | 6 ++++--
src/gallium/drivers/nv20/nv20_miptree.c | 5 ++++-
src/...
2003 Jun 28
8
clarifications on comments spec
...mment field with an obvious name -- but I think I've come up
with a better solution; more on that later.
*) There's no location to read the complete length of the header from. This
makes parsing in a streaming situation, where data is being pushed rather
than pulled, more complicated.
*) Rerendering the full Ogg page(s) seems to be a requirement of the current
scheme. This isn't particularly difficult, but could be simplified.
*) A comment is allowed to span multiple Ogg pages. This is a pain in the
butt. ;-) Despite the Ogg spec saying "large packets are forseens as being
useful...
2006 Jul 26
3
Getting Ajax.Updater or page.replace_html to render js?
Hey guys,
I, for the life of me, cannot figure out how to get Ajax.Updater or
page.repalce_html to render the javascript in a partial. Upon page
loading, the partial gets rendered fine. But when called up to render
through an AJAX function something goes wrong.
Are you guys getting this error???
--
Posted via http://www.ruby-forum.com/.
2014 Jun 08
0
Re-render partial inside a modal
...)
if @user.save
# session[:remember_token] = @user.id
# @current_user = @user
# session[:remember_token] = @user.id.to_s
flash.now[:success] = "You have succesfully signed up!"
redirect_to users_path
else
render 'new'
end
end
*What I actually want to accomplish is rerendering the partial inside the
modal once User.save does not work. Please help!!!! :(*
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+u...
2005 Aug 07
8
Ajax forms and redirects
Here is an example that seems perfect for Ajax that I have not seen
implemented nor can figure out how to do it. I am hoping someone can
give me some pointers.
On the sign-up page, I would like to do my validations (password
length, username uniqueness,etc ) Ajax-style. But if all validates,
then redirect to the success page. The combining of redirection to a
new page with Ajax is throwing me.
2009 Jun 14
5
Partials views and instance variables go nil
Hi everyone!
Model: http://pastie.org/511290
Controller: http://pastie.org/511285
View new: http://pastie.org/511286
View _form: http://pastie.org/511284
When I hit submit button there''s an error for usuarios(users in
portuguese) instance. It does not seems to save usuarios even though it
seems to be posted by the form.
Error: http://pastie.org/511292
Need some help here guys plz
--