RE: Html:Options usage

2003-03-17 Thread du Plessis, Corneil C
] 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's my bean class: public class UserAccessBean implements java.io.Serializable { List deptList = new ArrayList(); List brokerList

html:options and javascript

2003-03-12 Thread Neth
=javascript:showimage() option value=pix\\Diane.jpeg selected/option html:options collection=users property=userId labelProperty=userId/ /html:select img src= name=pictures Thanks - To unsubscribe

Html:options

2003-03-12 Thread Renato Romano
Is there a way of obtaining a select element where one of the option 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

Re: Html:options

2003-03-12 Thread Nicolas De Loof
if you use html:select with html:option or html:options, the option that equals the formbean property value will be automaticaly selected. (formbean initialized with name=foo) html:select property=name html:option value=foofoo/html:option html:option value=barbar/html:option

DyanActionForm and html:select, html:options tags

2003-02-20 Thread Anand M S
Hi, If I use DyanActionForm, how should I populate dropdown box using html:options tag? we would declare all the form attributes in struts-config.xml, how should I initialize the collection and where? Thanks, Anand

RE: DyanActionForm and html:select, html:options tags

2003-02-20 Thread Jarnot Voytek Contr AU HQ/SC
html:select deals with populating a form property (a String - typically - for single-select, and array for multi-select); html:options needs a collection placed into some scope which is commonly done in the Action class that forwards to the JSP which needs to display the drop-down box. -- Voytek

Re: DyanActionForm and html:select, html:options tags

2003-02-20 Thread Anand M S
, 2003 10:20 AM Subject: RE: DyanActionForm and html:select, html:options tags html:select deals with populating a form property (a String - typically - for single-select, and array for multi-select); html:options needs a collection placed into some scope which is commonly done in the Action

Re: DyanActionForm and html:select, html:options tags

2003-02-20 Thread Anand M S
If we use ActionForm, then we will be having getter for collection which we can use in our jsp, here is the code html:select name=userForm property=testStatus html:options collection=list property=name labelProperty=value / /html:select But how can we get the same functionality if we use

Use of html:options and jstl

2003-02-17 Thread shashi
Hi I want to skip the for loop and want to use c:forEach with the html:select. I tried but failed to set the value to options in select. Please help me to solve out the problem Regards Shashi Software Engineer NBSL

Re: Use of html:options and jstl

2003-02-17 Thread David M. Karr
shashi == shashi [EMAIL PROTECTED] writes: shashi Hi shashi I want to skip the for loop and want to use c:forEach with the html:select. shashi I tried but failed to set the value to options in select. shashi Please help me to solve out the problem Try spelling out exactly

Re: Use of html:options and jstl

2003-02-17 Thread shashi
] To: [EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 11:36 AM Subject: Re: Use of html:options and jstl shashi == shashi [EMAIL PROTECTED] writes: shashi Hi shashi I want to skip the for loop and want to use c:forEach with the html:select. shashi I tried but failed to set

html:options selected attribute

2003-02-12 Thread Jason Vinson
html:select name=spgQueuesForm property=queuesName size=1 html:options property=queuesName/ /html:select /td All I want to do is have the first option selected, and it is defaulting to the last option. any help? TIA, Jason

AW: html:options selected attribute

2003-02-12 Thread Slobodan Kasterovic
Hi ! Look my sample: ### Form private ArrayList projektfilterliste; private String[] projektfilter; ### JSP html:select property=projektfilter size=1 onchange=newProjektfilter() styleClass=input_area html:options collection=projektfilterliste property=value labelProperty=label

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:options selected attribute Hi

RE: html:options selected attribute

2003-02-12 Thread Sri Sankaran
: 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 Mailing List' [EMAIL PROTECTED] Subject: AW: html:options

AW: AW: html:options selected attribute

2003-02-12 Thread Slobodan Kasterovic
[] selected){ this.selected = selected; } ... ### JSP ... html:select property=selected size=1 html:options collection=all property=value labelProperty=label / /html:select ... ### Action ... import org.apache.struts.util.LabelValueBean; ... ArrayList allContent = new ArrayList(); allContent.add

Re: RE: html:options selected attribute

2003-02-12 Thread Jason Vinson
PROTECTED] Subject: RE: html:options selected attribute Take your pick of http://marc.theaimsgroup.com/?l=struts-userm=103416927522003w=2 http://marc.theaimsgroup.com/?l=struts-userm=103313043614360w=2 http://marc.theaimsgroup.com/?l=struts-userm=103254783510467w=2 http://marc.theaimsgroup.com/?l

