public void appendAsterisksParams(Appendable sr,Map<String,Object> context,ModelFormField modelFormField) throws IOException {
  String requiredField="false";
  String requiredStyle="";
  if (modelFormField.getRequiredField()) {
    requiredField="true";
    requiredStyle=modelFormField.getRequiredFieldStyle();
  }
  sr.append(" requiredField=");
  sr.append(ftlFmt.makeStringLiteral(requiredField));
  sr.append(" requiredStyle=");
  sr.append(ftlFmt.makeStringLiteral(requiredStyle));
  sr.append("");
}

public void appendAsterisksParams ( Appendable sr , Map < String , Object > context , ModelFormField modelFormField ) throws IOException { String requiredField = "false" ; String requiredStyle = "" ; if ( modelFormField . getRequiredField ( ) ) { requiredField = "true" ; requiredStyle = modelFormField . getRequiredFieldStyle ( ) ; } sr . append ( " requiredField=" ) ; sr . append ( ftlFmt . makeStringLiteral ( requiredField ) ) ; sr . append ( " requiredStyle=" ) ; sr . append ( ftlFmt . makeStringLiteral ( requiredStyle ) ) ; sr . append ( "" ) ; }
scipio : factors out renderastericks macro args .
