From: itsme213 Date: 2005-04-06T00:54:47+09:00 Subject: Re: [ANN] Wee 0.8.0 "Michael Neumann" wrote in message > * Ajax support (live updates). See examples/ajax/ajax.rb. That is great news. Is there some configuration needed? When I tried the ajax.rb I got the 1st page fine, but when I click on the "Helloooo" I got: undefined method `+' for nil:NilClassC:/ruby/lib/ruby/gems/1.8/gems/wee-0.8.0/examples/ajax/ajax.rb:2 3:in `update' C:/ruby/lib/ruby/gems/1.8/gems/wee-0.8.0/examples/ajax/ajax.rb:22:in `with_renderer_for' c:/ruby/lib/ruby/gems/1.8/gems/wee-0.8.0/lib/wee/core/presenter.rb:139:in `send_render_response' > * FastCGI adaptor (working but not fully tested) Great news too! > For example, you can update a field with Ajax like this: > > def render > r.div.id('field') > r.anchor.onclick_update('field') { update_field }.with('Click here') > end Does this block-form of callback assume continuations? Is the other form: r.anchor.onclick_update('field', :update_field }.with('Click here') the non-callback version? Thanks!