src/main/java/org/efaps/ui/wicket/models/field/factories/AbstractUIFactory.java
@Override
    public Component getReadOnly(final String _wicketId,
                                 final AbstractUIField _uiField)
        throws EFapsException
    {
        Component ret = null;
        if (applies(_uiField)) {
            String icon = _uiField.getFieldConfiguration().getField().getIcon();
            if (icon == null && _uiField.getInstance() != null
                            && _uiField.getFieldConfiguration().getField().isShowTypeIcon()
                            && _uiField.getInstance().getType() != null) {
                final Image image = Image.getTypeIcon(_uiField.getInstance().getType());
                if (image != null) {
                    icon = image.getName();
                }
            }
            final String readonly = getReadOnlyValue(_uiField);
            _uiField.setPickListValue(readonly);
            if (icon == null) {
                ret = new LabelField(_wicketId, Model.of(readonly), _uiField);
            } else {
                ret = new IconLabelField(_wicketId, Model.of(_uiField), readonly, icon);
            }
        }
        return ret;
    }
@Override
    public Component getReadOnly(final String _wicketId,
                                 final AbstractUIField _uiField)
        throws EFapsException
    {
        Component ret = null;
        if (applies(_uiField)) {
            String icon = _uiField.getFieldConfiguration().getField().getIcon();
            if (icon == null && _uiField.getInstance() != null
                            && _uiField.getFieldConfiguration().getField().isShowTypeIcon()
                            && _uiField.getInstance().getType() != null) {
                final Image image = Image.getTypeIcon(_uiField.getInstance().getType());
                if (image != null) {
                    icon = image.getName();
                }
            }
            final String readonly = getReadOnlyValue(_uiField);
            _uiField.setPickListValue(readonly);
            if (icon == null) {
                ret = new LabelField(_wicketId, Model.of(readonly), _uiField);
            } else {
                ret = new IconLabelField(_wicketId, Model.of(_uiField), readonly, icon);
            }
        }
        return ret;
    }
{@inheritDoc}