html:select,html:options ,DynaValidatorForm

2003-01-27 Thread Vinay
I am using DynaValidatorForm, I need help in using html:select ,html:options property for html:select is defined in struts-config.xml in a form-bean property Help appreciated Thanks Vinay

Re: html:select,html:options ,DynaValidatorForm

2003-01-27 Thread Vinay
type=java.lang.String/ form-property name=pmarital type=java.lang.String/ form-property name=first type=java.lang.String/ /form-bean I want to get rid of all html:option with one html:options Thanks in advance , Help appreciated Vinay - Original Message - From

Re: html:select,html:options ,DynaValidatorForm

2003-01-27 Thread Ashish Kulkarni
=collectionSelect size=1 html:options collection=options property=value labelProperty=label/ /html:select There are more examples given in struts-exercise-taglib if u install the war file, which u get along with struts download --- Vinay [EMAIL PROTECTED] wrote: Can anyone help me with a sample code

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

2003-01-24 Thread Scott Seong
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, January 24, 2003 11:32 AM To: Struts Users Mailing List Subject: Need help with html:select and html:options Hello

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 states = new Vector

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 Hello, I'm having

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. html:select name=editUserForm property=accessType html:options collection=accessTypeList property=value labelProperty=label/ /html:select When doing

Re: html:options question

2003-01-06 Thread Heather Buch
html:options collection=accessTypeList property=value labelProperty=label/ /html:select 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, Admin, and Analyst that's the order of the collection, when

Re: html:options question

2003-01-06 Thread Rick Reumann
On Monday, January 6, 2003, 2:14:38 PM, Gus wrote: GD html:select name=editUserForm property=accessType GDhtml:options collection=accessTypeList property=value GD labelProperty=label/ GD /html:select GD Example. the options are Read-only, Admin, and Analyst that's the GD order

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 html:select name=editUserForm property=accessType GDhtml:options collection=accessTypeList property=value GD labelProperty=label/ GD /html:select GD Example. the options are Read-only

html:select and html:options

2003-01-03 Thread Jose Luis
hi everyone, i have a page whit the following code: nested:select property=sector nested:options property=sectorCompany/ /nested:select 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

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: nested:select property

Re: html:select and html:options

2003-01-03 Thread Jose Luis
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 html:options hi

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 html:options tag to work... The error I'm getting, specifically, is: javax.servlet.jsp.JspException: No getter method available for property email for bean under

RE: Ye olde html:options tag?

2003-01-02 Thread Siggelkow, Bill
Try using the 'collection' attribute instead of 'name' ... otherwise, the tag interprets the name/property combination as identifying the collection. html:options collection=users property=email labelProperty=email/ \-Original Message- From: Michael P [mailto:[EMAIL PROTECTED]] Sent

RE: html:options encoded property

2002-12-10 Thread Kocur, David
Correct me if I'm wrong, but aren't the quote; 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 Hi! I wrote a JSP

html:options encoded property

2002-12-09 Thread Nathalie Foures
Hi! I wrote a JSP page with the following lines : ... html:select property=selectedProxies size=10 multiple=true html:options collection=proxies property=url labelProperty=name/ /html:select ... where name and url are the String attributes of a bean named Proxy. This code displays a box

RE: html:options: how do I preselect some of the items?

2002-11-10 Thread Brian Topping
for the comparison. So if you are using the 'labelProperty' attribute in html:options/ and the property you have chosen does not match the output of toString() for a given object, this will not work. Instead, you need to create a Collection or ArrayList of Strings that get passed in through the 'property

html:options: how do I preselect some of the items?

2002-11-08 Thread Brian Topping
Hi all, Quick question that the online docs aren't helping me answer: I have a snippet: bean:define id=foo name=FooForm property=foo type=java.util.Collection/ html:form action=/doFoo.do html:select size=5 property=foofield html:options collection=foo labelProperty

Re: html:options: how do I preselect some of the items?

2002-11-08 Thread David M. Karr
=/doFoo.do Brian html:select size=5 property=foofield Brian html:options collection=foo labelProperty=labelAttr Brian property=valueAttr/ Brian /html:select Brian /html:form Brian I can fill the html:select with the contents of the foo collection just

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 - html:select property=ID size=12 html:options collection=userVector property=userID labelProperty=lastName/ /html:select which works fine. But I

