Program: 143744
Project: 143744
Buggy source:
/** 
 * @param id
 */
public WebDataCalendar(IApplication application,String id){
  super(id);
  this.application=application;
  DatePicker settings=new DatePicker();
  field=new DateField(application,"String_Node_Str",settings);
  boolean useAJAX=Utils.getAsBoolean(application.getRuntimeProperties().get("String_Node_Str"));
  if (useAJAX) {
    final FeedSimpleDateFormatToChooserBehavior feedSimpleDateToJS;
    field.add(feedSimpleDateToJS=new FeedSimpleDateFormatToChooserBehavior());
    field.add(new DatePicker(){
      private static final long serialVersionUID=1L;
      @Override public void onRendered(      Component component){
        Response response=component.getResponse();
        response.write("String_Node_Str");
        response.write("String_Node_Str");
        response.write(getIconStyle());
        response.write("String_Node_Str");
        response.write(getIconId());
        response.write("String_Node_Str");
        CharSequence iconUrl=getIconUrl();
        response.write(Strings.escapeMarkup(iconUrl == null ? "String_Node_Str" : iconUrl.toString()));
        response.write("String_Node_Str" + WebDataCalendar.this.getMarkupId() + "String_Node_Str"+ feedSimpleDateToJS.getCallbackUrl()+ "String_Node_Str");
        response.write(component.getMarkupId());
        response.write("String_Node_Str");
      }
      @Override public boolean isEnabled(      Component component){
        return isChooserEnabled();
      }
    }
);
  }
 else {
    field.add(new DatePicker(){
      private static final long serialVersionUID=1L;
      @Override public void onRendered(      Component component){
        Response response=component.getResponse();
        response.write("String_Node_Str");
        response.write("String_Node_Str");
        response.write(getIconStyle());
        response.write("String_Node_Str");
        response.write(getIconId());
        response.write("String_Node_Str");
        CharSequence iconUrl=getIconUrl();
        response.write(Strings.escapeMarkup(iconUrl == null ? "String_Node_Str" : iconUrl.toString()));
        response.write("String_Node_Str" + WebDataCalendar.this.getMarkupId() + "String_Node_Str");
        response.write(component.getMarkupId());
        response.write("String_Node_Str");
        String datePattern=getDatePattern().replaceAll("String_Node_Str","String_Node_Str").toLowerCase();
        datePattern=datePattern.replace('s','0');
        response.write(datePattern);
        if (datePattern.indexOf("String_Node_Str") == -1)         response.write("String_Node_Str" + component.getMarkupId() + "String_Node_Str");
 else         response.write("String_Node_Str");
        response.write("String_Node_Str");
      }
      @Override public boolean isEnabled(      Component component){
        return WebDataCalendar.this.isEnabled() && showPicker;
      }
    }
);
  }
  add(field);
  jsChangeRecorder=new ChangesRecorder(TemplateGenerator.DEFAULT_FIELD_BORDER_SIZE,TemplateGenerator.DEFAULT_FIELD_PADDING){
    @Override public boolean isChanged(){
      return super.isChanged() || field.getStylePropertyChanges().isChanged();
    }
    @Override public void setRendered(){
      super.setRendered();
      field.getStylePropertyChanges().setRendered();
    }
  }
;
  setOutputMarkupPlaceholderTag(true);
  add(StyleAttributeModifierModel.INSTANCE);
  add(TooltipAttributeModifier.INSTANCE);
}

Fixed version (ground truth):
/** 
 * @param id
 */
public WebDataCalendar(IApplication application,String id){
  super(id);
  this.application=application;
  DatePicker settings=new DatePicker();
  field=new DateField(application,"String_Node_Str",settings);
  field.setIgnoreOnRender(true);
  boolean useAJAX=Utils.getAsBoolean(application.getRuntimeProperties().get("String_Node_Str"));
  if (useAJAX) {
    final FeedSimpleDateFormatToChooserBehavior feedSimpleDateToJS;
    field.add(feedSimpleDateToJS=new FeedSimpleDateFormatToChooserBehavior());
    field.add(new DatePicker(){
      private static final long serialVersionUID=1L;
      @Override public void onRendered(      Component component){
        Response response=component.getResponse();
        response.write("String_Node_Str");
        response.write("String_Node_Str");
        response.write(getIconStyle());
        response.write("String_Node_Str");
        response.write(getIconId());
        response.write("String_Node_Str");
        CharSequence iconUrl=getIconUrl();
        response.write(Strings.escapeMarkup(iconUrl == null ? "String_Node_Str" : iconUrl.toString()));
        response.write("String_Node_Str" + WebDataCalendar.this.getMarkupId() + "String_Node_Str"+ feedSimpleDateToJS.getCallbackUrl()+ "String_Node_Str");
        response.write(component.getMarkupId());
        response.write("String_Node_Str");
      }
      @Override public boolean isEnabled(      Component component){
        return isChooserEnabled();
      }
    }
);
  }
 else {
    field.add(new DatePicker(){
      private static final long serialVersionUID=1L;
      @Override public void onRendered(      Component component){
        Response response=component.getResponse();
        response.write("String_Node_Str");
        response.write("String_Node_Str");
        response.write(getIconStyle());
        response.write("String_Node_Str");
        response.write(getIconId());
        response.write("String_Node_Str");
        CharSequence iconUrl=getIconUrl();
        response.write(Strings.escapeMarkup(iconUrl == null ? "String_Node_Str" : iconUrl.toString()));
        response.write("String_Node_Str" + WebDataCalendar.this.getMarkupId() + "String_Node_Str");
        response.write(component.getMarkupId());
        response.write("String_Node_Str");
        String datePattern=getDatePattern().replaceAll("String_Node_Str","String_Node_Str").toLowerCase();
        datePattern=datePattern.replace('s','0');
        response.write(datePattern);
        if (datePattern.indexOf("String_Node_Str") == -1)         response.write("String_Node_Str" + component.getMarkupId() + "String_Node_Str");
 else         response.write("String_Node_Str");
        response.write("String_Node_Str");
      }
      @Override public boolean isEnabled(      Component component){
        return WebDataCalendar.this.isEnabled() && showPicker;
      }
    }
);
  }
  add(field);
  jsChangeRecorder=new ChangesRecorder(TemplateGenerator.DEFAULT_FIELD_BORDER_SIZE,TemplateGenerator.DEFAULT_FIELD_PADDING){
    @Override public boolean isChanged(){
      return super.isChanged() || field.getStylePropertyChanges().isChanged();
    }
    @Override public void setRendered(){
      super.setRendered();
      field.getStylePropertyChanges().setRendered();
    }
  }
;
  setOutputMarkupPlaceholderTag(true);
  add(StyleAttributeModifierModel.INSTANCE);
  add(TooltipAttributeModifier.INSTANCE);
}