code: public static void writeModel(HttpServletRequest request,
  			HttpServletResponse response, ModelBean model, OutputFormat format)
  			throws IOException {
  		writeModel(request, response, model, format, false);
  	}
docs: Creates a model object (JS code) based on the provided {@link ModelBean} and writes
  it into the response. Creates compressed JS code.
  
  @param request the http servlet request
  @param response the http servlet response
  @param model {@link ModelBean} describing the model to be generated
  @param format specifies which code (ExtJS or Touch) the generator should create.
  @throws IOException