RE: displaying an aggregated label for html:options

2002-11-04 Thread Hookom, Jacob John
: 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: Currently I have - html:select property=ID

html:options with an ActionForm

2002-10-31 Thread Murray, Christopher
=myActionForm scope=request input=MyPage.jsp forward name=success path=/blah blah blah/NewPage.jsp/forward /action html:form method=post action=/blah blah blah/MySearch html:select property=customerId html:options collection=customerNameList property=id

Re: html:options with an ActionForm

2002-10-31 Thread Marcus Biel
not using the Form (I doubt this could work) Here's my solution: html:form action=getAlaskaGroups.do method=POST html:select property=plantSelection size=1 html:option value=%bean:message key=index.selectbox.all//html:option html:options name=plantListBean property

RE: html:options with an ActionForm

2002-10-31 Thread Murray, Christopher
a blank drop down list. in the action : request.setAttribute(MyActionForm, myForm); request.setAttribute(customerNameList, myForm.getCustomerNameList()); in page: html:form method=post action=/blah blah blah/MyAction html:select property=customerId html:options collection=customerNameList

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 ordered

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 options

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 are ordered

Re: Using html:Options tag

2002-10-28 Thread Umberto Nicoletti
On Mon, 2002-10-28 at 09:31, Alok Garg wrote: Hello, I am facing a problem using html:options tag. The case: 1) I have a Hashtable map which contain an Id (java.lang.Integer) as the Key and Description (String) as the value. 2) I have to iterate this Hashtable and display the values

Using html:Options tag

2002-10-27 Thread Alok Garg
Hello, I am facing a problem using html:options tag. The case: 1) I have a Hashtable map which contain an Id (java.lang.Integer) as the Key and Description (String) as the value. 2) I have to iterate this Hashtable and display the values in a select box. Please guide me with the above problem

Re: Using html:Options tag

2002-10-27 Thread Derek Lin
Here is my select population code: td class=formItem logic:present name=countries html:select property=companyCountry size=1 value=US html:options collection=countries property=code labelProperty=country / /html:select /logic:present logic:notPresent name=countries html:select

Re: Using html:Options tag

2002-10-27 Thread Alok Garg
, 2002 10:48 AM Subject: Re: Using html:Options tag Here is my select population code: td class=formItem logic:present name=countries html:select property=companyCountry size=1 value=US html:options collection=countries property=code labelProperty=country / /html:select

Re: Using html:Options tag

2002-10-27 Thread Derek Lin
html:Options tag Hello Derek, Thanks for the reply, I tried using the code sinnpet that u have send, but I am getting the following error:: javax.servlet.jsp.JspException: Cannot create iterator for 1=Beauty at org.apache.struts.taglib.html.OptionsTag.getIterator(OptionsTag.java:448

html:options /

2002-10-24 Thread Roland Carlsson
Hello! I'm trying to use html:options/ but the only thing I get get into the list are Object.toString() values witch is not very useful for the user. What I like to do is the equal to option value=%= myObj.getId() %%= myObj.getName() %/option Can this be done? Thanks in advance Roland Carlsson

Re: html:options /

2002-10-24 Thread avasey
html:select property=carrier %-- The form's property to be populated --% html:options collection=carriers property=id labelProperty =name/ /html:select carriers is a list of Carrier objects in my Session Context

RE: html:options /

2002-10-24 Thread Andrew Hill
..ng() values witch is not very us.. A witch! burn her! burn her! -Original Message- From: Roland Carlsson [mailto:roland.c;swetravel.se] Sent: Thursday, October 24, 2002 19:05 To: Struts Users Mailing List Subject: html:options / Hello! I'm trying to use html:options/ but the only

[OT] html:options /

2002-10-24 Thread Galbreath, Mark
;swetravel.se] Sent: Thursday, October 24, 2002 19:05 Hello! I'm trying to use html:options/ but the only thing I get get into the list are Object.toString() values witch is not very useful for the user. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands

Re: html:options /

2002-10-24 Thread Roland Carlsson
Can't carriers be a collection that I can get from the ActionForm? Regards Roland Carlsson - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 24, 2002 1:11 PM Subject: Re: html:options / html:select property=carrier

RE: [OT] html:options /

