Re: html:select / html:options

2004-03-23 Thread Mark Lowe
ibute("mylist") then assign it to some collection.then use that collection for populating the select lokee -Original Message- From: Christian Schlaefcke [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 2:45 AM To: Struts Users Mailing List Subject: html:select

RE: html:select / html:options

2004-03-23 Thread Sanoj, Antony (IE10)
:15 PM To: Struts Users Mailing List Subject: html:select / html:options Hi Folks! for several days I mess around with html:select and html:options. I want to access a collection with names or numbers (just java.lang.String). This collection is available in the session. For testing I generated my

RE: html:select / html:options

2004-03-23 Thread Lokanath
PROTECTED] Sent: Tuesday, March 23, 2004 2:45 AM To: Struts Users Mailing List Subject: html:select / html:options Hi Folks! for several days I mess around with html:select and html:options. I want to access a collection with names or numbers (just java.lang.String). This collection is availa

html:select / html:options

2004-03-23 Thread Christian Schlaefcke
Hi Folks! for several days I mess around with html:select and html:options. I want to access a collection with names or numbers (just java.lang.String). This collection is available in the session. For testing I generated my own collection in the jsp <% java.util.Collection list =

Re: how to set selectedIndex at html:select

2004-02-27 Thread Mark Lowe
set the value of the form property that you wish to select. On 27 Feb 2004, at 17:40, Daniel wrote: How can change the "selectedIndex" of dropdown values obrigado Daniel S. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

how to set selectedIndex at html:select

2004-02-27 Thread Daniel
How can change the "selectedIndex" of dropdown values obrigado Daniel S.

RE: html:select

