src/main/java/org/efaps/ui/wicket/components/footer/AjaxSubmitCloseButton.java
private boolean convertDateFieldValues(final AjaxRequestTarget _target)
        throws EFapsException
    {
        AjaxSubmitCloseButton.LOG.trace("entering convertDateFieldValues");
        boolean ret = true;
        final StringBuilder html = new StringBuilder();
        html.append("<table class=\"eFapsValidateFieldValuesTable\">");

        final EFapsRequestParametersAdapter parameters = (EFapsRequestParametersAdapter)
                        getRequest().getRequestParameters();
        final Set<String> names = parameters.getParameterNames();
        for (final DateTimePanel datepicker : ((FormContainer) getForm()).getDateComponents()) {
            if (names.contains(datepicker.getDateFieldName())) {
                final List<StringValue> date = parameters.getParameterValues(datepicker.getDateFieldName());
                final List<StringValue> hour = parameters.getParameterValues(datepicker.getHourFieldName());
                final List<StringValue> minute = parameters.getParameterValues(datepicker.getMinuteFieldName());
                final List<StringValue> ampm = parameters.getParameterValues(datepicker.getAmPmFieldName());
                ret = datepicker.validate(date, hour, minute, ampm, html);
                if (ret) {
                    parameters.setParameterValues(datepicker.getFieldName(),
                                datepicker.getDateAsString(date, hour, minute, ampm));
                } else {
                    break;
                }
            }
        }
        if (!ret) {
            html.append("</table>");
            showDialog(_target, html.toString(), true, false);
        }
        return ret;
    }
private boolean convertDateFieldValues(final AjaxRequestTarget _target)
        throws EFapsException
    {
        AjaxSubmitCloseButton.LOG.trace("entering convertDateFieldValues");
        boolean ret = true;
        final StringBuilder html = new StringBuilder();
        html.append("<table class=\"eFapsValidateFieldValuesTable\">");

        final EFapsRequestParametersAdapter parameters = (EFapsRequestParametersAdapter)
                        getRequest().getRequestParameters();
        final Set<String> names = parameters.getParameterNames();
        for (final DateTimePanel datepicker : ((FormContainer) getForm()).getDateComponents()) {
            if (names.contains(datepicker.getDateFieldName())) {
                final List<StringValue> date = parameters.getParameterValues(datepicker.getDateFieldName());
                final List<StringValue> hour = parameters.getParameterValues(datepicker.getHourFieldName());
                final List<StringValue> minute = parameters.getParameterValues(datepicker.getMinuteFieldName());
                final List<StringValue> ampm = parameters.getParameterValues(datepicker.getAmPmFieldName());
                ret = datepicker.validate(date, hour, minute, ampm, html);
                if (ret) {
                    parameters.setParameterValues(datepicker.getFieldName(),
                                datepicker.getDateAsString(date, hour, minute, ampm));
                } else {
                    break;
                }
            }
        }
        if (!ret) {
            html.append("</table>");
            showDialog(_target, html.toString(), true, false);
        }
        return ret;
    }
Method used to convert the date value from the ui in date values for
eFaps.
@param _target AjaxRequestTarget
@return true if converted successfully, else false
@throws EFapsException on error