2002-10-24 Thread Andrew Hill
a newt? -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Thursday, October 24, 2002 19:33 To: 'Struts Users Mailing List' Subject: [OT] html:options / She turned me into a newt! -Original Message- From: Andrew Hill [mailto:andrew.david.hill

Re: html:options /

2002-10-24 Thread deepak
Yes you can. for e.g. bean:define id=carriers name=CarrierForm property=carrierVector/ - Original Message - From: Roland Carlsson [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 24, 2002 5:04 PM Subject: Re: html:options / Can't carriers

RE: [OT] html:options /

2002-10-24 Thread Galbreath, Mark
24, 2002 19:05 Hello! I'm trying to use html:options/ but the only thing I get get into the list are Object.toString() values witch is not very useful for the user. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user

RE: [OT] html:options /

2002-10-24 Thread Andrew Hill
Burn her anyway! -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Thursday, October 24, 2002 19:46 To: 'Struts Users Mailing List' Subject: RE: [OT] html:options / I got betta -Original Message- From: Andrew Hill [mailto:andrew.david.hill

RE: [OT] html:options /

2002-10-24 Thread Galbreath, Mark
: Thursday, October 24, 2002 19:05 Hello! I'm trying to use html:options/ but the only thing I get get into the list are Object.toString() values witch is not very useful for the user. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail

Re: [OT] html:options /

2002-10-24 Thread Rúben Carvalho
is she made of wood? Burn her! Burn her! Rúben - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, October 24, 2002 12:49 PM Subject: RE: [OT] html:options / Now, how can we tell if she's really a witch

RE: [OT] html:options /

2002-10-24 Thread Galbreath, Mark
- From: Roland Carlsson [mailto:roland.c;swetravel.se] Sent: Thursday, October 24, 2002 19:05 Hello! I'm trying to use html:options/ but the only thing I get get into the list are Object.toString() values witch is not very useful for the user. -- To unsubscribe, e-mail: mailto:struts-user

RE: [OT] html:options /

2002-10-24 Thread Andrew Hill
We could try building a bridge out of her! -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Thursday, October 24, 2002 19:58 To: 'Struts Users Mailing List' Subject: RE: [OT] html:options / Now, how can we be certain she's made of wood? -Original Message

Re: [OT] html:options /

2002-10-24 Thread ruben
Does wood sink in the water? Rúben - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, October 24, 2002 12:58 PM Subject: RE: [OT] html:options / Now, how can we be certain she's made of wood? -Original

Re: [OT] html:options /

2002-10-24 Thread ruben
AH Ha, can't we make bridges out of stones too? Rúben - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, October 24, 2002 12:58 PM Subject: RE: [OT] html:options / Now, how can we be certain she's made of wood

RE: [OT] html:options /

2002-10-24 Thread Galbreath, Mark
! burn her! burn her! -Original Message- From: Roland Carlsson [mailto:roland.c;swetravel.se] Sent: Thursday, October 24, 2002 19:05 Hello! I'm trying to use html:options/ but the only thing I get get into the list are Object.toString() values witch is not very useful for the user

RE: [OT] html:options /

2002-10-24 Thread Andrew Hill
We burn witches so witches must be made of wood. So if shes made of wood then shes a witch! -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Thursday, October 24, 2002 19:50 To: 'Struts Users Mailing List' Subject: RE: [OT] html:options / Now, how can we tell

Re: [OT] html:options /

2002-10-24 Thread ruben
But, what else floats in the water? King Arthur's turn Rúben - Original Message - From: Andrew Hill [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 24, 2002 12:54 PM Subject: RE: [OT] html:options / We burn witches so witches must be made

Re: html:options /

2002-10-24 Thread Roland Carlsson
for the fun and the help Regards Roland - Original Message - From: deepak [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 24, 2002 1:51 PM Subject: Re: html:options / Yes you can. for e.g. bean:define id=carriers name=CarrierForm property

RE: [OT] html:options /

2002-10-24 Thread Andrew Hill
It floats! -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Thursday, October 24, 2002 20:10 To: 'Struts Users Mailing List' Subject: RE: [OT] html:options / Now, now...what is the distinguishing property of wood? -Original Message- From: Andrew Hill

SV: [OT] html:options /

2002-10-24 Thread Marcus Andersson
A duck! -Ursprungligt meddelande- Från: ruben Till: Struts Users Mailing List; [EMAIL PROTECTED] Skickat: 2002-10-24 14:10 Ämne: Re: [OT] html:options / But, what else floats in the water? King Arthur's turn Rúben - Original Message - From: Andrew Hill [EMAIL PROTECTED

RE: [OT] html:options /

2002-10-24 Thread Galbreath, Mark
] But, what else floats in the water? King Arthur's turn Rúben - Original Message - From: Andrew Hill [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 24, 2002 12:54 PM Subject: RE: [OT] html:options / We burn witches so witches must be made of wood

RE: [OT] html:options /

2002-10-24 Thread Robert Taylor
ummmvery small rocks? robert -Original Message- From: ruben [mailto:ruben.carvalho;inesc.pt] Sent: Thursday, October 24, 2002 8:11 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: [OT] html:options / But, what else floats in the water? King Arthur's turn

Re: [OT] html:options /

2002-10-24 Thread ruben
If the weigh is the same, SHE'S A WITCH By the way, did you dress her up like this? Rúben - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, October 24, 2002 1:19 PM Subject: RE: [OT] html:options / So if we

RE: [OT] html:options /

2002-10-24 Thread Galbreath, Mark
Well, maybe just the noseand the hat. BUT SHE'S STILL A WITCH! -Original Message- From: ruben [mailto:ruben.carvalho;inesc.pt] Sent: Thursday, October 24, 2002 8:25 AM To: Struts Users Mailing List Subject: Re: [OT] html:options / If the weigh is the same, SHE'S A WITCH

RE: [OT] html:options /

2002-10-24 Thread Andrew Hill
And she has got a wart! -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Thursday, October 24, 2002 20:30 To: 'Struts Users Mailing List' Subject: RE: [OT] html:options / Well, maybe just the noseand the hat. BUT SHE'S STILL A WITCH! -Original

Re: [OT] html:options /

2002-10-24 Thread Brian Hickey
She's not a newt or wood. She is a parrot and she's pinin' for the fjords.. :) B - Original Message - From: Robert Taylor [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 24, 2002 8:18 AM Subject: RE: [OT] html:options / ummmvery small

RE: [OT] html:options /

2002-10-24 Thread John Menke
she turned me into a newt! -Original Message- From: Andrew Hill [mailto:andrew.david.hill;gridnode.com] Sent: Thursday, October 24, 2002 8:32 AM To: Struts Users Mailing List Subject: RE: [OT] html:options / And she has got a wart! -Original Message- From: Galbreath

RE: [OT] html:options /

2002-10-24 Thread Galbreath, Mark
Speaking of attention to detail ;-) -Original Message- From: John Menke [mailto:john;eagleinfosystems.com] Sent: Thursday, October 24, 2002 8:42 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [OT] html:options / she turned me into a newt! -Original Message

RE: [OT] html:options /

2002-10-24 Thread Galbreath, Mark
PROTECTED] Sent: Thursday, October 24, 2002 12:54 PM Subject: RE: [OT] html:options / We burn witches so witches must be made of wood. So if shes made of wood then shes a witch! -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Thursday

RE: [OT] html:options /

2002-10-24 Thread John Menke
Who are you who are so wise in the ways of science? -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Thursday, October 24, 2002 8:49 AM To: 'Struts Users Mailing List' Subject: RE: [OT] html:options / And what might be your name, most wise

RE: [OT] html:options /

2002-10-24 Thread Jerry Jalenak
Is it friday already? Don't tell me I missed another whole day this week! -Original Message- From: John Menke [mailto:john;eagleinfosystems.com] Sent: Thursday, October 24, 2002 8:00 AM To: Struts Users Mailing List Subject: RE: [OT] html:options / Who are you who are so wise

RE: [OT] html:options /

2002-10-24 Thread Andrew Hill
To: 'Struts Users Mailing List' Subject: RE: [OT] html:options / Is it friday already? Don't tell me I missed another whole day this week! -Original Message- From: John Menke [mailto:john;eagleinfosystems.com] Sent: Thursday, October 24, 2002 8:00 AM To: Struts Users Mailing List

RE: [OT] html:options /

2002-10-24 Thread Oliver Burn
Sorry - half an hour to go. :-) -Original Message- From: Andrew Hill [mailto:andrew.david.hill;gridnode.com] Sent: Thursday, 24 October 2002 23:09 To: Struts Users Mailing List Subject: RE: [OT] html:options / Almost :-) Another 3 hours to go for me. But it *feels* like friday

