not sure if you need the type at all. It uses reflection so...
This is my understanding, but I seem to remember casting at some point... sandeep --- Romain SEGUY <[EMAIL PROTECTED]> wrote: > Hi, > > I don't manage to cast an element of an array within > the > <nested:iterate> tag. Here is the problem : > > I have got a class SuperClass and a class MyClass > which extends > SuperClass. > In a bean, I've got a SuperClass[] array, named > myArray. This array > contains in fact only MyClass objects. > > I need to access particular attributes of MyClass > objects inside my JSP. > Following the Struts doc, the code should be : > ... > <nested:iterate property="myArray" type="MyClass"> > ... here I access the particular attributes of > MyClass objects... > </nested:iterate> > ... > > But this doesn't work in fact : no getter is found > for the particular > attributes of MyClass objects. > > Help welcome, > Thanks > Romain SEGUY. > > > _____________________________________________________________________ > Envie de discuter en "live" avec vos amis ? > Télécharger MSN Messenger > http://www.ifrance.com/_reloc/m la 1ère messagerie > instantanée de France > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]