Re: Using optionsCollection - LabelValueBean

2004-03-15 Thread Dean A. Hoover
tatic Collection getCardOptions() { Vector creditCardOptions = new Vector(); creditCardOptions.add(new LabelValueBean("MasterCard", "mc")); creditCardOptions.add(new LabelValueBean("Visa", "visa")); creditCardOptions.add(new LabelValueBean("Amer

Re: Re: Using optionsCollection - LabelValueBean

2004-03-15 Thread ddd ddd
> > > > > >The needs to be provided with the property it's associated to, > >the one on your form bean that will hold the actual value selected. > > > > >property="goTo" size="1"> > > >name="PageDetailView" &

Pl. help urgent Using optionsCollection - LabelValueBean

2004-03-15 Thread ddd ddd
xt.invokeNext(StandardPipeline.java:643) > at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at > org.apache.catalina.core.StandardContextValve.invok

Re: Using optionsCollection - LabelValueBean

2004-03-14 Thread ddd ddd
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline On Sun, 14 Mar 2004 Timo Tjäder

Re: Using optionsCollection - LabelValueBean

2004-03-14 Thread Timo Tjäder
uot; 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 >> custom tag. >> >> 1. I set up in a bean Labe

Re: Using optionsCollection - LabelValueBean

2004-03-14 Thread Hubert Rabago
gt; > I have problems with optionsCollection, when used with > 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 > > This part should display a combo box with options, but > it just does not work. It does

Using optionsCollection - LabelValueBean

2004-03-14 Thread Timo Tjäder
Hi, I have problems with optionsCollection, when used with 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 This part should display a combo box with options, but it just does not work. It does not display anything. Html code is

[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:LabelValueBe

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 impleme

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 LabelValue

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, e

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 Varun Garg
8=" + var8 + "\n"); sb.append("var9=" + var9 + "\n"); sb.append("var10=" + var10 + "\n"); sb.append("]\n"); return sb.toString(); } } -Original Message- From: [EMAIL PROTECTED] [ma

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 an

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 wor

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

2003-06-14 Thread James Mitchell
al Message - From: "Martin Naskovski" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, June 13, 2003 8:46 PM Subject: new LabelValueBean(" " + obj.getName(), obj.getValue()) is not working > When my

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

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

LabelValueBean example

2002-12-31 Thread Sterin, Ilya
Can someone provide me a simple example of utilizing the LabelValueBean class with , 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 Thanks. Ilya -- To unsubscribe, e

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. ALL SOME NONE Everything is being populated properly and then I move on to my form where I can extract out each of these items into their individual string arrays. Is there a way to store the name/value of e

Re: Populating a Select dropdown using LabelvalueBean

2002-10-16 Thread Marcus Biel
" 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 hav

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: LabelValueBean

2002-10-09 Thread deepank
7;" <[EMAIL PROTECTED]> Sent: Wednesday, October 09, 2002 6:39 PM 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 [

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

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]>

LabelValueBean

2002-10-09 Thread Mohan Radhakrishnan
Hi, 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. Any ideas? bye, Mohan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For addit

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

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: LabelVal

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

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:[EMA

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 outp