In 5.0.7 snapshot properties with type "String[]" normally worked, after
update last revision problems have begun:

java.lang.ClassNotFoundException
java/lang/String[]

Stack trace
        * java.lang.Class.forName0(Native Method)
        * java.lang.Class.forName(Class.java:247)
        * 
org.apache.tapestry.internal.services.ComponentClassCacheImpl.forName(ComponentClassCacheImpl.java:50)
        * 
org.apache.tapestry.internal.structure.InternalComponentResourcesImpl.readParameter(InternalComponentResourcesImpl.java:235)
        * 
ru.getdone.view.components.OrdersList._$read_parameter_urlParams(OrdersList.java)

I have made small testing:

        public static void main(String[] args) throws ClassNotFoundException {
                String[] test = new String[] {};
                List<String> test2 = new ArrayList<String>();

                Class.forName(test.getClass().getCanonicalName()); 
//java.lang.ClassNotFoundException
                Class.forName(test2.getClass().getCanonicalName()); //ok

                Class.forName(test.getClass().getName()); //ok
        }

Probably in the tapestry it is necessary to use "getClass().getName()"
for Array for the decision of a problem.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to