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)
Hi, I believe you need to read the following link http://www.jajakarta.org/struts/struts1.1/documentation/ja/target/userGuide/ printer/struts-html.html#options This should give you an idea of what the attributes of html:options are. Collection should be a set of java beans. Rules are clearly

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: Repost : Usage of< html:options>

2004-02-17 Thread Niall Pemberton
I use the which is the same as but uses a more struts "standard" attribute names and you would do it like this: Niall - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 17, 2004 11:57 AM Subject: Repost : Usage of<

Repost : Usage of< html:options>

2004-02-17 Thread anant.parnami
Hi, I am a newbie in struts, I have to populate a dropdown using html:options. I have to use a collection of beans. This collection should be stored in my Action Form. I have a collection of CountryBeans named as collectionCountry. In my action class I am writing request.setAttribute

html:options with validate

2004-02-17 Thread Sniadach, Tomasz
hi , i have an ActionForm with countries in html:options , there are some other fields, that i have to validate. So, when i submit and errors occur, the field selected in countries is set to default. Is there a way to mark the selected field? The other fields (text fields) are not cleared. In

Usage of< html:options>

2004-02-17 Thread anant.parnami
Hi, I am a newbie in struts, I have to populate a dropdown using html:options. I have to use a collection of beans. This collection should be stored in my Action Form. I have a collection of CountryBeans named as collectionCountry. In my action class I am writing request.setAttribute

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
Aha! i use the bean:write's but then i like doing things the complicated way. Never used the html:options in this situation before so thanks for the tip - will make things much easier! cw :) - Original Message - From: "Mark Lowe" <[EMAIL PROTECTED]> To: "

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
Thanks for your answer, but I have found out, that I can use html:optionsCollection. Regards, Frank -Ursprüngliche Nachricht- Von: Claire Wall [mailto:[EMAIL PROTECTED] Gesendet: Montag, 2. Februar 2004 13:22 An: Struts Users Mailing List Betreff: Re: html:options and

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
an Integer object. You'd have to try it and see, and perhaps somebody can clarify this further, but I've never tried this myself. HTH claire :) - Original Message - From: "Otto, Frank" <[EMAIL PROTECTED]> To: "Struts-User (E-Mail)" <[EMAIL PROTEC

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

nested beans/html:options

2004-01-25 Thread Mohan Radhakrishnan
Hi I am using nested beans. What is the equivalent using nested beans for the following ? "OBJECTIVE" is in the session scope. I tried several options but none worked. Mohan - To unsubscribe,

beginner's html:options question

2004-01-20 Thread Anderson, James H [IT]
I have a collection of LabelValueBeans as a property of another bean (an Action), and I store this bean in session scope with "preparedData" as the key. But when I try and access it using html:option, I get the following error: "Cannot find bean preparedData in any scope" Here's html:op

Re: html:options maximum length?

2003-10-30 Thread Richard Yee
I think you should re-think your UI design. Besides being very slow, the select box will be very annoying and difficult for the end user to use. You should try and narrow down the users choices before they get to the select box page so that you only need to show a few dozen options at most. Reg

html:options maximum length?

2003-10-30 Thread Matt Redman
I have a an Array with a large list of names in it (up to about 1000+ or more). I need to display these names in a drop down list, but when The page loads it simply stops loading after about 837 lines. The code I am using is: Any ideas why it only displays a part of the Array and not the f

How to avoid that Struts html:options adds new line for each option?

2003-10-23 Thread Jan Kester
questions contain html:text, html:radio and html:select/html:options elements. I did this by defining a DIV element inside a table-td, with a certain id. The onclick functions of the radio buttons either call a change-layercontent or a change-layervoid javascript function. These javascript

Re: URGENT: html:options

2003-10-14 Thread Nicolas De Loof
ething like this, assuming populateAgencyIds(List) adds items to an existing List : <% MyUtils.populateAgencyIds(agencyIds); %> Nico. - Original Message - From: "ajay brar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 14, 2003 3:18 PM Subject: R

Re: URGENT: html:options

2003-10-14 Thread ajay brar
e key you used. thanks cheers ajay From: "Nicolas De Loof" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: URGENT: html:options Date: Tue, 14 Oct 2003 15:11:5

Re: URGENT: html:options

2003-10-14 Thread Nicolas De Loof
- Original Message - From: "ajay brar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 14, 2003 2:53 PM Subject: RE: URGENT: html:options > hi! > > >I think your collection needs to implement the List interface (use an > >ArrayList

RE: URGENT: html:options

2003-10-14 Thread ajay brar
PROTECTED] Subject: URGENT: html:options hi! i'm getting a problem with my html:options what i have is a MyUtils class with a method to retrieve a list of agency id's from the database class MyUtils { //gets agencyIds creates LabelValueBeans and chucks them into a Vector public sta

RE: URGENT: html:options

2003-10-14 Thread Daniel Haynes
I think your collection needs to implement the List interface (use an ArrayList instead of a vector) -Original Message- From: ajay brar [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 12:45 To: [EMAIL PROTECTED] Subject: URGENT: html:options hi! i'm getting a problem with my html:op

URGENT: html:options

2003-10-14 Thread ajay brar
hi! i'm getting a problem with my html:options what i have is a MyUtils class with a method to retrieve a list of agency id's from the database class MyUtils { //gets agencyIds creates LabelValueBeans and chucks them into a Vector public static Vector getAgencyIds() } in my jsp

Re: html:options

2003-10-12 Thread ajay brar
ECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: html:options Date: Sun, 12 Oct 2003 09:51:17 -0500 name/value pairs from a database are handled nicely in a list of LabelValueBeans. I'd pull the code to load that list from the database out into a model clas

Re: html:options

2003-10-12 Thread Jeff Kyser
want this populated on the basis of the selection made form the drop down list. how do i do this? any suggestions? i'm thinking of reading all agencies, chucking them into a collection, placing the collection in the session context and then reading off it in the jsp page using html:options The d

html:options

2003-10-12 Thread ajay brar
this populated on the basis of the selection made form the drop down list. how do i do this? any suggestions? i'm thinking of reading all agencies, chucking them into a collection, placing the collection in the session context and then reading off it in the jsp page using html:options

Re: Simple html:options question

2003-09-11 Thread Kris Schneider
to show in a drop-down box. The > same thing is both the label as well as the value. Can anybody tell me how I > > can do this using html:options? The collection in html:options is expected > to hold JSP beans, which is not the case in my situation. > > Thanks in advance

Simple html:options question

2003-09-11 Thread Kumar M
Hi all, I have an ArraList of strings that I want to show in a drop-down box. The same thing is both the label as well as the value. Can anybody tell me how I can do this using html:options? The collection in html:options is expected to hold JSP beans, which is not the case in my situation

RE: MessageResource, html:options & i182

2003-08-28 Thread Paul McCulloch
, html:options & i182 Part 1 On a jsp page I want to have a html:select of the type that has a predefined number of options, e.g. different sports. Now, I want to make use of Struts internalization where the differents locales text strings are retrieved from its locale properties file. If I read

MessageResource, html:options & i182

2003-08-28 Thread Lars Bergström
Part 1 On a jsp page I want to have a html:select of the type that has a predefined number of options, e.g. different sports. Now, I want to make use of Struts internalization where the differents locales text strings are retrieved from its locale properties file. If I read the text strings from

RE: blank screen when validation fails. appears to be related to html:options

2003-08-22 Thread David Friedman
-mail) Subject: blank screen when validation fails. appears to be related to html:options I am having a problem with validating a html:select drop down. I think. The problem: after validation fails the JSP is blank (the browser is blank) not just an empty drop down. To be more specific...I load

blank screen when validation fails. appears to be related to html:options

2003-08-22 Thread Rich
n not repopulating because when I comment out the lines with the bean:define and html:options that it then comes back from the validation failure with the correct view (instead of blank as mentioned above). But of course the drop down is empty because I commented out the lines to populate it. I tried a f

RE: How can I get a value and a name that is different on a html:options collection?

2003-07-28 Thread Bard A. Evjen
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]

RE: How can I get a value and a name that is different on a html:options collection?

2003-07-25 Thread Nagaraj_K
To: [EMAIL PROTECTED] Subject: How can I get a value and a name that is different on a html:options collection? 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

RE: How can I get a value and a name that is different on a html:options collection?

2003-07-25 Thread Robert Taylor
2003 8:49 AM > To: [EMAIL PROTECTED] > Subject: How can I get a value and a name that is different on a > html:options collection? > > > I have a Form class: > > public Collection getMyMonthList() { > myMonthList = new Vector(); > Calendar cal = Calendar.getInstance(); >

How can I get a value and a name that is different on a html:options collection?

2003-07-25 Thread Bard A. Evjen
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

RE: html:options list source question

2003-07-14 Thread Craig Berry
Thanks for the very useful information. Everything you said worked with a single exception; to get the correct interpretation of the property value pointing to a collection of LabelValueBeans, I needed to use html:optionsCollection rather than html:options . -Original Message- From

RE: html:options list source question

2003-07-13 Thread Wendy Smoak
Craig Berry wrote: > The jsp page contains an html:form section linked via action mapping to the EditDeForm type. > In it, there is a select/options section that looks like this: > > > property="value" > labelProperty="label"/> > > I had thought that this would be enough to make it wor

html:options list source question

2003-07-13 Thread Craig Berry
After much googling and head-scratching, I finally have an html:options tag working on a jsp. The problem is that I don't know why one component of the solution is needed, and I was hoping someone can explain it to me. My ActionForm subclass, EditDeForm, has a pair of methods to provid

RE: Struggling with html:options

2003-07-09 Thread James Childers
Try this. In your Action: ArrayList months = new ArrayList(); months.add(new LabelValueBean("January", 1); months.add(new LabelValueBean("Februrary", 2); request.setAttribute("months", months); In your JSP: HTH, -= J > "sjones" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTEC

Re: Struggling with html:options

2003-07-09 Thread sjones
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ page language="java" import=" com.ubs.directory.common.DirectoryEqualityOperator, java.util.*" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" %>

RE: html:options

2003-07-09 Thread Mathew, Manoj
-Original Message- From: sjones [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 10:43 AM To: [EMAIL PROTECTED] Subject: html:options Good Morning

html:options

2003-07-09 Thread sjones
Good Morning Everyone. I have a List object and i need my JSP page to build a drop down list box using the List as the source for the options. I can do it with a scriplet but i need to one of the struts tags can anyone help me with use one of these tags. I am looking at the java.docs but it d

show selected value in html:options field

2003-07-01 Thread Stefan Schaebel
Hello! I'm using html:select and html:options to display a vector: Now I would like to show the selected option when the options-field is rendered (the size of the vector is larger than 6), or in other words I would like to have the scroll bar at the right position to sho

Re: html:options can not automatically match value

2003-06-16 Thread Aswathy Priyarenj
U can use tag instead of . This will retain the selected value . From: "lcl" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: html:options can not automatically match value Date: Thu, 5 Jun 2003 10:57

html:select and html:options example?

2003-06-15 Thread Stephan Niedermeier
Hello, who can give me an example, how to use the html:select in conjunction with html:options? I had already defined an ActionForm and JSP like follows. The listing of the option-Elements works fine but not the "reshowing" of the selected elements of the list, because after I have c

RE: Excluding values inside a logic:iterate tag or an html:options tag

2003-06-06 Thread Kamholz, Keith (corp-staff) USX
, June 06, 2003 4:08 AM To: Struts Users Mailing List Subject: Excluding values inside a logic:iterate tag or an html:options tag Hi, Is it possible to tell these tags that when they hit some values, they shouldn't display them ? Thanks,

Excluding values inside a logic:iterate tag or an html:options tag

2003-06-06 Thread Ionel Gardais
Hi, Is it possible to tell these tags that when they hit some values, they shouldn't display them ? Thanks, ionel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Can html:options labelProperty made of concatenated bean fields ?

2003-06-06 Thread Ionel Gardais
Hi, The question's in the subject. Can the labelProperty of an html:options tag be composed of a concatenation of two or more fields ? (like having labelProperty="name + surname") thanks, ionel - To unsubscribe,

Re: html:options can not automatically match value

2003-06-04 Thread Sakis Chatzinikolaou
ames is an attribute set in the request from the action class The apartmentForm is the form bean and the apartmentOffice is a property of the bean Hope this helps - Original Message - From: "lcl" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 04, 200

Re: html:options can not automatically match value

2003-06-04 Thread lcl
gt; - Original Message - > From: "lcl" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, June 04, 2003 12:33 PM > Subject: html:options can not automatically match value > > > > Hi all , > > > > I have using the following

html:options can not automatically match value

2003-06-04 Thread lcl
Hi all , I have using the following code to express a select control in html using strtus tag: When this jsp page is running, all is ok, but the options will not match what the "projclieid" is. in the dropdown list, there is one item match the value,but it is not mark as "selected", what's

RE: html:options

2003-05-27 Thread Kandi Potter
hey thanksmaybe I'll try to minimize my code. -Original Message- From: Abhinav (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 12:15 PM To: Struts Users Mailing List Subject: RE: html:options I was able to do it like

RE: html:select / html:options

2003-05-27 Thread Kandi Potter
PROTECTED] Sent: Tuesday, May 27, 2003 11:49 AM To: Struts Users Mailing List Subject: RE: html:select / html:options That means we are keeping unsafeValues and unsafeLabels separately in our form-bean. (Though they are related -- i think so) What if these two are kept encapsulated in an object.

RE: html:options

2003-05-27 Thread Abhinav (Cognizant)
I was able to do it like that. Thanks a lot all you ppl. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 9:39 PM To: [EMAIL PROTECTED] Subject: RE: html:options There are other optiosn to use

RE: html:options

2003-05-27 Thread shirishchandra.sakhare
There are other optiosn to use it... I ahve never used it with Arays but i have used it with Collections... First i use jsp:useBean tag to get the collection from the form and make it available in the page scope and then use html:options with collection="beanName" where beanName i

Re: html:select / html:options

2003-05-27 Thread Denis Avdic
[mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 9:06 PM To: Struts Users Mailing List Subject: RE: html:select / html:options I used the following with vectors of unsafeValues and unsafeLabels in my incidentForm bean.   -Original Message- From: Abhinav (Cognizant) [mailto

RE: html:select / html:options

2003-05-27 Thread Abhinav (Cognizant)
: Struts Users Mailing List Subject: RE: html:select / html:options I used the following with vectors of unsafeValues and unsafeLabels in my incidentForm bean.   -Original Message- From: Abhinav (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 11:20 AM To

RE: Html:Options usage

2003-03-18 Thread e gg
="filter" label="label" value="value"/> -Original Message- From: e gg [mailto:[EMAIL PROTECTED] Sent: 17 March, 2003 15:16 To: [EMAIL PROTECTED] Subject: Html:Options usage Hi, I have a bean class that returns an ArrayList of ArrayLists for my dropdowns. I am

RE: Html:Options usage

2003-03-17 Thread du Plessis, Corneil C
-Original Message- From: e gg [mailto:[EMAIL PROTECTED] Sent: 17 March, 2003 15:16 To: [EMAIL PROTECTED] Subject: Html:Options usage Hi, I have a bean class that returns an ArrayList of ArrayLists for my dropdowns. I am really confused on how to show this dropdowns. Here&#

Html:Options usage

2003-03-17 Thread e gg
Hi, I have a bean class that returns an ArrayList of ArrayLists for my dropdowns. I am really confused on how to show this dropdowns. Here's my bean class: public class UserAccessBean implements java.io.Serializable { List deptList = new ArrayList(); List brokerList = new ArrayList(); List f

Re: Html:options

2003-03-12 Thread Nicolas De Loof
if you use with or , the option that equals the formbean property value will be automaticaly selected. (formbean initialized with name="foo") foo bar nop will render Nico. > Is there a way of obtaining a element where one of the > sub-elements has the SELECTED attribute ? >

Html:options

2003-03-12 Thread Renato Romano
Is there a way of obtaining a element where one of the sub-elements has the SELECTED attribute ? Thanks Renato Romano Sistemi e Telematica S.p.A. Calata Grazie - Vial Al Molo Giano 16127 - GENOVA e-mail: [EMAIL PROTECTED] Tel.: 010 2712603

html:options and javascript

2003-03-12 Thread Neth
Hello, I have an existing application which i converted into struts, however i'm having some problem with regards to option with javascript. The picture of the user should be reflected whenever his/her user id is selected from the drop down box. Below is the working application: function sh

Re: RE: html:options selected attribute

2003-02-12 Thread Jason Vinson
ist <[EMAIL PROTECTED]> Subject: RE: html:options selected attribute > > Take your pick of http://marc.theaimsgroup.com/?l=struts-user&m=103416927522003&w=2 http://marc.theaimsgroup.com/?l=struts-user&m=103313043614360&w=2 http://marc.theaimsgroup.com/?l

AW: AW: html:options selected attribute

2003-02-12 Thread Slobodan Kasterovic
bodan Kasterovic --> -Ursprungliche Nachricht- --> Von: Jason Vinson [mailto:[EMAIL PROTECTED]] --> Gesendet: Mittwoch, 12. Februar 2003 15:25 --> An: Struts Users Mailing List --> Betreff: Re: AW: html:options selected attribute --> --> --> I am not exactly following the lo

RE: html:options selected attribute

2003-02-12 Thread Sri Sankaran
truts Users Mailing List Subject: Re: html:options selected attribute I am not exactly following the logic here. Could you elaborate a little more? Thanks, Jason ---Original Message--- From: Slobodan Kasterovic <[EMAIL PROTECTED]> Sent: 02/12/03 08:24 AM To: 'Struts Users Ma

Re: AW: html:options selected attribute

2003-02-12 Thread Jason Vinson
I am not exactly following the logic here. Could you elaborate a little more? Thanks, Jason ---Original Message--- From: Slobodan Kasterovic <[EMAIL PROTECTED]> Sent: 02/12/03 08:24 AM To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> Subject: AW: html:opti

AW: html:options selected attribute

2003-02-12 Thread Slobodan Kasterovic
:[EMAIL PROTECTED]] --> Gesendet: Mittwoch, 12. Februar 2003 13:51 --> An: Struts Users Mailing List --> Betreff: html:options selected attribute --> --> --> Hi folks, --> -->There my be a simple answer to this that I am --> overlooking, but I am populating a pull down se

html:options selected attribute

2003-02-12 Thread Jason Vinson
Hi folks, There my be a simple answer to this that I am overlooking, but I am populating a pull down select, and I can't figure out a good way to set the selected attribute to the first element. I am using a collection (string array) and my jsp has this code:

html:options == null after inputForward

2003-02-07 Thread Kersten
Hi, I have an ActionForm for my JSP with contains one String for the "html:select", one String-Array for the options property and one String-Array for the optionslabel. There are getter and setter - Methods for all of these variables. ... private String pwGruppe_ausgewaehlt = null; private Strin

Re: Need help with html:select and html:options

2003-01-24 Thread Scott Seong
uary 24, 2003 12:03 AM Subject: RE: Need help with html:select and html:options > Check if you have month & day properties defined in your form bean. > > Suresh > > >-Original Message- > >From: Scott Seong [mailto:[EMAIL PROTECTED]] > >Sent: Friday, Janua

RE: Need help with html:select and html:options

2003-01-23 Thread Suresh Addagalla
Check if you have month & day properties defined in your form bean. Suresh >-Original Message- >From: Scott Seong [mailto:[EMAIL PROTECTED]] >Sent: Friday, January 24, 2003 11:32 AM >To: Struts Users Mailing List >Subject: Need help with html:select and html:options

Need help with html:select and html:options

2003-01-23 Thread Scott Seong
Hello, I'm having trouble with html:select and html:options. Basically, I have three select/options pairs in a JSP page, and the result is complaining about "No getter method available for Property month for bean name under org.apache...". Here is the code sample: <% Vector s

Re: html:options question

2003-01-06 Thread Gus Delgado
Thanks it work!. -Gus D. Rick Reumann wrote: On Monday, January 6, 2003, 2:14:38 PM, Gus wrote: GD> GD> labelProperty="label"/> GD> GD> Example. the options are "Read-only", "Admin", and "Analyst" that's the GD> order of the collection, when I edit a user that is Admin, I want the

Re: html:options question

2003-01-06 Thread Rick Reumann
On Monday, January 6, 2003, 2:14:38 PM, Gus wrote: GD> GD> labelProperty="label"/> GD> GD> Example. the options are "Read-only", "Admin", and "Analyst" that's the GD> order of the collection, when I edit a user that is Admin, I want the GD> drop-down to show with the "Admin" being s

Re: html:options question

2003-01-06 Thread Heather Buch
I did something similar, with optionsCollection (which I like). Here is my code: for optionsCollection, my "property" is the name of my bean, and I think you have to pluralize it (example availablecourselabel --> availablecourselabels) to indicate that it's a collection. The "label" and "

html:options question

2003-01-06 Thread Gus Delgado
I populate an html:option tag with a collection. I use the html:option to create a new user in my system and to edit a user in my system. When doing an edit I want the html:option to be shown with the current accessType of the user I'm editing. Example. the options are "Read-only", "A

Re: html:select and html:options

2003-01-03 Thread Jose Luis
anuary 03, 2003 7:08 PM Subject: RE: html:select and html:options You can use the LabelValueBean class for that, see www.husted.com for examples. Ilya -Original Message- From: Jose Luis To: Struts Users Mailing List Sent: 1/3/03 11:04 AM Subject: html:select and

RE: html:select and html:options

2003-01-03 Thread Sterin, Ilya
You can use the LabelValueBean class for that, see www.husted.com for examples. Ilya -Original Message- From: Jose Luis To: Struts Users Mailing List Sent: 1/3/03 11:04 AM Subject: html:select and html:options hi everyone, i have a page whit the following code: where

html:select and html:options

2003-01-03 Thread Jose Luis
hi everyone, i have a page whit the following code: where sectorCompany is an ArrayList that i built prior to view the jsp. My problem is: what i really need is to pass to the result action the value which represents the labels that contains the SectorCompany ArrayList, so, How i can build

RE: Ye olde html:options tag?

2003-01-02 Thread Siggelkow, Bill
To: [EMAIL PROTECTED] Subject: Ye olde html:options tag? I apologize for this basic question, but I'm new to struts and Java web programming in general, and I really can't get the tag to work... The error I'm getting, specifically, is: javax.servlet.jsp.JspException: No getter method a

Ye olde html:options tag?

2003-01-02 Thread Michael P
I apologize for this basic question, but I'm new to struts and Java web programming in general, and I really can't get the tag to work... The error I'm getting, specifically, is: javax.servlet.jsp.JspException: No getter method available for property email for bean under name users My

RE: html:options encoded property

2002-12-10 Thread Kocur, David
Correct me if I'm wrong, but aren't the "e; entries unnecessary? Couldn't you just remove them? -Original Message- From: Nathalie Foures [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 9:52 AM To: [EMAIL PROTECTED] Subject: html:options encoded property

html:options encoded property

2002-12-09 Thread Nathalie Foures
myhome/hello&action="doSomething"";>something ... The " character is translated. As a result the option value becomes "http://hello&action="; : it stops at the first ":" character and doesn't take the whole url! doSomething is forgotten... I lo

RE: displaying an aggregated label for html:options

2002-11-04 Thread Hookom, Jacob John
Subject: displaying an aggregated label for html:options Hello I want to display an aggregated label in a combo box but don't know if it's possible in struts. Here's the example:

displaying an aggregated label for html:options

2002-11-04 Thread Allison Sugar
Hello I want to display an aggregated label in a combo box but don't know if it's possible in struts. Here's the example: Currently I have - which works fine. But I want to display "lastName, firstName". Does anyone know how to do this? Thanks in advance, Allison -- To unsubscr

Re: html:options ordering

2002-10-30 Thread Sven Bischoff
Dennis Muhlestein wrote: I have a hashtable with key/value that get displayed by an html:options tag. Works ok, but they are ordered in reverse order of the id. That isn't any performance problem, but it looks a little strange to the user. For instance, what if you wanted the optio

Re: html:options ordering

2002-10-30 Thread Dennis Muhlestein
Thanks for the comments. Seems to make more sense not to have any ordering functionality in the html:options tag anyway. On Wed, 2002-10-30 at 10:40, Dennis Muhlestein wrote: > I have a hashtable with key/value that get displayed by an html:options > tag. > > Works ok, but they

RE: html:options ordering

2002-10-30 Thread Karr, David
> -Original Message- > From: Dennis Muhlestein [mailto:dennis@;zserve.com] > Sent: Wednesday, October 30, 2002 9:41 AM > > I have a hashtable with key/value that get displayed by an > html:options > tag. > > Works ok, but they are ordered in reverse order o

Re: html:options ordering

2002-10-30 Thread Danny Mui
Hash Tables don't guarantee order when you pull them out enmasse. probably best bet is to store it in a list and sort accordingly (Collections.sort). Dennis Muhlestein wrote: I have a hashtable with key/value that get displayed by an html:options tag. Works ok, but they are order

html:options ordering

2002-10-30 Thread Dennis Muhlestein
I have a hashtable with key/value that get displayed by an html:options tag. Works ok, but they are ordered in reverse order of the id. That isn't any performance problem, but it looks a little strange to the user. For instance, what if you wanted the options in alphabetical order?

RE: html:options

2002-09-30 Thread Sri Sankaran
class. Sri -Original Message- From: Doug Dates [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 8:35 PM To: Struts Users Mailing List Subject: html:options I want to display a dropdown list. The list items are "By First Name", "By Last Name", "By Date

html:options

2002-09-29 Thread Doug Dates
I want to display a dropdown list. The list items are "By First Name", "By Last Name", "By Date". I think I can do it by the following way: By First Name By Last Name By Date Is there any disadvantages to use above approach compared with using ? If I use instead of using abo

Re: AAAARGH! SOMEONE! How do I set the default selection when I'm using html:options?

2002-09-20 Thread Michael Lee
;Eddie Bush" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, September 19, 2002 9:43 AM Subject: Re: RGH! SOMEONE! How do I set the default selection when I'm using html:options? > Yeah, actually this might be your best app

  1   2   3   >