| Author |
bean write property doubt.
|
Jobin Mathew
Ranch Hand
Joined: Oct 17, 2006
Posts: 83
|
|
Hey I am using the bean write tag <bean:write name="city" property="803"/> Here if I give the property as shown I got the result. But I need to pass a variable in place of '803' or any variable in my DTO. But the thing is that the class city (name="city")and the DTO is different one. city is a collection. Any way for this. I tried property='myDTO.cityId'. But I think, it is looking the property in city. Isn't it? Thanks in advance.
|
 |
Brent Sterling
Ranch Hand
Joined: Feb 08, 2006
Posts: 948
|
|
What? Are you saying that the syntax that you have shown will return the 803rd item from your collection? Could you post the relevant code? - Brent
|
 |
 |
|
|
subject: bean write property doubt.
|
|
|