search for: content2

Displaying 4 results from an estimated 4 matches for "content2".

Did you mean: contents
2006 Jul 23
1
some question about ''observer_field''
...<div>''s content was changed, there was nothing happend. for example (in test.rhtml): <%= link_to_remote "test", :update=>"content1", :url=> { :action=> "echo"} %> <div id="content1"> content1 </div> <div id="content2" > content2 </div> <%= observe_field "content1", :update=>"content2" , :url=> { :action=>"echo2"} %> ** "echo1" and "echo2" do only rendering the text. what i expect is that after i click ''test'', ...
2013 May 30
1
Need help with file corruption issue
...$fh $content1; close $fh; system("chown xen $filepath"); my ($filename) = $filepath =~ /.*\/(.*)/; print "----\n$filename... "; if (-f "$mounted_grid_share/$filename") { open IN, "$mounted_grid_share/$filename"; local $/ = undef; my $content2 = <IN>; close IN; if ($content1 eq $content2) { print "Same!\n$filepath : $content1$mounted_grid_share/$filename: $content2"; } else { print "Different!\n$filepath : $content1$mounted_grid_share/$filename: $content2"; exit; } }...
2006 Feb 04
2
rendering subtemplates
hi, i''ve got main site navigation in the application.rhtml file. the links in this template correspond to the ''index'' page of various controllers. The controllers themselves each have navigation of their own, which i would like to appear in every view for a particular controller in *addition* to the main site navigation. The problem I am encountering is that
2008 Sep 10
5
xmlhttprequest for updating
Hello, I am updating an object with an AJAX form: view: <% remote_form_for(@sample, :update => "content2") do %> <p> parameter: <br /> <%= select("sample","parameter",Parameter.find(:all).collect {|p| [p.description.gsub(''_'', '' ''),p.id]},{},{:size => 4, :multiple => true}) %> </p> <%= subm...