M
Michael Neumann
Hi,
Wee 0.8.0 is out. Have fun!
Major changes are:
* Ajax support (live updates). See examples/ajax/ajax.rb.
* FastCGI adaptor (working but not fully tested)
* Fixed bug in callback processing.
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
def update_field
send_render_response {
r.text "Live update works!"
}
end
More? http://rubyforge.org/projects/wee
Regards,
Michael
Wee 0.8.0 is out. Have fun!
Major changes are:
* Ajax support (live updates). See examples/ajax/ajax.rb.
* FastCGI adaptor (working but not fully tested)
* Fixed bug in callback processing.
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
def update_field
send_render_response {
r.text "Live update works!"
}
end
More? http://rubyforge.org/projects/wee
Regards,
Michael