ja hallo erstmal,..

Am Montag, 29. September 2008 schrieb Knut Linke:
> Guten Abend,
> ich habe hier ein fuer mich sehr kritisches Problem und vielleicht weiss
> einer von euch Rat. Ich habe ein AJAX Tutorial fuer Rails 1.x in Rails
> 2.x ausprobiert. Es geht einfach nur darum, per Aufruf Eintraege zu
> einem Div hinzuzufuegen.
>
> In der Methode soll das rjs per:
>
> respond_to do |format|
> format.html { redirect_to :controller => 'pattern', :action => 'show',
>
> :id => @comment.pattern_id }
>
> format.js
>
> aufgerufen werden.
>
> Das rjs mit seinem Inhalt:
> page.insert_html :bottom, :comment, :partial => 'list', :object =>
> @comment
> page[:comment_form].reset
> page.replace_html :notice, flash[:notice]
> flash.discard
>
> wird aber nicht beruehrt, bzw. reloaded.

Was meint firebug[1] zu dem ganzen prozedere?
Wird eine Ajax-Antwort generiert? Falls ja, wie sieht sie aus?

Keep smiling
yanosz

[1] https://addons.mozilla.org/de/firefox/addon/1843
_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug

Antwort per Email an