Hello I am uploading images ajax-attachment_fu-rmagick and an iframe and me climb correctly, but when I finish the process and the driver will I redirect_to enc_url I recharge layer ajax. I tried with redirect_to enc_url :partial => ''m_content'' and redirect_to enc_url, :update => ''m_content''. But neither I recharge ... rhtml ------ <% form_for(photo, :url => {:action => "create", :tID => params[:tID] }, :html => { :multipart => true, :target => "upload_frame" }) do |f| -%> <tr> <td> <div class="fileinputs"> <input id="photo_uploaded_data" name="photo[uploaded_data]" type="file" class="file" size="15"/> <div class="fakefile"> <input id="etiqueta" size="15"/> <img src="../images/find.gif" class="imagenbt"/> </div> </div> </td> </tr> <tr> <td class="okLogo" valign="top" colspan="2"> <%= image_submit_tag ("../images/ok.gif") %> </td> </tr> <% end -%> <iframe id=''upload_frame'' name="upload_frame" style="width:1px;height:1px; border:0px" src="about:blank"></iframe> controller ----------- def create @photo = Photo.new(params[:photo]) if @photo.save resul = Content.find(:all, :conditions => "est_id = ''" + @session[:current_user]+ "''") for item in resul do urlList << item.title << "=1&" end enc_url = URI.encode(urlList) redirect_to enc_url end end m_coment is layer ajax Someone knows how to reload layer ajax (m_content) from the controller? Thank you -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---