Hi Martin,

I created a Wicket 6.21 patch with following change:

static class ProxyReplacement implements IClusterable {
        private static final long serialVersionUID = 1L;
        private final IProxyTargetLocator locator;
        private final String type;

        public ProxyReplacement(String type, IProxyTargetLocator locator) {
            this.type = type;
            this.locator = locator;
        }

        private Object readResolve() throws ObjectStreamException {
            Class<?> clazz = WicketObjects.resolveClass(this.type);
            if (clazz == null) {
                try {
                    clazz = Class.forName(this.type, false,
WicketObjects.class.getClassLoader());
                    System.out.println("Clazz resolved through application
classloade");
                } catch (ClassNotFoundException var4) {
                    ClassNotFoundException cause = new
ClassNotFoundException("Could not resolve type [" + this.type + "] with the
currently configured org.apache.wicket.application.IClassResolver");
                    throw new WicketRuntimeException(cause);
                }
            }

            return LazyInitProxyFactory.createProxy(clazz, this.locator);
        }
    }

a this code solves the problem....when do you plan next 6.30 wicket release?
So you could port this change in there....

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to