Script.aculo.us AjaxEditInPlaceLabel
Label that users can edit in place using Ajax
Documentation on this scriptaculous component can be found here:
http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor
public MyPage(MyObject myObject) { add(new AjaxEditInPlaceLabel("name", new PropertyModel(myObject, "name"))); }