Re: Collection and form bean

2002-06-06 Thread Ted Husted
You probably want there to be a collection of beans, and a helper method on the bean that returns a blank instead of 0. Then all the JSP has to do is call the helper, without having to know anything about the blank or 0 requirement. In a case like this, whether the bean object itself was born

RE: Collection and form bean

2002-06-05 Thread Galbreath, Mark
It's impossible to iterate through a collection of ints (or any other primitive); Iterating over collections of form beans is very common. Mark -Original Message- From: Jayaraman Dorai [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 8:11 PM I have a collection of Value objects

Collection and form bean

2002-06-04 Thread Jayaraman Dorai
I have a collection of Value objects which I iterate through the logic iterate in JSP. This value object has a int. The requirement is to display a blank instead of a 0. I can convert this value object into a form bean which has a string equivalent for this int and replace a 0 with an empty