Pl. help options collection

2004-03-19 Thread ddd ddd
Dear All Can any body complete this oode , I mean to say that what needs to be done in configuration file struts-config, where ARRAY information must be kept.. Can any body complete the code that it will be directly a working code .I have successfully completed select using simple options

Filling select with options and getting description from ids: Providers

2004-01-05 Thread Guillermo Meyer
Using Struts tags, you do this for creating a select filled with options tags: In this case, you should create a collection with beans for each document type (Passport, Cedule, Document, SSN, etc) and set it in the request to be collected by "options" tag. My questions ar

RE: dynamically populating options in form

2003-11-20 Thread Nimish Chourey , Tidel Park - Chennai
Yes .. Have a look at the docs for LookupDispatchAction .. That would solve your purpose .. -Original Message- From: Anindito De [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 2:25 PM To: Struts Users Mailing List Subject: RE: dynamically populating options in form Is

RE: dynamically populating options in form

2003-11-20 Thread Anindito De
PROTECTED] Sent: Thursday, November 06, 2003 5:43 PM To: Struts Users Mailing List Subject: RE: dynamically populating options in form Something like Below .. The "Onchange" event will trigger the Submission to another action which then keeps the collection in request/session scope and se

RE: dynamically populating options in form

2003-11-06 Thread Nimish Chourey , Tidel Park - Chennai
Something like Below .. The "Onchange" event will trigger the Submission to another action which then keeps the collection in request/session scope and select Box B is then populated ..See the code below ..

RE: dynamically populating options in form

2003-11-06 Thread Andrew Hill
ating options in form Hi, We have two select boxes in an HTML form. Based on the option that the user selects in the first box and some other considerations, the contents in the second box get populated. Are there any reasonable means of doing this in struts with minimal use of JavaScript ? Than

dynamically populating options in form

2003-11-06 Thread Anindito De
Hi, We have two select boxes in an HTML form. Based on the option that the user selects in the first box and some other considerations, the contents in the second box get populated. Are there any reasonable means of doing this in struts with minimal use of JavaScript ? Thanks in advance Anindito

RE: repopulating options of when validation fails

2003-10-17 Thread Robert Taylor
set your input attribute value to the action mapping which set's up the page for display. So if you have SetupAction as the action invoked prior to displaying the page which contains the options collection, then you would use it's action mapping as the input for the action which pro

RE: repopulating options of when validation fails