2004-02-17 Thread Wendy Smoak
> From: Gonzalez, Sergio Eduardo [mailto:[EMAIL PROTECTED] > I need to send the value and text dispayed to the server Now I have to ask, why? Presumably you're generating the selections from something, maybe a Map? All you need is the value, they key, and you can pull the value out of the Ma

Re: html:select

2004-02-17 Thread Nick Heudecker
ver > > -Mensaje original- > De: Wendy Smoak [mailto:[EMAIL PROTECTED] > Enviado el: martes, 17 de febrero de 2004 17:39 > Para: Struts Users Mailing List > Asunto: RE: html:select > > > From: Gonzalez, Sergio Eduardo [mailto:[EMAIL PROTECTED] > > How can I do to send

RE: html:select

2004-02-17 Thread Paul McCulloch
04 16:13 > To: Struts Users Mailing List > Subject: html:select > > > > Hello . > I have to get the description from a html:select example in html > > > z > > > how can I do to get the "z&qu

Re: html:select

2004-02-17 Thread Geeta Ramani
Well, I guess that's what Wendy was suggesting in the first place: make the value and the text the same, that way sending one is tatamount to sending both.. The other option is to use a hidden field and javascript (onSelect fill hidden field kind of thing along with the form.blah-blah[selectedIndex

RE: html:select

2004-02-17 Thread Gonzalez, Sergio Eduardo
I need to send the value and text dispayed to the server -Mensaje original- De: Wendy Smoak [mailto:[EMAIL PROTECTED] Enviado el: martes, 17 de febrero de 2004 17:39 Para: Struts Users Mailing List Asunto: RE: html:select > From: Gonzalez, Sergio Eduardo [mailto:[EMAIL PROTEC

RE: html:select

2004-02-17 Thread Wendy Smoak
> From: Gonzalez, Sergio Eduardo [mailto:[EMAIL PROTECTED] > How can I do to send the value displayed ? Can you post the code from the JSP the way it is now? Someone can probably help you change it so that it does what you want. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Informati

RV: html:select

2004-02-17 Thread Gonzalez, Sergio Eduardo
Ok . How can I do to send the value displayed ? -Mensaje original- De: Wendy Smoak [mailto:[EMAIL PROTECTED] Enviado el: martes, 17 de febrero de 2004 17:25 Para: Struts Users Mailing List Asunto: RE: html:select > From: Gonzalez, Sergio Eduardo [mailto:[EMAIL PROTECTED] >

Re: html:select

2004-02-17 Thread Nick Heudecker
form.xx.options[form.xx.selectedIndex].text; On 2004-Feb-17 17:02, Gonzalez, Sergio Eduardo wrote: > > Hello . > I have to get the description from a html:select example in html > > > z > > > how can I do to get the "z" value ??? ( using st

RE: html:select

2004-02-17 Thread Wendy Smoak
> From: Gonzalez, Sergio Eduardo [mailto:[EMAIL PROTECTED] > I have to get the description from a html:select example in html > > z > > how can I do to get the "z" value ??? ( using struts ) Make the tag look like this instead: z It's

html:select

2004-02-17 Thread Gonzalez, Sergio Eduardo
Hello . I have to get the description from a html:select example in html z how can I do to get the "z" value ??? ( using struts ) thamks .. serge Aquest missatge electronic pot

Re: Using a java.util.List with a HTML:SELECT

2004-02-13 Thread sean jones
i am aware of this option but DAO only returns a list of Strings and i prefer that to a list of beans. The reason is i am more interested in the role name than the role_id. I plan to delete all the roles then put them back with a batchupdate. This allows the user to selected all the roles t

Re: Using a java.util.List with a HTML:SELECT

2004-02-13 Thread Niall Pemberton
and roleId properties. Niall - Original Message - From: "sean jones" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 13, 2004 5:00 PM Subject: Using a java.util.List with a HTML:SELECT > > is it possible to use a java.util.List object w

Re: Using a java.util.List with a HTML:SELECT

2004-02-13 Thread Oliver Thiel
va.util.List object with an HTML:SELECT control. > > import java.util.List; > import java.util.ArrayList; > > public final class Roles extends Ojbect { > public Roles() {} > public static List getRoles() { > List r = new ArrayList(); >

Using a java.util.List with a HTML:SELECT

2004-02-13 Thread sean jones
is it possible to use a java.util.List object with an HTML:SELECT control. import java.util.List; import java.util.ArrayList; public final class Roles extends Ojbect { public Roles() {} public static List getRoles() { List r = new ArrayList(); r.add("

html:select with multiple selections

2004-02-04 Thread Otto, Frank
Hi, I have a html:select tag with multiple selections. Fist I select two elements. After this I deselect this elements, but If I come back to this site, the two elements will be selected again. I don't know why. I think the property for the select box is not set by populating the form,

RE: html:options and html:select

2004-02-02 Thread Jiin-Her Lu
Sent: Monday, February 02, 2004 5:41 PM To: Struts-User (E-Mail) Subject: html:options and html:select hello, I have following bean: public class CProduct { private Integer id; private String name public Integer getId() {return id;} puclic void setId(Integer id)

RE: html:options and html:select

2004-02-02 Thread Guillermo Meyer
: Lunes, 02 de Febrero de 2004 09:28 a.m. To: 'Struts Users Mailing List' Subject: AW: html:options and html:select Thanks for your answer, but I have found out, that I can use html:optionsCollection. Regards, Frank -Ursprüngliche Nachricht- Von: Claire Wall [mai

Re: AW: html:options and html:select

2004-02-02 Thread Claire Wall
;Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, February 02, 2004 12:34 PM Subject: Re: AW: html:options and html:select Thank goodness for that, dunno why folks seem to do that bean:write for dropdowns :o) On 2 Feb 2004, at 13:27, Otto, Frank wrote: > Thanks for your

Re: AW: html:options and html:select

2004-02-02 Thread Mark Lowe
[mailto:[EMAIL PROTECTED] Gesendet: Montag, 2. Februar 2004 13:22 An: Struts Users Mailing List Betreff: Re: html:options and html:select you can do the following: "> 'property' of the select box should be the name of the property in your FormBean that you

RE: html:options and html:select

2004-02-02 Thread anant.parnami
From: Otto, Frank [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 5:41 PM To: Struts-User (E-Mail) Subject: html:options and html:select hello, I have following bean: public class CProduct { private Integer id; private String name public Integer getId() {return id;}

AW: html:options and html:select

2004-02-02 Thread Otto, Frank
html:select you can do the following: "> 'property' of the select box should be the name of the property in your FormBean that you wish to store the selected value in. You then iterate through the list in your form by using the tag. For every object in yo

Re: html:options and html:select

2004-02-02 Thread Mark Lowe
ArrayList productList = new ArrayList(); CProduct product = new CProduct(); product.setId(new Integer(1)); product.setName("My Product"); productList.add(product); request.setAttribute("products",productList.toArray()); ... -- If you dont want to have a refering action then you can have an

Re: html:options and html:select

2004-02-02 Thread Claire Wall
TED]> Sent: Monday, February 02, 2004 12:11 PM Subject: html:options and html:select > hello, > > I have following bean: > > public class CProduct { > > private Integer id; > > private String name > > public Integer getId() {return id;} > pucli

html:options and html:select

2004-02-02 Thread Otto, Frank
hello, I have following bean: public class CProduct { private Integer id; private String name public Integer getId() {return id;} puclic void setId(Integer id){ ... } My form class contains a java.util.List of CProduct bean. How can I display the List as select box? I

RE: html:select multiple="true" question

2004-01-21 Thread Mathew, Manoj
I used the same property name for select and Options tag..it worked in a dynaaction form. Thank-you, Manoj Mathew GIS 515-362-0539 -Original Message- From: Morten [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 6:00 AM To: [EMAIL PROTECTED] Subject: html:select multiple

html:select multiple="true" question

2004-01-21 Thread Morten
Hi. I have a bean stored in page scope with id "active". It returns a String[] on getIds() and getLabels(). I use the following to render a multiple select box: What's wrong with this approach? I wish to have all elements selected. All elements show and have the proper value/label, but they d

Re: html:select example

2003-12-30 Thread Carl
, but I've never used it. Good luck Carl Otávio Augusto wrote: Would someone show me a very simple example of the use of an html:select tag? I did not understand its use. I'd appreciate any simple example. Thanks a lot. -

RE: html:select example

2003-12-30 Thread Steve Raeburn
I have some examples of Struts tags, including html:select, at http://www.ninsky.com/struts Various other examples are listed at http://struts.sourceforge.net/community/examples.html Steve Sorry if this is a duplicate message, sent the first one from the wrong address :-( > -Origi

RE: html:select example

2003-12-30 Thread Daniel Lipofsky
> Would someone show me a very simple example of the use of an > html:select tag? I did not understand its use. > > I'd appreciate any simple example. The select tag can contain a list of option tags, or an options or optionsCollection tag or any combination. Here I

html:select example

2003-12-30 Thread Otávio Augusto
Would someone show me a very simple example of the use of an html:select tag? I did not understand its use. I'd appreciate any simple example. Thanks a lot. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

RE: html:select default value problem

2003-12-18 Thread Robert Taylor
[EMAIL PROTECTED] > Subject: html:select default value problem > > > Hi, > > I know this has been talked about before, and I'm pretty sure I > understand the concept, but I don't know why this is not > working. The default option for an html:select is not bein

html:select default value problem

2003-12-18 Thread Keith C. Klopfer
Hi, I know this has been talked about before, and I'm pretty sure I understand the concept, but I don't know why this is not working. The default option for an html:select is not being displayed. I have an ActionForm in request scope called "BusinessForm" that is pop

RES: html:select tag or logic:iterate

2003-12-15 Thread Tiago Henrique Costa Rodrigues Alves
Inside the struts-exercise-taglib.war that comes with struts 1.1 you will find a pratical example to solve your problem... You should not do a logic:iterate inside html:select, insteat of logic:iterate use the option:optionsCollection and pass your collection to it... look the jsp example

Re: html:select tag or logic:iterate

2003-12-15 Thread Firat TIRYAKI
try this, F. - Original Message - From: "Marco Mistroni" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Monday, December 15, 2003 3:00 PM Subject: html:select tag or logic:iterate > Hi all, > I

html:select tag or logic:iterate

2003-12-15 Thread Marco Mistroni
MyObject names, (wity MyObject.id as value) I have tried to embed the html:select inside a logic:iterate, but my editor (websphere studio)complaints for following code " id="container"> "> the error is 'Attribute cont

RE: Problem with html:select tag calling set method in form

2003-11-04 Thread damian_bradicich
| |cc: | | Subject: RE: Problem with ht

RE: Problem with html:select tag calling set method in form

2003-11-04 Thread shirishchandra.sakhare
html:select tag calling set method in form I was thinking that was the case, but was hoping otherwise, I'll have to come up w/ a javascript solution. thx for the help Shirish ___ Damian Bradicich Software Developer Scientific Technologies Corporation Tel: (603

RE: Problem with html:select tag calling set method in form

2003-11-04 Thread damian_bradicich
To: <[EMAIL PROTECTED]> | |cc: | | Subject: RE: Problem with ht

RE: Problem with html:select tag calling set method in form

2003-11-04 Thread shirishchandra.sakhare
box is being sent in request.I am sure you wont find any... HTH. regards, Shirish -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 3:21 PM To: Struts Users Mailing List Subject: Re: Problem with html:select tag calling set method in

Re: Problem with html:select tag calling set method in form

2003-11-04 Thread damian_bradicich
| |cc: | |Subject: Problem wi

Re: html:select

2003-10-30 Thread Rhet Behler
set the country in the action before the page if null - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 30, 2003 1:41 PM Subject: html:select > how can i default a countrylist, i mean set the selected country ? > I want

html:select

2003-10-30 Thread [EMAIL PROTECTED]
how can i default a countrylist, i mean set the selected country ? I want the selected to be 'BE' my code: Thanks ! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Problem with html:select tag calling set method in form

2003-10-30 Thread damian_bradicich
I have a jsp that creates a select tag w/ size = 2 and multiple also true, which gives me a list box w/ multi selection. So, I open up the page, and I see all the data fine, I select a couple of items in the list box and save, everything is great, my setter in the form is getting called. Howe

Pre-populating html:select from request object

2003-10-29 Thread Leon King
I'm trying to pass data between different struts forms. Below I've tried to pre-populate a select statement from data stored in the request but I get a compilation error (" Attribute outageEndDateFromMonth has no value " ). " > Any suggestions on how this can be achieved? Thanks Leo

Re: html:select onchange

2003-10-29 Thread Mark Lowe
In fact ignore my suggestion, I was silly and assumed the userId was taken somewhere else but the form. On Wednesday, October 29, 2003, at 11:33 AM, Mark Lowe wrote: Perhaps you don't need to pass the id in as an argument. I'd just wrap the action in a js function function setupUserForm() {

Re: html:select onchange

2003-10-29 Thread Mark Lowe
Perhaps you don't need to pass the id in as an argument. I'd just wrap the action in a js function function setupUserForm() { alert( 'setUpUsersForm.do?action=retrieve&userId= ' ); } onchange="setupUserForm()" .. On Wednesday, October 29, 2003, at 11:12 AM, struts wrote: Problem how can i

Re: html:select onchange

2003-10-29 Thread James Mitchell
s Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, October 29, 2003 6:12 AM Subject: html:select onchange Problem how can i pass the userId ? so that i can do a request.getParameter("userId") ? example: Thanks ! ---

html:select onchange

2003-10-29 Thread struts
Problem how can i pass the userId ? so that i can do a request.getParameter("userId") ? example: Thanks !

logic:iterate tag with html:select

2003-10-14 Thread Xiuyu Zhang
Hi all, I am try it to do a list in the action class and pass it to a jsp page as the html:select options. I am using Strut 1.0. in the action class, I do this: ArrayList codes = new ArrayList(); codes.add("--select one--"); request.setAttribute("CODES", codes);

RE: How can I compute data for html:select choices?

2003-10-13 Thread Wiebe de Jong
debug 0 5 -- page.jsp: Month: -- -Original Message- From: Bob Langford [mailto:[EMAIL PROTECTED] Sent: Saturday, October 11, 2003 10:35 AM To: [EMAIL PROTECTED] Subject: How can I compute data for html:select choices? Hi

RE: How can I compute data for html:select choices?

2003-10-11 Thread Ramakrishna_Nk
t; ] Sent: Saturday, October 11, 2003 11:05 PM To: [EMAIL PROTECTED] Subject: How can I compute data for html:select choices? Hi, I can't seem to understand how to declare things correctly to do what I want to do. Can anyone tell me where I am going wrong? I'm trying to use a simple Ja

Re: How can I compute data for html:select choices?

2003-10-11 Thread Vic Cekvenich
se a simple Java method as the source of the choices in a html:select box in a form. The method returns a java.util.List, where each item is a org.apache.struts.util.ValueLabelBean object, just what I need for this. Here's one way I tried to use it: = <%@ page impor

Re: How can I compute data for html:select choices?

2003-10-11 Thread Daniel H. F. e Silva
i, I can't seem to understand how to declare things correctly to do > what I want to do. Can anyone tell me where I am going wrong? > > I'm trying to use a simple Java method as the source of the choices > in a html:select box in a form. The method returns

How can I compute data for html:select choices?

2003-10-11 Thread Bob Langford
Hi, I can't seem to understand how to declare things correctly to do what I want to do. Can anyone tell me where I am going wrong? I'm trying to use a simple Java method as the source of the choices in a html:select box in a form. The method returns a java.util.List, where each

RE: problem using html:select

2003-10-01 Thread Greg Dunn
o want to pre-select an option add the 'value' attribute to the select tag. Greg -Original Message- From: carlos manuel llona aris [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 2:07 PM To: [EMAIL PROTECTED] Subject: Re: problem using html:select the problem is t

Re: problem using html:select

2003-10-01 Thread carlos manuel llona aris
how to match :( From: [EMAIL PROTECTED] Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: problem using html:select Date: Wed, 1 Oct 2003 12:46:10 -0400 What is the error message you are

Re: problem using html:select

2003-10-01 Thread denis
What is the error message you are getting? - Original Message - From: "Carlos Llona" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 01, 2003 11:57 AM Subject: problem using html:select > Hello: > > This is my litle problem >

problem using html:select

2003-10-01 Thread Carlos Llona
ualy, but now I want that the user select the Cargo(ocupation - this ocupations are in another table) from a combo, I can show the combobox with the data from de table ocupations using a bean and the tag html:select. --select-- but now I cant recive tha value selected in t

RE: Problem updating values from html:select

2003-09-19 Thread Hajratwala, Nayan (N.)
Users Mailing List Subject: RE: Problem updating values from html:select I'm fairly certain your ActionForm needs an indexed setter for the Device Objects, as well. Give it a try. m "Hajratwala, Nayan (N.)" <[EMAIL PROTECTED]> wrote: Not directly on my form, but on the

RE: Problem updating values from html:select

2003-09-19 Thread Michael Ruppin
Mailing List Subject: Re: Problem updating values from html:select You did make the indexed setters in your Form, right? m Hajratwala, Nayan (N.)" wrote: Folks, I have the following jsp that is giving me a headache. My ActionForm contains a Collection of Device objects. The outer loop

RE: Problem updating values from html:select

2003-09-19 Thread Hajratwala, Nayan (N.)
-Original Message- From: Michael Ruppin [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 12:42 PM To: Struts Users Mailing List Subject: Re: Problem updating values from html:select You did make the indexed setters in your Form, right? m Hajratwala, Nayan (N.)" <[EMAIL PROTECTE

Re: Problem updating values from html:select

2003-09-19 Thread Michael Ruppin
You did make the indexed setters in your Form, right? m Hajratwala, Nayan (N.)" <[EMAIL PROTECTED]>wrote: Folks, I have the following jsp that is giving me a headache. My ActionForm contains a Collection of Device objects. The outer loop iterates over each device. Each Device contains a Col

Problem updating values from html:select

2003-09-19 Thread Hajratwala, Nayan (N.)
Folks, I have the following jsp that is giving me a headache. My ActionForm contains a Collection of Device objects. The outer loop iterates over each device. Each Device contains a Collection of Parameter objects. The inner loop iterates over each parameter. The problem comes in the The v

Re: html:select multiple="true" and ActionForm

2003-09-17 Thread Ian Joyce
66211-2672 Phone: 800-274-2237 ext 4219 Fax: 913-906-6271 E-mail: [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 09/18/03 01:06 AM >>> I've looked in the archives and googled but haven't come up with a solution yet. I have a html:select multiple="true" form ele

html:select multiple="true" and ActionForm

2003-09-17 Thread Ian Joyce
I've looked in the archives and googled but haven't come up with a solution yet. I have a html:select multiple="true" form element. When the form is submitted what setter should be called in the ActionForm? My form 8<---8<

html:select and Validation with IndexedPropertyList

2003-09-15 Thread George Amaya
I am having a problem with the Validator. I am not getting my messages back when I have a List of html:selects. The first error message is at property[0].message, but it does not show up for the next select boxes. Any thoughts? jsp:

html:select within logic:iterate

2003-09-10 Thread Tobias Salem
t; through html:selects. The problem is how to write the correct html:select syntax to map to the correct methods in the CartForm (which just translates/forwards the call). Everything except the html:selects are working fine. I have read alot of forums/articles and tried over 20 syntax variants but still wi

RE: Html:select

2003-08-29 Thread Seshadhri Srinivasan
Hi, Can someone help out with the usage of html:select. The API just gives the syntax ans the parameters that can be used with place. I understand that it can be used with combo boxes. I have to poulate a combo box using this. Thanks, Seshadhri Srinivasan

RE: html:select Not 'Selecting' My Item

2003-08-18 Thread Wendy Smoak
> For some reason (not immediately sure why), I thought I could have > the contents of 'value' evaluated (i.e. value='${myOtherProperty}'). > You're saying that this is not the case? > If that's true, how would I get the effect I require? You can... If you switch to the EL tags. Look in the 'con

RE: html:select Not 'Selecting' My Item

2003-08-18 Thread Yee, Richard K,,DMDCWEST
, associatedSalesperson is going to get the one of the values ("Jobs-8","Bob-7","Bob-27", or "Bob-32"). Regards, Richard -Original Message- From: Hunter Hillegas [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 2:21 PM To: Struts List Subject:

Re: html:select Not 'Selecting' My Item

2003-08-18 Thread Hunter Hillegas
re? Thanks very much for your help. Hunter > From: Wendy Smoak <[EMAIL PROTECTED]> > Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Date: Mon, 18 Aug 2003 14:09:22 -0700 > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>

Re: html:select Not 'Selecting' My Item

2003-08-18 Thread Hunter Hillegas
> From: Wendy Smoak <[EMAIL PROTECTED]> > Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Date: Mon, 18 Aug 2003 14:06:06 -0700 > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> > Subject: RE: html:select Not '

RE: html:select Not 'Selecting' My Item

2003-08-18 Thread Wendy Smoak
> I was hoping the value attribute would let me override which property of my > form bean was being used to check for the match. Is that not the case? No, 'value' is where you would put the literal value of the option you want to be selected. Take a look here: http://jakarta.apache.org/struts/

RE: html:select Not 'Selecting' My Item

2003-08-18 Thread Wendy Smoak
Hunter wrote: > The HTML generated for the looks as follows: > > None of the options are selected. In this example the > getEncodeAssociatedSalespersonID() returns Bob-7. > I also tried it retunring 'Bob, Darin'. Still, the item is not selected. Those names don't match! Change the name of the

Re: html:select Not 'Selecting' My Item

2003-08-18 Thread Hunter Hillegas
ing List" <[EMAIL PROTECTED]> > Date: Mon, 18 Aug 2003 16:52:06 -0400 > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> > Subject: RE: html:select Not 'Selecting' My Item > > Hunter, > Do you have an associatedSalesperson a

Re: html:select Not 'Selecting' My Item

2003-08-18 Thread Hunter Hillegas
From: "James Childers" <[EMAIL PROTECTED]> > Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Date: Mon, 18 Aug 2003 14:44:53 -0500 > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Subject: RE: html:select Not 'Selecting&

RE: html:select Not 'Selecting' My Item

2003-08-18 Thread Yee, Richard K,,DMDCWEST
om: Hunter Hillegas [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2003 9:04 AM To: Struts List Subject: html:select Not 'Selecting' My Item I have an html:select tag that isn't playing along... I pre-populate a form in an action. I also create a TreeMap and add it to the r

RE: html:select Not 'Selecting' My Item

2003-08-18 Thread Craig R. McClanahan
On Mon, 18 Aug 2003, James Childers wrote: > > Don't rely on debug output when dealing with getters and setters for > Forms. It's been my experience that this can be deceptive, since Struts > apparently uses reflection when dealing with Form member variables. > While it is true that reflection is

RE: html:select Not 'Selecting' My Item

2003-08-18 Thread James Childers
tags set to selected="selected"? -= J > -Original Message- > From: Hunter Hillegas [mailto:[EMAIL PROTECTED] > Sent: Monday, August 18, 2003 2:37 PM > To: Struts List; Craig Margenau > Subject: Re: html:select Not 'Selecting' My Item > > > Ye

Re: html:select Not 'Selecting' My Item

2003-08-18 Thread Hunter Hillegas
0400 > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Subject: Re: Re: html:select Not 'Selecting' My Item > > Looks like you are doing the same thing I am just in a slightly different > manner. I prepopulate default values for my action form in my act

Re: Re: html:select Not 'Selecting' My Item

2003-08-18 Thread Craig Margenau
Looks like you are doing the same thing I am just in a slightly different manner. I prepopulate default values for my action form in my action class, including an ArrayList named statusList to hold dropdown values, rather than using a separate request attribute..that being the only difference t

Re: html:select Not 'Selecting' My Item

2003-08-18 Thread Hunter Hillegas
m: Craig Margenau <[EMAIL PROTECTED]> > Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Date: Mon, 18 Aug 2003 11:47:08 -0400 > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Subject: Re: html:select Not 'Selecti

Re: html:select Not 'Selecting' My Item

2003-08-18 Thread Craig Margenau
I do mine like this, haven't had a problem yet. > > From: Hunter Hillegas <[EMAIL PROTECTED]> > Date: 2003/08/18 Mon AM 11:38:10 EDT > To: Struts List <[EMAIL PROTECTED]> > Subject: html:select Not 'Selecting' My Item > > I sent a simil

html:select Not 'Selecting' My Item

2003-08-18 Thread Hunter Hillegas
I sent a similar question to the list last week and didn't see any responses. I'm resending as I'm still having this problem. I have an html:select tag that isn't playing along... I pre-populate a form in an action. I also create a TreeMap and add it to the request scope.

html:select Not 'Selecting' My Item

2003-08-15 Thread Hunter Hillegas
I have an html:select tag that isn't playing along... I pre-populate a form in an action. I also create a TreeMap and add it to the request scope. I have the following in my JSP: The problem is not that the map doesn't display as options, they do, that is fine. The problem i

Re: RE: validating a html:select box

2003-08-14 Thread David G. Friedman
arg0 in your validations xml configuration file. Regards, David ---Original Message--- From: Erez Efrati <[EMAIL PROTECTED]> Sent: 08/06/03 03:06 PM To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> Subject: RE: validating a html:select box > > I guess I

iterate over collection a show the inner collection as html:select - how ?

2003-08-14 Thread Stefan Berger
second (inner collection) i want to present as a html:select: The simple String i can write but i cant show the selection, what i do wrong. Sorry for my easy question, i don't see the solution. Thanks for hints !!! Regards Stefan [CODE] Kb

Re: Trouble With html:select

2003-08-14 Thread Hunter Hillegas
truts Users Mailing List'" <[EMAIL PROTECTED]> > Subject: RE: Trouble With html:select > > Hunter wrote: >> I have an html:select tag that isn't playing along... >> > I have a println() in my getEncodeAssociatedSalespersonID() method > > Wouldn&

RE: Trouble With html:select

2003-08-14 Thread Wendy Smoak
Hunter wrote: > I have an html:select tag that isn't playing along... > I have a println() in my getEncodeAssociatedSalespersonID() method Wouldn't that method need to be getAssociatedSalesperson() ? Or else change the property in the to match. -- Wendy Smoak Applications

Trouble With html:select

2003-08-14 Thread Hunter Hillegas
I have an html:select tag that isn't playing along... I pre-populate a form in an action. I also create a TreeMap and add it to the request scope. I have the following in my JSP: The problem is not that the map doesn't display as options, they do, that is fine. The problem i

Re: iterate over collection a show the inner collection as html:select - how ?

2003-08-14 Thread Julie . Huang
spond to "Struts Users Mailing List" To: <[EMAIL PROTECTED]> cc: Subject:iterate over collection a show the inner collection as html:select - how ? Hi, I guess this problem is many time solved but i cant find the solution. I put into the

RE: validating a html:select box

2003-08-14 Thread Erez Efrati
value? Thanks, Erez -Original Message- From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 4:59 PM To: Struts Users Mailing List Subject: Re: validating a html:select box Erez, The Struts Validator has an intRange function. It's in the Validator

Re: validating a html:select box

2003-08-14 Thread David G. Friedman
quot;?) from being submitted: min 10 max 20 ---Original Message--- From: Erez Efrati <[EMAIL PROTECTED]> Sent: 08/06/03 02:41 PM To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> Subject: validating a

Re: RE: RE: validating a html:select box

2003-08-14 Thread David G. Friedman
--- From: Erez Efrati <[EMAIL PROTECTED]> Sent: 08/06/03 03:38 PM To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> Subject: RE: RE: validating a html:select box > > For some reason, the javascript for intRange is not working if the property is a selection . I looked

  1   2   3   4   >