code: protected void beforePaint(final PrintWriter writer) {
  		PageShell pageShell = Factory.newInstance(PageShell.class);
  
  		pageShell.openDoc(writer);
  		pageShell.writeHeader(writer);
  	}
docs: Renders the content before the backing component.
  
  @param writer the writer to write to.