The skeleton renderer class for the details widget is shown below. The class extends the same base class as the e-mail address widget and the photograph widget, as it too is a view renderer. The class should be created in the component/sample/javasource/sample folder.
public class PersonDetailsViewRenderer
extends AbstractViewRenderer {
public void render(
Field field, DocumentFragment fragment,
RendererContext context, RendererContract contract)
throws ClientException, DataAccessException {
// Add the HTML to the "fragment" object here....
}
}