src/main/java/org/efaps/ui/wicket/models/field/factories/JaxbUIFactory.java
@Override
    protected String getReadOnlyValue(final AbstractUIField _abstractUIField)
        throws EFapsException
    {
        final Attribute attr = _abstractUIField.getValue().getAttribute();
        String ret = null;
        if (attr != null) {
            try {
                final Class<?> clazz = Class.forName(attr.getClassName(), false,
                                EFapsClassLoader.getInstance());
                final IJaxb jaxb = (IJaxb) clazz.newInstance();
                ret = jaxb.getUISnipplet(_abstractUIField.getParent().getMode(), _abstractUIField.getValue());
            } catch (final ClassNotFoundException e) {
                JaxbUIFactory.LOG.error("ClassNotFoundException", e);
            } catch (final InstantiationException e) {
                JaxbUIFactory.LOG.error("InstantiationException", e);
            } catch (final IllegalAccessException e) {
                JaxbUIFactory.LOG.error("IllegalAccessException", e);
            }
        }
        return ret;
    }
@Override
    protected String getReadOnlyValue(final AbstractUIField _abstractUIField)
        throws EFapsException
    {
        final Attribute attr = _abstractUIField.getValue().getAttribute();
        String ret = null;
        if (attr != null) {
            try {
                final Class<?> clazz = Class.forName(attr.getClassName(), false,
                                EFapsClassLoader.getInstance());
                final IJaxb jaxb = (IJaxb) clazz.newInstance();
                ret = jaxb.getUISnipplet(_abstractUIField.getParent().getMode(), _abstractUIField.getValue());
            } catch (final ClassNotFoundException e) {
                JaxbUIFactory.LOG.error("ClassNotFoundException", e);
            } catch (final InstantiationException e) {
                JaxbUIFactory.LOG.error("InstantiationException", e);
            } catch (final IllegalAccessException e) {
                JaxbUIFactory.LOG.error("IllegalAccessException", e);
            }
        }
        return ret;
    }
{@inheritDoc}