RE: html:options /

2002-10-24 Thread Chen, Gin
c:set. -Tim -Original Message- From: Roland Carlsson [mailto:roland.c;swetravel.se] Sent: Thursday, October 24, 2002 8:12 AM To: Struts Users Mailing List Subject: Re: html:options / I found whats wrong... my bean aren't a bean... since a bean have to have a public no argument constructor

RE: [OT] html:options /

2002-10-24 Thread Craig R. McClanahan
On Thu, 24 Oct 2002, Jerry Jalenak wrote: Is it friday already? Don't tell me I missed another whole day this week! Even on a Friday, this thread would have been about 10 messages to long already ... Craig -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org

RE: html:options /

2002-10-24 Thread Couball, James
: Thursday, October 24, 2002 5:12 AM To: Struts Users Mailing List Subject: Re: html:options / I found whats wrong... my bean aren't a bean... since a bean have to have a public no argument constructor and my is a Singleton... so I'll guess that I have to live with a little ugliness

RE: html:options /

2002-10-24 Thread Karr, David
-Original Message- From: Chen, Gin [mailto:Gin_Chen;tvratings.com] Sent: Thursday, October 24, 2002 7:46 AM I'm not sure but I wonder if u can fool struts into doing this with the new Struts-EL. I wonder if u do something like assuming that ur singleton is class Blah and it

