Pl. help urgent Using optionsCollection - LabelValueBean

2004-03-15 Thread ddd ddd
custom tag. 1. I set up in a bean LabelValueBean object in a Vector 2. pass it back to form and try to create a html:selec This part should display a combo box with options, but it just does not work. It does not display anything. Html code is as follows: html:select style=font-size: 10px

Re: Re: Using optionsCollection - LabelValueBean

2004-03-15 Thread ddd ddd
. I set up in a bean LabelValueBean object in a Vector 2. pass it back to form and try to create a html:selec This part should display a combo box with options, but it just does not work. It does not display anything. Html code is as follows: html:select style=font-size: 10px

Re: Using optionsCollection - LabelValueBean

2004-03-15 Thread Dean A. Hoover
Collection getCardOptions() { Vector creditCardOptions = new Vector(); creditCardOptions.add(new LabelValueBean(MasterCard, mc)); creditCardOptions.add(new LabelValueBean(Visa, visa)); creditCardOptions.add(new LabelValueBean(American Express, amex)); creditCardOptions.add(new LabelValueBean(Discover

Using optionsCollection - LabelValueBean

2004-03-14 Thread Timo Tjäder
Hi, I have problems with optionsCollection, when used with html:select custom tag. 1. I set up in a bean LabelValueBean object in a Vector 2. pass it back to form and try to create a html:selec This part should display a combo box with options, but it just does not work. It does not display

Re: Using optionsCollection - LabelValueBean

2004-03-14 Thread Hubert Rabago
=totalNumOfPagesCollection / /html:select mySelectValue should be a property on your form bean. hth, Hubert --- Timo_Tjäder [EMAIL PROTECTED] wrote: Hi, I have problems with optionsCollection, when used with html:select custom tag. 1. I set up in a bean LabelValueBean object

Re: Using optionsCollection - LabelValueBean

2004-03-14 Thread Timo Tjäder
--- Timo_Tjäder [EMAIL PROTECTED] wrote: Hi, I have problems with optionsCollection, when used with html:select custom tag. 1. I set up in a bean LabelValueBean object in a Vector 2. pass it back to form and try to create a html:selec This part should display a combo box with options

Re: Using optionsCollection - LabelValueBean

2004-03-14 Thread ddd ddd
in a bean LabelValueBean object in a Vector 2. pass it back to form and try to create a html:selec This part should display a combo box with options, but it just does not work. It does not display anything. Html code is as follows: html:select style=font-size: 10px; property=goTo size=1

[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 possible

LabelValueBean - 3 fields?

2003-09-24 Thread Julie . Huang
Hi, is it possible to store 3 fields in LabelValueBean instead of 2? i.e. value, label description? thanx! = = = = = = = = = == = = = = = == = = = = = = = == = = = = = == = = = = This transmittal and any attachments may contain confidential, privileged or sensitive information

RE: LabelValueBean - 3 fields?

2003-09-24 Thread Varun Garg
List Subject: LabelValueBean - 3 fields? Hi, is it possible to store 3 fields in LabelValueBean instead of 2? i.e. value, label description? thanx! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

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

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 web

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

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

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

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 David Graham
--- Varun Garg [EMAIL PROTECTED] wrote: It is easier to use this class for Display purposes just like the LabelValueBean. The implementation of your class needs to be completely rewritten to use an array of Strings instead of individual variables. The current implementation is a maintenance

Struts multibox and LabelValueBean

2003-08-14 Thread Sydenham, Nick
According to several sources (book and Internet) you should be able to use the LabelValueBean to represent the value and label pair used for a set of checkboxes. Unfortunately, none of them actually show the ActionForm methods which seem to be relevant as at the moment I can't get it to work

Re: new LabelValueBean(nbsp + obj.getName(), obj.getValue()) is not working

2003-06-14 Thread James Mitchell
- From: Martin Naskovski [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, June 13, 2003 8:46 PM Subject: new LabelValueBean(nbsp + obj.getName(), obj.getValue()) is not working When my LabelValueBean which I construct as: lvb = new LabelValueBean(nbsp

new LabelValueBean(nbsp + obj.getName(), obj.getValue()) is not working

2003-06-13 Thread Martin Naskovski
When my LabelValueBean which I construct as: lvb = new LabelValueBean(nbsp + obj.getName(), obj.getValue()); when it gets displayed, it translates the into amp; and what comes out is, literally nbsp, when in fact I wanted spaces :). Does anyone know how to specify a nbsp; for the Label value

LabelValueBean example

2002-12-31 Thread Sterin, Ilya
Can someone provide me a simple example of utilizing the LabelValueBean class with html:multibox, the example provided on husted.com and in Struts in Action book, doesn't utilize it, though states that you can. I just need a small guidance on how to utilize it with html:multibox Thanks. Ilya

Iterate, LabelValueBean and Form Help

2002-12-29 Thread Brown, Melonie S. - Contractor
I have the following code in my jsp page for a form. logic:iterate id=curInstallation name=theinstallations bean:write name=curInstallation property=theInstallation / html:select name=curInstallation property=theChoice html:option value=ALLALL/html:option html:option

Populating a Select dropdown using LabelvalueBean

2002-10-16 Thread Kavitha ranga
Hi, I am trying to populate a select dropdown using the LabelValueBean .I have seen some examples but am unable to find them .Could some one provide me with the links to the earlier mails or sample example. thanks, Kavitha

Re: Populating a Select dropdown using LabelvalueBean

2002-10-16 Thread Marcus Biel
the .do into the real adress of your Action and ActionForm files. If you don't got them, it won't work. Hope this helps you as much as it helped me. :-) cya, marcus [EMAIL PROTECTED] schrieb: Hi, I am trying to populate a select dropdown using the LabelValueBean .I have seen some examples

LabelValueBean

2002-10-09 Thread Mohan Radhakrishnan
Hi, html:select property=wanLinks size=1 html:options collection=wanLinkOptions property=value labelProperty=label/ /html:select The code above works but I don't see any values from my 'LabelValueBean' displayed eventhough it is in application context scope. The 'dropdown' is empty

Re: LabelValueBean

2002-10-09 Thread deepank
Hi, is your wanLinkOptions a collection of ''LabelValueBean' beans stored in sme scope Deepank - Original Message - From: Mohan Radhakrishnan [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, October 09, 2002 3:46 PM Subject: LabelValueBean Hi

RE: LabelValueBean

2002-10-09 Thread Mohan Radhakrishnan
Hi, Yes. But I see empty 'option' tags being created. The bean is in application scope. bye, Mohan -Original Message- From: deepank [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 6:45 PM To: Struts Users Mailing List Subject: Re: LabelValueBean Hi, is your

Re: LabelValueBean

2002-10-09 Thread deepank
Subject: RE: LabelValueBean Hi, Yes. But I see empty 'option' tags being created. The bean is in application scope. bye, Mohan -Original Message- From: deepank [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 6:45 PM To: Struts Users Mailing List Subject: Re

LabelValueBean is 1.0.2 or 1.1b?

2002-07-05 Thread Javier Muguruza
Hi, I am usign struts1.0.2, I saw in the 1.0.2 release notes http://jakarta.apache.org/struts/doc-1.0.2/release-notes-1.0.1.html that LabelValueBean is available. But it is not included in struts.jar, and in the release notes of 1.1.b http://jakarta.apache.org/struts/userGuide/release-notes-1.1

Re: LabelValueBean is 1.0.2 or 1.1b?

2002-07-05 Thread Craig R. McClanahan
On Fri, 5 Jul 2002, Javier Muguruza wrote: Date: Fri, 5 Jul 2002 19:56:59 +0200 From: Javier Muguruza [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: LabelValueBean is 1.0.2 or 1.1b? Hi, I am usign

Re: LabelValueBean is 1.0.2 or 1.1b?

2002-07-05 Thread Joe Germuska
The LabelValueBean is really a simple class; it's probably almost as easy to write one yourself as it is to move the compiled class from one JAR to another. However, yes, it would probably work to just copy the LabelValueBean.class file between jars. Note that, otherwise, it's generally

LabelValueBean

2002-03-04 Thread CyberZombie
I'm getting a deserialization error in Tomcat during a reinit pointing to LabelValueBean. Checking out the current CVS source, I note that it doesn't implement Serializable. Is there a reason why it doesn't implement this? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED

NewBie Q: How to output your array - LabelValueBean

2001-12-13 Thread Paul
Hello, I was trying to take Mr. Husted's subscription example and create an array to hold multiple instances: % java.util.ArrayList list = new java.util.ArrayList(); list.add(new com.hfa.register.LabelValueBean(address, address)); % Might sound like a simple question, but how can i output