[solved]Re: LabelValueBean - 3 fields?

2003-09-26 Thread Julie . Huang
thank you for all your useful input!!! you guys are brilliant!! [EMAIL PROTECTED] 09/24/03 04:12 PM Please respond to "Struts Users Mailing List" To: "Struts Users Mailing List" <[EMAIL PROTECTED]> cc: Subject:LabelValueBean - 3 fields? Hi, is it possib

RE: LabelValueBean - 3 fields?

2003-09-24 Thread David Graham
ntation is a maintenance nightmare. David > > > > -Original Message- > From: David Graham [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 24, 2003 3:23 PM > To: Struts Users Mailing List > Subject: RE: LabelValueBean - 3 fields? > > > If you need a class

RE: LabelValueBean - 3 fields?

2003-09-24 Thread Chen, Gin
Why not just add it to a Collection of Strings? -Tim -Original Message- From: Varun Garg [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 4:19 PM To: [EMAIL PROTECTED] Subject: RE: LabelValueBean - 3 fields? I created a StringsClass with upto 10 variables. package

RE: LabelValueBean - 3 fields?

2003-09-24 Thread Varun Garg
It is easier to use this class for Display purposes just like the LabelValueBean. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 3:23 PM To: Struts Users Mailing List Subject: RE: LabelValueBean - 3 fields? If you need a class that

Re: LabelValueBean - 3 fields?

2003-09-24 Thread Joe Germuska
At 4:12 PM -0400 9/24/03, [EMAIL PROTECTED] wrote: Hi, is it possible to store 3 fields in LabelValueBean instead of 2? i.e. value, label & description? You could subclass LabelValueBean... (or just write your own bean with whatever properties you like!) Actually, in Struts 1.1 LabelValueBean sho

RE: LabelValueBean - 3 fields?

2003-09-24 Thread David Graham
If you need a class that stores 10 Strings, you should be using an array instead of 10 different variables. David --- Varun Garg <[EMAIL PROTECTED]> wrote: > I created a StringsClass with upto 10 variables. > > > package com.xxx.valueobjects; > > import java.io.Serializable; > import java.util

Re: LabelValueBean - 3 fields?

2003-09-24 Thread David Graham
--- [EMAIL PROTECTED] wrote: > Hi, is it possible to store 3 fields in LabelValueBean instead of 2? > i.e. value, label & description? You could subclass LabelValueBean and add the description field. David __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use w

RE: LabelValueBean - 3 fields?

2003-09-24 Thread Syed, Nazeer
Yes, For that you need to extend the LabelValueBean and add one more variable know as description and write setter and getter method. Thanks Nazeer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 4:13 PM To: Struts Users Mailing

RE: LabelValueBean - 3 fields?

2003-09-24 Thread Varun Garg
I created a StringsClass with upto 10 variables. package com.xxx.valueobjects; import java.io.Serializable; import java.util.Comparator; public class StringsClass implements Serializable, Comparable { private String var1 = ""; private String var2 = ""; private String var3 = "";