[Nitro] Nitro, wee, seaside

Michael Neumann mneumann at ntecs.de
Sat Nov 26 05:24:07 EST 2005


Am 26.11.2005 um 03:24 schrieb itsme213:

> Seaside has liveAction: which does not generate a new page (i.e. no  
> new
> component tree), but does some Ajax replacement instead.
>
> html
>     liveAction: [:renderer | ....]
>
> Does wee support this? Does nitro (the "premium container for wee  
> apps")
> support this?

Yes, live updates (aka AJAX) are supported. Example:

def render
   r.anchor.id('tag').onclick_update('tag' , :update).with('Test')
end

def update
   send_render_response do
     r.text "Updated"
   end
end

See examples/ajax of Wee.

Not sure if this worked under Nitro/Wee.

Regards,

   Michael




More information about the Nitro-general mailing list