I really appreciate your reply. I will try that.
Thanks

Leon

Dick Zetterberg wrote:

To get the current object in Myset you should be able to write
<ww:property/> or <ww:property value="."/>
I do not know if you actually mean that the Mymanager.calculate code should
work as it is written? It will not anyway. Something like this could work
though:

<ww:bean id="myManager" name="'com.mycompany.MyManager'"/>
<ww:property value="Myset">
<ww:iterator>
   <ww:property value="@myManager/calculate(.)"/>
</ww:iterator>
</ww:property>


Cheers,


Dick Zetterberg

----- Original Message -----
From: "Leonidas Papadakis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 02, 2004 3:05 PM
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




-------------------------------------------------------
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

Reply via email to