Thank you very much! I really appreciate your help!
Cheers, Bård A.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have a Form class:
public Collection getMyMonthList() {
myMonthList = new Vector();
Calendar cal = Calendar.getInstance();
cal.setTime(new Date(01012003));
for (int i = 1; i 13; i++) {
String label = monthListFormat.format(zeroTime(cal.getTime(),
Calendar.MONTH, i));
LabelValueBean
LabelValueBean labelBean = new LabelValueBean(i, label);
Change to
LabelValueBean labelBean = new LabelValueBean(String.valueOf(i),
label);
robert
-Original Message-
From: Bard A. Evjen [mailto:[EMAIL PROTECTED]
Sent: Friday, July 25, 2003 8:49 AM
To: [EMAIL PROTECTED]
I think you need to used nested iterate to get the desired result.Since you
are storing objects in the Collection,each value that is returned by
labelProperty is just object.toString();
-Original Message-
From: Bard A. Evjen [mailto:[EMAIL PROTECTED]
Sent: Friday, July 25, 2003 6:19 PM
4 matches
Mail list logo