2003-10-17 Thread Steve Raeburn
Set your input parameter to the *action* that prepares the page, not directly to the page itself. Steve > -Original Message- > From: Marc Dugger [mailto:[EMAIL PROTECTED] > Sent: October 17, 2003 1:33 PM > To: [EMAIL PROTECTED] > Subject: repopulating options of when v

RE: repopulating options of when validation fails

2003-10-17 Thread Wendy Smoak
> Can anyone offer a crafty method of reloading a dynamic collection of > into the request scope in case form validation fails and the controller must forward to > the 'input' of the action mapping? Thanks. Is putting them in session scope totally out of the question? I think a bit of cleanup

repopulating options of when validation fails

2003-10-17 Thread Marc Dugger
Can anyone offer a crafty method of reloading a dynamic collection of into the request scope in case form validation fails and the controller must forward to the 'input' of the action mapping? Thanks. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.

RE: HashMap with options

2003-10-14 Thread Manav Gupta
Thanks Michael, you've been a great help... Regards, m > -Original Message- > From: Michael D. Norman [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 14, 2003 6:37 AM > To: 'Struts Users Mailing List' > Subject: RE: HashMap with options > > >

RE: HashMap with options

2003-10-13 Thread Michael D. Norman
terate through each item in the Map, > calling get("key") and get("value") on each item in the Map? The tag iterates over the Map's entrySet(). It then calls getKey() and getValue() on each Map.Entry for the options. > Is there any link/website where I can read m

RE: HashMap with options

2003-10-13 Thread Manav Gupta
Is there any link/website where I can read more about this? Many Thanks M > -Original Message- > From: Michael D. Norman [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 11, 2003 3:31 AM > To: Struts Users Mailing List > Subject: Re: HashMap with options > > &

Re: HashMap with options

2003-10-10 Thread Michael D. Norman
> Manav wrote: > > Can i use HashMap with options? > > something like: > > type="java.util.HashMap" /> > labelProperty="value"/> Manav, Yes, you should be able to use any Map as the collection, with the attributes you have defined above for

Re: HashMap with options

2003-10-10 Thread Sgarlata Matt
You might want to investigate using a List of LabelValueBean objects instead. Matt - Original Message - From: "Manav Gupta" <[EMAIL PROTECTED]> To: "Struts Developers (E-mail)" <[EMAIL PROTECTED]> Sent: Friday, October 10, 2003 12:24 PM Subject: HashMap w

HashMap with options

2003-10-10 Thread Manav Gupta
Hi Can i use HashMap with options? something like: such that the option value is the key and the labelProperty is the value? thanks M

Re: How can I construct STRUTS select options tag according to aparameter ?

2003-08-30 Thread Ted Husted
with Struts, for a working example of using a plugin to create a LabelValue collection. -Ted. Fumitada Hattori wrote: Hi there. How can I construct STRUTS select options tag according to a parameter ? I got a jsp named "example_1.jsp". One accesses the page with a parameter like exa

How can I construct STRUTS select options tag according to a parameter ?

2003-08-30 Thread Fumitada Hattori
Hi there. How can I construct STRUTS select options tag according to a parameter ? I got a jsp named "example_1.jsp". One accesses the page with a parameter like example_1.jsp?id=2 . Now what I wanna do is that the example_1.jsp get the value of id parameter and construct select o

conditional submit to validator - multiple submission options, same page

2003-08-20 Thread Trent Fisher
I've recently been trying to get my application functioning with the Struts validator so that I can validate different subsets of fields on my page, based on a condition being true/false. Just for background, I'm using the Struts Validator, along with the LookupDispatchAction and general Actio

RE: Select Tag and Options Tag

2003-07-17 Thread James Childers
> -Original Message- > From: Silverio Wagner Silva(Secorp) [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 17, 2003 12:16 PM > To: 'Struts Users Mailing List' > Subject: Select Tag and Options Tag > > > I have difficulties to use the tags "Select

RE: Select Tag and Options Tag

2003-07-17 Thread Varun Garg
Select -Original Message- From: Silverio Wagner Silva(Secorp) [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 12:16 PM To: 'Struts Users Mailing List' Subject: Select Tag and Options Tag I have diffi

Select Tag and Options Tag

2003-07-17 Thread Silverio Wagner Silva(Secorp)
I have difficulties to use the tags "Select" and "Option" to display data from an ArrayList. So, I need a complete example of using them. Could anyone help me? Thanks in advance. Silvério. - To unsubscribe, e-mail: [EMAIL PROTE

Re: options and properties

2003-07-16 Thread Sandeep Takhar
should just be setProperty(String str) with WhateverObject getName(int index) careful if you are using request scope beans because they won't be there. See other recent posts about how to code getName(int index) sandeep --- John Hethcox <[EMAIL PROTECTED]> wrote: > I have a table inside of a

/ /OREF:CPTD1CA6 Re: options and properties

2003-07-16 Thread ZTofie
|cc: | | Subject: options

options and properties

2003-07-16 Thread John Hethcox
I have a table inside of a form. Each row in the table has a select list. I indexed the select so the submitted values contain the parameter name[I].propertyName when submitted. I can pull the values out from the parameter name, but I was trying to create a setter in the ActionForm. The method setP

forms and options

2003-07-14 Thread John Hethcox
I am creating a form around a table. The rows in the table are a set of homogeneous beans. Each row in the table has a select widget that is populated from a collection. I would like each row in the table to be pre-selected with the property value for the object in the array that corresponds to tha

RE: options thru Map rather than Collection?

2003-07-09 Thread Wendy Smoak
Alex wrote: > Is it working with struts html tags too or do I have to use el's? Check the docs or just try it and see. Probably. EL allows ${expression} inside the quotes, and that particular snippet doesn't make use of it. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State Univers

RE: options thru Map rather than Collection?

2003-07-09 Thread Alex Shneyderman
Is it working with struts html tags too or do I have to use el's? Thanks, Alex > >labelProperty="value"/> > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: options thru Map rather than Collection?

2003-07-09 Thread Wendy Smoak
Alex wrote: > Is there a way to render select options drop down thru a Map? Yes. contactTypes is a Map (TreeMap so it will sort automatically) placed in Application scope by a ServletContextListener when the app starts up. If the key/value objects in your Map aren't themselves

options thru Map rather than Collection?

2003-07-09 Thread Alex Shneyderman
Is there a way to render select options drop down thru a Map? Thanks, Alex. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re-populating form page options after validation failure

2003-07-07 Thread Michael Harrison
My problem bears some resemblance to one dicussed here in January, when Brandon Goodin posted about collection population when using the validator. (I read it in the archive). Following Rick Reumann's Struts tutorials (http://www.reumann.net/do/struts/main), I have built a three-step registrat

Where do I find all the potential options for requiredif validation?

2003-06-25 Thread Mick Knutson
The FA only shows a few of the options. Is there a NULL, NOTEQUALS etc Where can I find the list of options? --- Thanks... Mick Knutson --- _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page

Re: $ formatting in html options tag

2003-06-19 Thread David Graham
The JSTL's fmt tags have some of this capability. Why can't you use an $10,000 to send back an unformatted value to the form? David in labelProperty getDescription i will get only amounts 1000,2000,3000 etc from database.at the presetation layer i need to display these values as $1000,$2000,

$ formatting in html options tag

2003-06-19 Thread Kommana, Sridhar
in labelProperty getDescription i will get only amounts 1000,2000,3000 etc from database.at the presetation layer i need to display these values as $1000,$2000,$3000 etc.Is there a way to append formatting $ in the html:options tag other than adding $ to the collection.if i add $ to the collecti

RE: Populate select options with Integers

2003-03-31 Thread James Mitchell
; --- apachep2 <[EMAIL PROTECTED]> wrote: > > Have you looked at label-value? > > > > -Original Message- > > From: Dhruva B. Reddy > > [mailto:[EMAIL PROTECTED] > > Sent: March 31, 2003 3:00 PM > > To: Struts Users Mailing List > > Subjec

RE: Populate select options with Integers

2003-03-31 Thread Dhruva B. Reddy
PM > To: Struts Users Mailing List > Subject: Populate select options with Integers > > Hi, > > I'm trying to populate a drop down list with > integers. > Basically, I want the following to be generated: > > > 1 > 2 > 3 &g

RE: Populate select options with Integers

2003-03-31 Thread apachep2
Have you looked at label-value? -Original Message- From: Dhruva B. Reddy [mailto:[EMAIL PROTECTED] Sent: March 31, 2003 3:00 PM To: Struts Users Mailing List Subject: Populate select options with Integers Hi, I'm trying to populate a drop down list with integers. Basically, I wan

Populate select options with Integers

2003-03-31 Thread Dhruva B. Reddy
Hi, I'm trying to populate a drop down list with integers. Basically, I want the following to be generated: 1 2 3 4 Is there an easy way to do this? I can't seem to find anything in the documentation or on ___

Re: Populate options with integers

2003-03-31 Thread Dan Tran
: Monday, March 31, 2003 9:43 AM Subject: Populate options with integers > Hi, > > I'm trying to populate a drop down list with integers. Basically, I > want the following to be generated: > > > 1 > 2 > 3 > 4 > > > Is there an ea

Populate options with integers

2003-03-31 Thread Dhruva B. Reddy
Hi, I'm trying to populate a drop down list with integers. Basically, I want the following to be generated: 1 2 3 4 Is there an easy way to do this? I can't seem to find anything in the documentation or on Google. Thanks, Dhruva -- Dh

max selected options

2003-03-15 Thread Dan Allen
Is there already a validation in place the checks that only a limited amount of indexed property items are selected? Consider either a multi-select box or an indexed set of input fields. I want to prevent the user (via manipulation of the form or just regular use) from being able to populate with

RE: generating select options from a previous select

2003-03-11 Thread Mark Galbreath
: [EMAIL PROTECTED] Subject: generating select options from a previous select Hello, I have a form with two select tags. I want the options for the second to be dependent on the option chosen for the first. What is the best way to accomplish this? If java script is the answer, how do I obtain the

RE: generating select options from a previous select

2003-03-11 Thread James Mitchell
mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 11, 2003 1:46 PM > To: [EMAIL PROTECTED] > Subject: generating select options from a previous select > > > Hello, > > I have a form with two select tags. I want the options for > the second to be > dependent on the opti

generating select options from a previous select

2003-03-11 Thread Clauson, Kelly
Hello, I have a form with two select tags. I want the options for the second to be dependent on the option chosen for the first. What is the best way to accomplish this? If java script is the answer, how do I obtain the value of the option chosen in the first select (I'm new to web apps)?

Re: Declarative Exception Handling Options

2003-02-28 Thread David Graham
To: <[EMAIL PROTECTED]> Subject: Declarative Exception Handling Options Date: Fri, 28 Feb 2003 10:58:22 -0500 I'm using struts declarative exception handling mechanism, however, I need to associate a custom exception type with a specific field on the page so that they can be handled similar

Declarative Exception Handling Options

2003-02-28 Thread scarter
I'm using struts declarative exception handling mechanism, however, I need to associate a custom exception type with a specific field on the page so that they can be handled similar to exceptions that occur as a result of the validator. For example, we have built a custom extension that highlights

Re: [Q] Form doesn't keep options list ... JSP has no list

2003-02-27 Thread Rick Reumann
On Thu, 27 Feb 2003 15:41:05 -0500 [EMAIL PROTECTED] wrote: > Hello, > > on JSP I have: > > dropdown selection: > > styleClass="smallFont" > > > > > and input field that I need validate in my reportForm (on server) > > the reportForm has all fields that are filled by Action class. > and J

[Q] Form doesn't keep options list ... JSP has no list

2003-02-27 Thread michael . korolyov
Hello, on JSP I have: dropdown selection: and input field that I need validate in my reportForm (on server) the reportForm has all fields that are filled by Action class. and JSP display all just fine. but, when I type "wrong" value into input field then reportForm validate returns errors

html:select multiple with dynamically populated options

2003-02-21 Thread Ian Hunter
I need to populate the options in a multiple select box dynamically from javascript. The property that is being populated is an array of strings. I have that set up and working with no errors, but I don't ever get anything back in my array. For example, say I declare more stuff

Re: RowSetDynaClass, select options

2003-01-31 Thread Kris Schneider
> > the JSP as follows:- > > > > > > > > > >> labelProperty="first_name" /> > > > > > > > > What I would like to do is concatenate two fields in the java.util.List > and > >

Re: RowSetDynaClass, select options

2003-01-31 Thread Heather Buch
> Hi, Im using the RowSetDynaClass to produce a java.util.List of values from > a database which are displayed in > the JSP as follows:- > > > >labelProperty="first_name" /> > > > > What I would like to do is concatenate

RE: dropdown - options

2003-01-29 Thread Robert Taylor
t > -Original Message- > From: Senthivel U S [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 29, 2003 12:10 PM > To: 'Struts Users Mailing List' > Subject: dropdown - options > > > Greetings, > > I know very well this has been discussed earlier but

dropdown - options

2003-01-29 Thread Senthivel U S
Message- From: Robert Taylor [mailto:[EMAIL PROTECTED]] Sent: 29 01, 2003 8:09 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: dropdown - options This has been discussed before. Please look at the archives. In the mean time, try setting the input attribute of the action

RE: dropdown - options

2003-01-29 Thread Robert Taylor
gt; Sent: Wednesday, January 29, 2003 10:40 AM > To: 'Struts Users Mailing List' > Subject: dropdown - options > > > > Greetings, > > I have one dropdown. For dropdown I have one property of type ArrayList > in the form. It displays the list. While submitt

dropdown - options

2003-01-29 Thread Senthivel U S
Greetings, I have one dropdown. For dropdown I have one property of type ArrayList in the form. It displays the list. While submitting the page, if there is any error, I want to display the same page with the dropdown list. I don't want to set it as session/application attribute. Jsp code

Re: RowSetDynaClass, select options

2003-01-24 Thread Kris Schneider
>labelProperty="first_name" /> > > > > What I would like to do is concatenate two fields in the java.util.List and > use that as the labelProperty so the HTML OPTIONS would have a value of > firstname and a label of firs

RowSetDynaClass, select options

2003-01-24 Thread Cook, Graham
OPTIONS would have a value of firstname and a label of firstname and lastname. Has anyone got an idea on how to concatenate please? " This message contains information that may be privileged or confidentia

RE: select, options, define???

2002-12-24 Thread VEDRE, RANAPRATAP REDDY
login fields. -rana. -Original Message- From: Jitendra Singh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 24, 2002 7:25 AM To: [EMAIL PROTECTED] Subject: select, options, define??? I am still fighting .. help help!! I have a form with 10 login id displayed as

select, options, define???

2002-12-24 Thread Jitendra Singh
I am still fighting .. help help!! I have a form with 10 login id displayed as text field and ther admin rights chosen from a drop down lists .. all drop down lists are same. looks like this .. Login Id1 AdminRight1 Login Id2AdminRight2 Login Id3AdminRight2 . .

Select options with non string property targets

2002-12-03 Thread Chris Burnley
Is it possible for me to have something like this: where on my ActionForm, I have something like this: public UserType getUserType() public Collection getUserTypes() public void setUserType(UserType type) I don't want to have to deal with the labels, but rather have the s

Re: how to dynamically generate select options from arrays

2002-11-13 Thread matthew yee-king
AIL PROTECTED]> wrote: > I'm using struts 1.0. > > I have a User object with a string array availableGroups. I want to > generate a select options list from this array in a jsp. > > Using a session bean of type User named currentUser, I can iterate the > array like t

how to dynamically generate select options from arrays

2002-11-13 Thread matthew yee-king
Hello list people I'm using struts 1.0. I have a User object with a string array availableGroups. I want to generate a select options list from this array in a jsp. Using a session bean of type User named currentUser, I can iterate the array like this: but i can't work out how

Re: reuse select/options?

2002-11-06 Thread Eddie Bush
No - but you can sure put the collection in application scope, if that data is static. Andy Kriger wrote: I have a form that repeats a credit card validation portion multiple times. What is the best way to only have to write html:select/html:options once? Is there a way to give the first use an

reuse select/options?

2002-11-06 Thread Andy Kriger
I have a form that repeats a credit card validation portion multiple times. What is the best way to only have to write html:select/html:options once? Is there a way to give the first use an id and then refer to that by reference? thx andy kriger -- To unsubscribe, e-mail:

RE: options not showing

2002-10-19 Thread Robert Taylor
: Saturday, October 19, 2002 6:08 AM > To: '[EMAIL PROTECTED]' > Subject: options not showing > > > Hi, > > Answering my own question. The "LabelValueBean" was coded like this. > That was the problem. > > private String label = null; &

options not showing

2002-10-19 Thread Mohan Radhakrishnan
elValueBean( "Label 0", "Value 0" )); > wanGroupOptions.add( new LabelValueBean( "Label 1", "Value 1" )); > Now the following works but generates empty options tags. > > > >I am

options not showing

2002-10-19 Thread Mohan Radhakrishnan
"Label 1", "Value 1" )); Now the following works but generates empty options tags. I am using the following code to debug and I am getting the correct size printed on the screen. <%= wan

html options tag

2002-10-18 Thread Mohan Radhakrishnan
Hi, What is the importance of the form tag when used with the html select tag ? - - My struts config file contains - The options are shown in "reporterParameterForm". So after the options are shown in "reporterParameterForm", t

Options not shown.

2002-10-18 Thread Mohan Radhakrishnan
Hi, What could be the reason if the empty html options are not shown with the following code ?This is a copy of the struts examples which works. The only difference is that the LabelBeans are stored in the application context. The tags are in an ActionForm. Does it make a difference

Options not shown.

2002-10-18 Thread Mohan Radhakrishnan
Hi, What could be the reason if the html options are not shown with the following code ? --- Vector applicationOptions = new Vector(); applicationOptions.add( new LabelValueBean( "Label 0"

options collection

2002-10-16 Thread Marcus Biel
Still same problem. I want to make a dynamic select box. Now I've got: Compiler throws: An error occurred at line: 26 in the jsp file: /index.jsp Generated servlet error: C:\opt\tomcat4.0.4\work\Standalone\localhost\group\index$jsp.java:120: Incompatible type for method. Can't convert ja

Re: Datasource Access Options (was Connection Pooling)

2002-10-15 Thread David Graham
ner and/or application specific approach. Dave >From: "Bradley G Smith" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >Subject: Datasource Access Options (was C

Datasource Access Options (was Connection Pooling)

2002-10-15 Thread Bradley G Smith
I spent much of yesterday using Google to glean information about configuring Struts (w/ Tomcat in my case) to use a datasource. As Eddie Bush points out in a prior post options for initializing a datasource (with or without a connection pool) include: 1. Tomcat JNDI service via server.xml; 2

RE: ArrayList in Options

2002-10-09 Thread Cohan, Sean
Very cool. Thanks. -Original Message- From: Pavel Kolesnikov [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 4:19 PM To: Struts Users Mailing List Subject: Re: ArrayList in Options On Wed, 9 Oct 2002, Cohan, Sean wrote: > I'll have an ArrayList of bea

Re: ArrayList in Options

2002-10-09 Thread Pavel Kolesnikov
scope request.setAttribute ("blah", yourArrayList); Your JSP (forwarded from action class mentioned above): <%-- render your select-box using collection from your action --%> See http://jakarta.apache.org/struts/struts-html.html#options Pavel -- To unsubscribe, e-ma

ArrayList in Options

2002-10-09 Thread Cohan, Sean
I'll have an ArrayList of beans in my ActionClass. Can I set the ArrayList in the html:options collection property? The doc says the collection attribute is interpreted as the name of a JSP bean, in some scope. ??? If I can do this, how do I expose this ArrayList to the jsp page and refer to

Options/Selection

2002-09-27 Thread Mohan Radhakrishnan
ations(){ return applications; } public void setApplications( String[] applications ){ this.applications = applications; } The first time before the action associated with ReportParameterForm is fired, I fill up the options and values manually a

RE: options

2002-09-26 Thread Robert Taylor
1.1b2 I found it while browsing the taglib/html package source code. robert > -Original Message- > From: Aaron Steele [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 26, 2002 3:50 PM > To: 'Struts Users Mailing List' > Subject: RE: options > > &

RE: options

2002-09-26 Thread Mark . Easparro
le" [EMAIL PROTECTED] <[EMAIL PROTECTED]cc: om> Subject: RE: options

RE: options

2002-09-26 Thread Aaron Steele
What version of Struts is that in? Aaron Steele Java Consultant 817.401.0831 [EMAIL PROTECTED] -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 2:35 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: options robert

RE: options

2002-09-26 Thread Robert Taylor
robert > -Original Message- > From: Jefferson R. de O. e Silva [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 26, 2002 3:17 PM > To: [EMAIL PROTECTED] > Subject: options > > > I have a bean called dataImportBean in my session. It has a > property ca

RE: options

2002-09-26 Thread Aaron Steele
: Jefferson R. de O. e Silva [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 2:17 PM To: [EMAIL PROTECTED] Subject: options I have a bean called dataImportBean in my session. It has a property called labelTypes which is an ArrayList, and it has some LabelValueBean objects. I want to

options

2002-09-26 Thread Jefferson R. de O. e Silva
I have a bean called dataImportBean in my session. It has a property called labelTypes which is an ArrayList, and it has some LabelValueBean objects. I want to put each of the LabelValueBeans in a html:options, but all I tried failed. Can any help me with this ? Thanks Jeff -- To unsubscri

RE: [options tag]

2002-09-18 Thread Kevin Roast
I was also wondering about this - and also how do you pass a "value" to the HTML options tag? Current I init my tags with a property in my Form bean that returns a simple List of Strings - these are shown as the text part of the option - how do I set the "value" part? Than

[options tag]

2002-09-18 Thread Lisa van Gelder
Hi guys Apologies if the answer to this is obvious, but I can't see how to have a tag with internationalised options. The tag has a "key" attribute which will internationalise the text presented to the user, but the tag does not seem to have anything similar. Am I missing so

RE: Another question [ensuing options ;)]

2002-09-11 Thread James Mitchell
There are many ways to do this. index.html - (javascript) document.location.href='goToMyInitialAction.do' index.html - index.jsp - request.sendRedirect index.jsp - http://www.open-tools.org/struts-atlanta > -Original Message- > From: Mark Kaye [mailto:[EMAIL PROTECTED]] > Sent: Wed

Re: Select Options

2002-09-09 Thread Craig Tataryn
Hi Johnathan, I think you are getting confused with how it actually selects the value that the user intended. Think of it this way: This means that when the form is submitted, the "type" parameter is sent to your action class with the "value" that they selected from

Re: Select Options

2002-09-09 Thread Michael Lee
han M." <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, September 09, 2002 1:01 PM Subject: RE: Select Options > Can you please help me some more with details > > -Original Message--

RE: Select Options

2002-09-09 Thread Karr, David
> -Original Message- > From: Smith, Johnathan M. [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 09, 2002 10:01 AM > To: 'Struts Users Mailing List' > Cc: '[EMAIL PROTECTED]' > Subject: RE: Select Options > > Can you please help me some

RE: Select Options

2002-09-09 Thread Smith, Johnathan M.
Can you please help me some more with details -Original Message- From: Carl Bacher [mailto:[EMAIL PROTECTED]] Sent: Monday, September 09, 2002 12:59 PM To: Struts Users Mailing List Subject: Re: Select Options Smith, Johnathan M. wrote: >I am trying to find out how to make a sel

Re: Select Options

2002-09-09 Thread Carl Bacher
Smith, Johnathan M. wrote: >I am trying to find out how to make a select (dropdown list) selected a >option at the time of the page is loaded. Sample > >1) I selected a option from my dropdown box and and click submit button >2) The FormAction find that I did not entered all the requested text

Select Options

2002-09-09 Thread Smith, Johnathan M.
I am trying to find out how to make a select (dropdown list) selected a option at the time of the page is loaded. Sample 1) I selected a option from my dropdown box and and click submit button 2) The FormAction find that I did not entered all the requested text boxs and it redisplays the page a

RE: Does anybody know how to PRE-select MULTIPLE options with the selct tag?

2002-08-15 Thread Sri Sankaran
ot;Multiple 5", "Multiple 6", "Multiple 7", "Multiple 8", "Multiple 9" }; pageContext.setAttribute("multipleValues", multipleValues); Vector options = new Vector(); options.add(new OptionBean("Label 0", "Value 0")); optio

RE: Does anybody know how to PRE-select MULTIPLE options with the selct tag?

2002-08-15 Thread Jim Lee
Hi Sri, I read the html-select.jsp example but failed to find one that shows how to preselect multiple options from a multiselect tag. Could you give a line of example please? What I would like is something like: Thanks, Jim Sri Sankaran wrote:See sample app that ships with Struts

RE: Does anybody know how to PRE-select MULTIPLE options with the selct tag?

2002-08-14 Thread Sri Sankaran
See sample app that ships with Struts. struts-exercise-taglib/html-select.jsp Sri -Original Message- From: Jim Lee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 4:31 PM To: Struts Users Mailing List Subject: Does anybody know how to PRE-select MULTIPLE options with the

Does anybody know how to PRE-select MULTIPLE options with the selct tag?

2002-08-14 Thread Jim Lee
- Do You Yahoo!? HotJobs, a Yahoo! service - Search Thousands of New Jobs

RE: How to re-populate multiple selected options in a dropdown combo box

2002-08-03 Thread mike m
group [mailto:@[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 5:40 AM To: [EMAIL PROTECTED] Subject: How to re-populate multiple selected options in a dropdown combo box Subject: How to re-populate multiple selected options in a dropdown combo box From: "Hu Ji Rong" <[EMAIL PROTECTED]

How to re-populate multiple selected options in a dropdown combo box

2002-07-31 Thread @Basebeans.com
Subject: How to re-populate multiple selected options in a dropdown combo box From: "Hu Ji Rong" <[EMAIL PROTECTED]> === Hi, I have the following code and String[ ] attribute with the same name in the form bean, but got an error same bean with name stdAirspaceLim

RE: HTML special characters in options tags

2002-07-18 Thread John Reid
ED]] > Sent: 18 July 2002 10:00 > To: Struts Users Mailing List > Subject: RE: HTML special characters in options tags > > > A quick and dirty solution might be to cut and paste the code for > the entire > html:options tag to create your own version which doesnt encode the

  1   2   3   >