Re: [OT] html:options /

2002-10-24 Thread micael
! burn her! -Original Message- From: Roland Carlsson [mailto:roland.c;swetravel.se] Sent: Thursday, October 24, 2002 19:05 Hello! I'm trying to use html:options/ but the only thing I get get into the list are Object.toString() values witch is not very useful for the user

RE: html:options /

2002-10-24 Thread Chen, Gin
i didnt have my coffee today.. i was copying and pasting names and must have put it in the wrong place. :-P sorry. -Tim -Original Message- From: Karr, David [mailto:david.karr;attws.com] Sent: Thursday, October 24, 2002 11:14 AM To: 'Struts Users Mailing List' Subject: RE: html:options

RE: Accessing a collection in a Form bean with html:options

2002-10-21 Thread Itagaki, Masaki
David (B (BI think your "bean:define" element needs to reference the bean created in (Byour loop. Try the following: (B (Bbean:define id="telephones" name="ad" property="phones" scope="request"/ (B (BThank you for your suggestion. Actually I've thught the same thing and have (Btried that,

Accessing a collection in a Form bean with html:options

2002-10-21 Thread Itagaki, Masaki
I have a problem in accessing a collection (String array) that is in a form (Bbean when is use html:options tag. Say, I have AddressForm, which has (B"name" (String) and "address" (String) as members. After my action servlet (Bputs an array of the AddressForm in a request

RE: Accessing a collection in a Form bean with html:options

2002-10-21 Thread Karr, David
e name="ad" property="address"/ (B /td (B td (B !-- Phone dropdown -- (B bean:define id="telephones" property="phones" scope="request"/ (B html:select property="phonelist" (B html:options collection="telephones" property=&qu

RE: html:options

2002-09-30 Thread Sri Sankaran
The first technique couples your presentation with your business logic more closely than does the latter. So, my preference would be using the html:options. You can maintain the collection that makes up the options in the form bean for the page. Initialization must be handled via

html:options

2002-09-29 Thread Doug Dates
value=fName By Date /html:option /html:select Is there any disadvantages to use above approach compared with using html:options...? If I use html:options ... instead of using above individual html:option...,as following: html:select property=choice size=1 html:options collection

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

2002-09-20 Thread Michael Lee
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 approach. Mine would depend on Struts. This approach would be totally independent

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

2002-09-19 Thread Jan Fetyko
very easy way, by getting it from the application bean on the form, like this : html:select property=state logic:present name=abean scope=application html:option key=text.choosestate value=/ html:options name=abean property

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

2002-09-19 Thread Galbreath, Mark
set the default selection when I'm using html:options? One more advice to make your life easier: Why bother getting the states from the database for every form ( or even the same form ) when it's accessed ? I think the better way is to load the states when the app starts up and store

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

2002-09-19 Thread Day, Michael-IBM/TT
]] Sent: Thursday, September 19, 2002 8:00 AM To: Struts Users Mailing List Subject: Re: RGH! SOMEONE! How do I set the default selection when I'm using html:options? One more advice to make your life easier: Why bother getting the states from the database for every form ( or even the same form

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

2002-09-19 Thread Eddie Bush
Michael, I'm currently building some functionality on top of Struts for a project. The way I found to do this the easiest was to keep my config in an XML file and use the commons digester in a Plugin. Plugin writing is very straight-forward, and there are a couple of standard examples

<    1   2   3   4   >