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
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
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
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
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
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
--- [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
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
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 = "";
9 matches
Mail list logo