String divPrefix = encodeHTML(context, rw, dtp);
encodeJS(context, rw, dtp, divPrefix);
}
private String encodeHTML(FacesContext fc, ResponseWriter rw, DateTimePicker dtp)
throws IOException {
<BUG>String clientId = dtp.getClientId();
String mode = dtp.getMode();</BUG>
String styleClass = dtp.getStyleClass();
if(styleClass == null) styleClass = "";
styleClass = styleClass.trim();

String divPrefix = encodeHTML(context, rw, dtp);
encodeJS(context, rw, dtp, divPrefix);
}
private String encodeHTML(FacesContext fc, ResponseWriter rw, DateTimePicker dtp)
throws IOException {
String clientId = dtp.getClientId();
boolean clientIdHasBeenRendered=false;
String mode = dtp.getMode();
String styleClass = dtp.getStyleClass();
if(styleClass == null) styleClass = "";
styleClass = styleClass.trim();
