src/main/java/org/efaps/ui/wicket/models/field/factories/BooleanUIFactory.java
@SuppressWarnings("unchecked")
    @Override
    protected String getReadOnlyValue(final AbstractUIField _uiField)
        throws EFapsException
    {
        String strValue = "";
        if (_uiField.getValue().getDbValue() != null) {
            final Map<Object, Object> map = (Map<Object, Object>) _uiField.getValue()
                            .getReadOnlyValue(_uiField.getParent().getMode());
            for (final Entry<Object, Object> entry : map.entrySet()) {
                if (entry.getValue().equals(_uiField.getValue().getDbValue())) {
                    strValue = (String) entry.getKey();
                    break;
                }
            }
        }
        return strValue;
    }
@SuppressWarnings("unchecked")
    @Override
    protected String getReadOnlyValue(final AbstractUIField _uiField)
        throws EFapsException
    {
        String strValue = "";
        if (_uiField.getValue().getDbValue() != null) {
            final Map<Object, Object> map = (Map<Object, Object>) _uiField.getValue()
                            .getReadOnlyValue(_uiField.getParent().getMode());
            for (final Entry<Object, Object> entry : map.entrySet()) {
                if (entry.getValue().equals(_uiField.getValue().getDbValue())) {
                    strValue = (String) entry.getKey();
                    break;
                }
            }
        }
        return strValue;
    }
{@inheritDoc}