I'm not sure how WW1.x's expression language does this, but have you tried just putting the name of the property in where you have '??'? In Ognl it would attempt to convert any value to the required type...
> -----Original Message----- > From: Leonidas Papadakis [mailto:[EMAIL PROTECTED] > Sent: Monday, February 02, 2004 9:06 AM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] Casting over iteration ? > > > Greetings, can you please help me the below? > > I'm using ww1.4 and jsp as view. I have an object that has a > java.util.set as property. I would like to iterate over this > set on my > view and pass the object of the set as a parameter to a method of > another object i.e. > > <ww:property value="Myset"> > <ww:iterator> > Mymanager.calculate(??) i.e. <ww:property/> returns exception > </ww:iterator> > </ww:property> > > How do i cast the object in the set ? > > I hope what i have written makes sense...Thank you in advance. > > Leon > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, > CA. http://www.eclipsecon.org/osdn > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
