On OpenNTF there is an project XPages for Connections (http://www.openntf.org/internal/home.nsf/project.xsp?action=openDocument&name=XPages%20For%20Connections).

Inside there are 2 Generic Widgets, a XPages and HTML, but not with true edit mode.

So I made some enhancements to the code so you have a true widget edit mode.

And the HTML Widget has also code for the fullpage mode