You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Luis Neves <ln...@netcabo.pt> on 2003/06/27 01:03:14 UTC

Re: element :: Some questions -

FYI the issue below is solved.
In discussing the issue with Mind Bridge off-list we come to the conclusion, 
well... actually the credit is all his :-), that there is a classloader bug 
with Resin.

I will report the bug to Caucho and hopefully a fix will be available soon.

Best regards.
Luis Neves


> > 	I have tested this with the version in the CVS, and I am pretty sure it
> > works. You can do, for example:
> >
> >   <property-specification name="arrayValue1" type="long[]"
> > initial-value="new long[] { 2, 3, 4}"/>
> >
> > and
> >
> >   <property-specification name="arrayValue2" type="java.lang.String[]"
> > initial-value='new java.lang.String[] { "2", "3", "4"}'/>
> >
> > and both of these will work fine. (I am not sure about older versions,
> > but I will be surprised if they do not work either. Which version are you
> > using?)
>
> I build Tapestry from CVS and your examples clearly work, unfortunately my
> code doesn't. I keep getting the ClassNotFoundException whenever I use an
> Array, it's as if the "[]" symbols were part of the name... which is very
> weird because type="java.lang.String[]" works like a charm... I'm stomped.
>
> > Perhaps there is a syntax problem in the class name or the class really
> > cannot be loaded for some reason?
>
> Perhaps ... I just don't know where to look anymore for the source of the
> problem.
> I'm  trying to eliminate the use of the initialize(), pageDetach(), and
> IPageDetach in the Tapestry-Pethop, I send in attachment two of the files
> where I'm experiencing problems, perhaps if you have the time and the
> patience you could take a look at them to see if you can reproduce the
> problem.