Re: html:select problem

2008-12-30 Thread sourav biswas
It seems to me the syntax is wrong .. try this # Use <%=genreIds[0]%> insteed of <%="genreIds[0]"%> Just remove the quotes ... --- On Sun, 28/12/08, Gordian Yuan wrote: > From: Gordian Yuan > Subject: Re: html:select problem > To: &quo

Re: html:select problem

2008-12-28 Thread Tanb81
Thanks a lot Gordian Yuan :clap: Thanks for giving such useful links. I found solution for my problem :jumping: Thanks :handshake: -- View this message in context: http://www.nabble.com/html%3Aselect-problem-tp21183393p21199660.html Sent from the Struts - User mailing list archive at Nabble.

Re: html:select problem

2008-12-28 Thread Gordian Yuan
http://www.theserverside.com/discussions/thread.tss?thread_id=35726 or you can search it use google http://www.google.com/search?hl=zh-CN&q=select+default+option+struts&btnG=Google+搜索&lr=

Re: html:select for a string list

2008-12-10 Thread elyes sallem
Thanks a lot Mark, It works like this Best Regards Elyes 2008/12/10 Mark Shifman <[EMAIL PROTECTED]> > Try using html:options instead of optionsCollection. > > elyes sallem wrote: > > Hello, > > i have a html:select in a html:form > > this select is build from a List valLis, defined in an action

Re: html:select for a string list

2008-12-10 Thread Mark Shifman
Try using html:options instead of optionsCollection. elyes sallem wrote: > Hello, > i have a html:select in a html:form > this select is build from a List valLis, defined in an actionForm > i used the html:select in a list of object , it work > but now it is a list of string, so i have not value a

Re: html:select in firefox

2008-09-18 Thread Jeffrey Born
The styleId attribute did the trick. To quote the great homer simpson: "doh!" When it was not there, firefox responded exactly like it should. The method is getElementById not getElementByName. getElementByName works just fine under IE however since under IE it uses the name attribute. Thanks

RE: html:select in firefox

2008-09-18 Thread Martin Gainty
hi jeff- id is a standard html attribute http://www.w3schools.com/TAGS/ref_standardattributes.asp what behaviour would you expect when the id is null ? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relate

Re: html:select in firefox

2008-09-18 Thread Antonio Petrelli
2008/9/18 Jeffrey Born <[EMAIL PROTECTED]>: > I could override the html:select tag to output an Id attribute, but > there has to be a more elegant solution to this? Or it was solved > some other way? Use the "styleId" attribute of Ciao Antonio --

RE: html:select javascript onchange passing parameter problem

2008-05-19 Thread Sindhu C R
ssage- From: Mahawilai [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 20, 2008 9:26 AM To: user@struts.apache.org Subject: Re: html:select javascript onchange passing parameter problem I have the same problem, Please tell me how to fix it if you know how. thank you very much Mahawilai Benz

Re: html:select javascript onchange passing parameter problem

2008-05-19 Thread Mahawilai
I have the same problem, Please tell me how to fix it if you know how. thank you very much Mahawilai Benz wrote: > > this is my part of jsp: > > > > > ... > > ... > > ... > > I get the html result: > ... > > ... > > The '<%=idx%>' text in jsp should be rendered as the

Re: html:select javascript onchange passing parameter problem

2007-10-10 Thread Benz
which part do you mean? Is this? ... ... ... ... ... ... var validStatus = new Array ("PCB","PCS","PCK","RC"); function checkStsCombo(combobox, fieldName, idx) { var index = combobox.selectedIndex; var select

Re: html:select javascript onchange passing parameter problem

2007-10-09 Thread Ravindar T
where are getting the values for select either from bean or request attribute. On 10/10/07, Benz <[EMAIL PROTECTED]> wrote: > > > this is my part of jsp: > > > > > ... > > ... > > ... > > I get the html result: > ... > > ... > > The '<%=idx%>' text in jsp should be render

Re: html:select / DIV / document.getElementById(why).innerHTML

2007-09-16 Thread Martin Gainty
M-- - Original Message - From: "john lee" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Cc: <[EMAIL PROTECTED]> Sent: Saturday, September 15, 2007 1:08 PM Subject: Re: html:select / DIV / document.getElementById(why).innerHTML > Dave, > >

Re: html:select / DIV / document.getElementById(why).innerHTML

2007-09-15 Thread Dave Newton
--- john lee <[EMAIL PROTECTED]> wrote: > my jsp just have struts property="studentname"> and value="john"/> and only. HTML input element tags are only valid inside an tag. Your fragment does not have a containing tag; since you are returning it with an Ajax call that won't work. That's wh

Re: html:select / DIV / document.getElementById(why).innerHTML

2007-09-15 Thread john lee
Dave, tks for ur help, I not quite understand your input. my problem is: if output just generate plain html tag, the output result with dropdown list is fine, but if try to generate struts tag, then output display without dropdown list, data still there. my jsp just have strut

Re: html:select / DIV / document.getElementById(why).innerHTML

2007-09-15 Thread Dave Newton
--- john lee <[EMAIL PROTECTED]> wrote: > after calling document.getElementById(why).innerHTML, > the output of "html:select" why can not be recognized > by struts? IIRC the S1 form tags rely on there being an and will break w/o it (I could definitely be wrong on this point). If this is the cas

Re: html:select 1.2.9

2007-01-27 Thread Laurie Harper
Justin Chin wrote: I am trying to maintain which item was selected in a html:select dropdown that is not "multiple" after the validation occurs in the Form and I need to return to the jsp because something was missing. Here is my code snippet from my jsp:

RE: html:select and sorting

2007-01-05 Thread Bolutiwi, Olu
Thanks much appreciated -Original Message- From: Puneet Lakhina [mailto:[EMAIL PROTECTED] Sent: 04 January 2007 19:47 To: Struts Users Mailing List Subject: Re: html:select and sorting On 1/4/07, Bolutiwi, Olu <[EMAIL PROTECTED]> wrote: > > Hi all, I have the same iss

Re: html:select and sorting

2007-01-04 Thread Ranjan Kumar Baisak
Puneet Lakhina wrote: On 1/4/07, Bolutiwi, Olu <[EMAIL PROTECTED]> wrote: Hi all, I have the same issue. I am selecting a list of town names and ids from the database (sorted by town name) and adding them to a TreeMap or HashMap. TreeMap sorts by key (in this case its my ids from the databas

Re: html:select and sorting

2007-01-04 Thread Puneet Lakhina
On 1/4/07, Bolutiwi, Olu <[EMAIL PROTECTED]> wrote: Hi all, I have the same issue. I am selecting a list of town names and ids from the database (sorted by town name) and adding them to a TreeMap or HashMap. TreeMap sorts by key (in this case its my ids from the database) and HashMap messes u

RE: html:select and sorting

2007-01-04 Thread Dave Newton
From: Bolutiwi, Olu [mailto:[EMAIL PROTECTED] > I am selecting a list of town names and ids from the database (sorted > by town name) and adding them to a TreeMap or HashMap. TreeMap sorts > by key (in this case its my ids from the database) and HashMap messes > up the sort order. > > How can

RE: html:select and sorting

2007-01-04 Thread Manos Batsis
Quoting "Bolutiwi, Olu" <[EMAIL PROTECTED]>: > How can I use a collection that supports key & value, keep it sorted > and > use it in my html:select without messing up the sort order. You can make your keys comparable [1] or put your results in a collection that does not try to re-sort them. [1

RE: html:select and sorting

2007-01-04 Thread Bolutiwi, Olu
Hi all, I have the same issue. I am selecting a list of town names and ids from the database (sorted by town name) and adding them to a TreeMap or HashMap. TreeMap sorts by key (in this case its my ids from the database) and HashMap messes up the sort order. How can I use a collection that supp

Re: html:select and sorting

2007-01-04 Thread Ranjan Kumar Baisak
Dave Newton wrote: From: Ranjan Kumar Baisak [mailto:[EMAIL PROTECTED] Is there any way to sort all the elements while using html:select? Sure; sort the collection before you use it in html:select. Dave - To unsubscr

RE: html:select and sorting

2007-01-04 Thread Dave Newton
From: Ranjan Kumar Baisak [mailto:[EMAIL PROTECTED] > Is there any way to sort all the elements while using html:select? Sure; sort the collection before you use it in html:select. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: html:select disable problem

2006-07-19 Thread Vinicius Carvalho
Thanks all, we solved this using hidden fields :) Thanks On 7/18/06, Laurie Harper <[EMAIL PROTECTED]> wrote: Vinicius Carvalho wrote: > Hello there! I believe this is an HTML/HTTP issue, but... > > I have a userForm that some of the fields (selects) when the user is > editing must come as read

Re: html:select disable problem

2006-07-18 Thread Laurie Harper
Vinicius Carvalho wrote: Hello there! I believe this is an HTML/HTTP issue, but... I have a userForm that some of the fields (selects) when the user is editing must come as readonly (disabled). Well, that's almost ok, because I need that data on the action called by the form, and those values ar

RE: html:select disable problem

2006-07-18 Thread Robert Langridge
Could you use the html standard attribute 'disabled'? For example: would make your select box disabled and effectively read only. disabled='' is selectable (default) disabled='disabled' is read only. Simply put this attribute is a session/request scope variable and that should do the job Rob

RE: html:select question

2006-02-02 Thread fea jabi
solved this just by declaring the in the object and in jsp by declaring the id and using the id in the html:select. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: html:select question Date: Thu, 02 Feb 2006 09:47:43 -0500 Usin

Re: html:select

2006-02-01 Thread Laurie Harper
Use the html:select field's 'value' attribute to get the selected value from form1, or populate the appropriate property in form2 before you forward to the JSP. If you use the first approach, the user's selection in form2 will not be preserved if you re-display the form, so you probably want t

Re: RE: html:select

2006-02-01 Thread rahul kshirsagar
Hi, Actually i m doin that only.But the application need is that the value of drop down should get populated from diferent bean. Say i m getting selected value from form1 and setting it in form2 and then this value needs to be shown as a default value of drop down.   On Wed, 01 Feb 2006 Muru

RE: html:select

2006-02-01 Thread Murugesan, Kathiresan \(Cognizant\)
Hi, In your action class just set the value in the respective field's set method. It will automatically select the value. Regards Kathir. From: rahul kshirsagar [mailto:[EMAIL PROTECTED] Sent: Wed 2/1/2006 6:45 PM To: user Subject: html:select Hi, I am u

Re: html:select default value in the action

2006-01-20 Thread Laurie Harper
In your preceeding example code, it didn't work because you were calling it a a locally created form, not the one that the JSP saw. If you call it on the form Struts passes into your action, it should work fine. L. Thibaut wrote: ok I understand but why "form.set("partner_id",secteurDefault);

Re: html:select default value in the action

2006-01-20 Thread Thibaut
ok I understand but why "form.set("partner_id",secteurDefault);" doesn't work ? " public ActionForward execute(..., ActionForm form,...) { ... form.set("partner_id",secteurDefault); ... } " Where form is a DynaForm Thank you Laurie Harper a écrit : Thibaut wrote: Thank you for your quick r

Re: html:select default value in the action

2006-01-19 Thread Laurie Harper
Thibaut wrote: Thank you for your quick reply. I use dyna form. Therefore i have to create a new instance of the dynaform. You should never have to do this manually. Struts will create the form for you provided your action mapping specifies the form name via the 'name' attribute. //get th

Re: html:select default value in the action

2006-01-19 Thread Thibaut
Thank you for your quick reply. I use dyna form. Therefore i have to create a new instance of the dynaform. //get the parameter I want to put by default String secteurDefault = request.getParameter("secteur"); if(secteurDefault!=null) { if(form == null) { FormBeanConfig cfg = mapping.get

Re: html:select default value in the action

2006-01-19 Thread Rick Reumann
Thibaut wrote the following on 1/19/2006 1:09 PM: Hi, I'd like to choose the default value of my html:select in the action class. What is the parameter to set ? Set the value of the form bean property in your Action before you go to the form and that will be the default. Or, you could even s

Re: html:select and submit

2005-12-09 Thread Frank W. Zammetti
Rahul Akolkar wrote: In a multiple , selectName.selectedIndex will always be the index of the *first* selection, if there are one or more (or -1 if there are none). Cool, that's what I thought but wasn't sure, you saved me from having to test it :) I think Mike has the answer I wa about to g

Re: html:select and submit

2005-12-09 Thread Mike Darretta
Thank you, Rahul. This *is* the problem. Much regards (and much better sleep this weekend!)... Mike Rahul Akolkar wrote: On 12/9/05, Mike Darretta <[EMAIL PROTECTED]> wrote: I thought I had licked this problem - but it only works with Firefox! I have an tag that, when a user selects an opt

Re: html:select and submit

2005-12-09 Thread Rahul Akolkar
On 12/9/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > What are you actually trying to send? The selected value or the index > of the selected item? I also note you have multiple="true"... so you > expect that more than one can be selected? I'm not sure if that has a > bearing on the selecte

Re: html:select and submit

2005-12-09 Thread Rahul Akolkar
On 12/9/05, Mike Darretta <[EMAIL PROTECTED]> wrote: > I thought I had licked this problem - but it only works with Firefox! > > I have an tag that, when a user selects an option, a > submit() is forced through a javascript call. > > The JSP code is: > > ... > onclick="handleCl

Re: html:select and submit

2005-12-09 Thread Mike Darretta
You're right - the multiple="true" was wrong, but that was essentially ignored since I am capturing the "onclick" event. What I want to send is the index to use in extracting the appropriate info from the underlying collection. Anyhow, what I am wanting to do is capture the selected index, the

Re: html:select and submit

2005-12-09 Thread Frank W. Zammetti
What are you actually trying to send? The selected value or the index of the selected item? I also note you have multiple="true"... so you expect that more than one can be selected? I'm not sure if that has a bearing on the selectedIndex (I could see where it might), and even if it does, the

RE: html:select and logic:iterate

2005-11-28 Thread Stanislav
> I hope this will surely work for you. If not please send me the error what u > r getting. so i can > figure it out what's happening really... > > > > > value="-">--- m > l:option> property="user-podatak-2-

RE: html:select and logic:iterate

2005-11-28 Thread Stanislav
> Try this > > > > > value="-">---< /htm > l:option> > > > name='hmUserPrijenos' property='user-podatak-1-0'/> > > > > If I do this, than i get several problem :-( id is alvays the same (how to know w

Re: html:select onchange

2005-07-24 Thread Wendy Smoak
From: "Tony Smith" <[EMAIL PROTECTED]> Thank you very much for your post. I agree with you and some user were complaining about the effect your mentioned. My situition is that I have two selects, once the users update one, I need to populate the other with correspondent options. If I do not go to

Re: html:select onchange

2005-07-24 Thread Tony Smith
Thank you very much for your post. I agree with you and some user were complaining about the effect your mentioned. My situition is that I have two selects, once the users update one, I need to populate the other with correspondent options. If I do not go to another page, what is the best way to do

Re: html:select onchange

2005-07-24 Thread Wendy Smoak
From: "Tony Smith" <[EMAIL PROTECTED]> ... http://www.javascriptkit.com/jsref/select.shtml onChange="location.href='mynewpage.do?para='+options[selectedIndex].value;" Keep in mind that this can be *very* annoying in terms of UI design. The user doesn't get a chance to correct a mistake;

Re: html:select default value overwriting bean value

2005-07-14 Thread Laurie Harper
a method of the ActionForm. Thanks Tom -Original Message- From: ichy [mailto:[EMAIL PROTECTED] Sent: Thursday, July 14, 2005 10:06 AM To: Struts Users Mailing List Subject: Re: html:select default value overwriting bean value Hi, Tom did you try to use ActionForm#reset() to set default value f

RE: html:select default value overwriting bean value

2005-07-14 Thread Ansley, Tom
, getCountryID() is a method of the ActionForm. Thanks Tom -Original Message- From: ichy [mailto:[EMAIL PROTECTED] Sent: Thursday, July 14, 2005 10:06 AM To: Struts Users Mailing List Subject: Re: html:select default value overwriting bean value Hi, Tom did you try to use ActionForm#reset

Re: html:select default value overwriting bean value

2005-07-14 Thread ichy
Hi, Tom did you try to use ActionForm#reset() to set default value for countryID to US ? getCountryID() you are talking is a method of ActionForm, right? ichy

Re: html:select Problem !!

2005-07-12 Thread EROL TEZCAN
Oh, I think there are two ways to define html:select Anyway, Best way to fill the html:select ? Erol [EMAIL PROTECTED] wrote: you have the html:options set correctly in the first example in the second example you changed to: try: " src="cid:10__=0ABBFAAFDFD86F@powersyst

Re: html:select Problem !!

2005-07-12 Thread Martin Gainty
Erol Assuming you have your own MyBean which contains 2 string fields SIKAYET_KODU and ACIKLAMA try this in your jsp <% List sikayetler = new ArrayList(); sikayetler.add( new MyBean( "SIKAYET_KODU1", "ACIKLAMA1" )); sikayetler.add( new MyBean( "SIKAYET_KODU2", "ACIKLAMA2" )); %> labelProperty

Re: html:select Problem !!

2005-07-12 Thread BHansard
you have the html:options set correctly in the first example   in the second example you changed to: try: EROL TEZCAN <[EMAIL PROTECTED]> EROL TEZCAN <[EMAIL PROTECTED]> 07/12/2005 09:38 AM Please respond to "Struts Users Mailing List" To sturts_apache_user s

Re: RE: Question re html:select on the client

2005-07-07 Thread Avjit Singh Jhajj
intercepted, corrupted, lost, >destroyed, arrive late or incomplete. > >To know more about Cordiant Technologies, please visit >http://www.cordiant.com > >_ > > >-Original Message----- > From: Kent Boogaart [mailto:[EMAIL PROTECTED] >Se

RE: Question re html:select on the client

2005-07-06 Thread Nitesh Naveen
: Kent Boogaart [mailto:[EMAIL PROTECTED] Sent: Thursday, July 07, 2005 10:20 AM To: user@struts.apache.org Subject: Question re html:select on the client Hello, I have an html:select populated from a collection. Alongside the select box I have links to add, edit and delete items. I'm

Question re html:select on the client

2005-07-06 Thread Kent Boogaart
Hello, I have an html:select populated from a collection. Alongside the select box I have links to add, edit and delete items. I'm just wondering what the best way is to handle passing the ID of the selected item to the edit and delete actions. For example, if the user selects the option with val

RE: html:select few doubts

2005-06-09 Thread Leandro_Dorileo/ABACO
the following? I tryied like above but didn't work Thanks Regards Dorileo "Harland, David" <[EMAIL PROTECTED]> 09/06/2005 12:32 Favor responder a "Struts Users Mailing List" Para "Struts Users Mailing List&

RE: html:select few doubts

2005-06-09 Thread Harland, David
This is all you need You can store your Collections in either the application/session/request/page scope. Be careful which one you store it in and what names you use as the key as the bean will check them all!! property is the name you give to the select. collection is any type

RE: html:select drop downs using LabelValueBean

2005-01-26 Thread Justin Moore
Thanks for the input. I got around the issue by changing my jsp to use the html:optionsCollection tag. Seems to work now. Thanks. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 25, 2005 8:01 PM To: Struts Users Mailing List Subject: Re

Re: html:select drop downs using LabelValueBean

2005-01-25 Thread Wendy Smoak
From: "Justin Moore" <[EMAIL PROTECTED]> > I am havnig problems with the LabelValueBean in a drop down that is suppose to show the months. > I need to display the labels as strings (ex: Jan, Feb, etc). I need to display their respective values > as ordinals. When executing the code below, a JS

Re: [html:select/optionsCollection] I don't get it! :( [shame on me!]

2004-10-25 Thread Arnaud Vandyck
Michael, Many thanks for your help. In fact, I added a Vector to a Vector with the method... add, not addAll! Fri, 22 Oct 2004 15:46:22 +0200, "Albrecht, Michael" <[EMAIL PROTECTED]> wrote: > Hi Arnaud! > > The following lines show you an example for optionsCollection - tag: > > > label

Re: [html:select/optionsCollection] I don't get it! :(

2004-10-22 Thread Arnaud Vandyck
Fri, 22 Oct 2004 15:46:22 +0200, "Albrecht, Michael" <[EMAIL PROTECTED]> wrote: > Hi Arnaud! Yo Michael! > The following lines show you an example for optionsCollection - tag: > > > label="text" /> > I got something similar: " value="<%= "id[" + indx + "]" %>"> I

RE: html:select in Struts

2004-09-19 Thread Robert Taylor
[EMAIL PROTECTED] > Sent: Sunday, September 19, 2004 7:53 AM > To: [EMAIL PROTECTED] > Subject: RE: html:select in Struts > > > Hi Robert, > > This is the HTML code I have written in my JSP page for including the > two DropDowns. > > Thanks, > Priya. > >

Re: html:select in Struts

2004-09-19 Thread Aditya Kapur
In order to use and you must put the values you want to diaplay in a collection like private static ArrayList monthDisplay=new ArrayList(); monthDisplay.add(new org.apache.struts.util.LabelValueBean( "Jan", "0" )); monthDisplay.add(new org.apache.struts.util.LabelValueBean( "Feb", "1" )); month

RE: html:select in Struts

2004-09-19 Thread Robert Taylor
Is this the actual HTML generated by the .jsp page? robert > -Original Message- > From: Priya Jotwani [mailto:[EMAIL PROTECTED] > Sent: Sunday, September 19, 2004 7:44 AM > To: Struts Users Mailing List > Subject: html:select in Struts > > > Hi Guys, > > > > I have a JSP Page with t

RE: html:select onchange question

2004-05-19 Thread Tom McCobb
I got it. The form bean referred to in the stmtDetail.do (DetailForm)is a different one than where the selMtr property lives (HeaderForm), and I just had to loop through a mapping that took me through the HeaderForm first. -Original Message- From: Tom McCobb [mailto:[EMAIL PROTECTED] Sent

Re: html:select ???

2004-05-12 Thread Henrique VIECILI
Ae Alessandro, Na ActionForm que contem este campo, vc deve inicializar o valor da propriedade 'numAgencia' com o valor que vc deseja que esteja selecionado inicialmente na sua combo (no seu caso: numAgencia = 61 ) Abraços, Henrique Viecili - Original Message - From: "cacau_braga" <[EMA

RE: html:select - can't display default option

2004-04-23 Thread Paul McCulloch
Original Message- > From: Matthew Hegarty [mailto:[EMAIL PROTECTED] > Sent: Friday, April 23, 2004 3:35 PM > To: 'Struts Users Mailing List' > Subject: RE: html:select - can't display default option > > > > If you want the option with a '' value

RE: html:select - can't display default option

2004-04-23 Thread Matthew Hegarty
> If you want the option with a '' value to be selected, set the corresponding > property in your bean to ''. I can't because the type is Boolean. I was wanting to display the empty option if the value returned is null. - To unsu

RE: html:select - can't display default option

2004-04-23 Thread Hubert Rabago
--- Matthew Hegarty <[EMAIL PROTECTED]> wrote: > Thanks for the responses. > Still not quite there though... > > Paul wrote: > > Try not explicitly setting the value attribute. > > This works insofar as the drop-down displays correctly if the value is true > or false, but if the value is null, t

RE: html:select - can't display default option

2004-04-23 Thread Matthew Hegarty
ks insofar as the drop-down displays correctly if the value is true or false, but if the value is null, then the drop-down defaults to 'no' (false) instead of ''. Matt -Original Message- From: Victor R. Cardona [mailto:[EMAIL PROTECTED] Sent: 23 April 2004 15:17

Re: html:select - can't display default option

2004-04-23 Thread Victor R. Cardona
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthew Hegarty wrote: | Hi all | | I am using , and trying to get the drop-down to default to a Boolean value in a bean, ie true, false, or blank if the bean is null. | My bean (MyBean) contains the method getMyValue() which returns a Boolean object. |

RE: html:select - can't display default option

2004-04-23 Thread Paul McCulloch
The html:select tag should do this automatically for you I think. Try not explicitly setting the value attribute. Looking at your code I'm surprised it works - you can;t nest jsp tags inside other tags as far as I know (or is that a JSP 2 feature?). Paul > -Original Message- > From: Matt

Re: Html:select and request variable - got it~

2004-03-30 Thread Mark Lowe
if the request parameter and form property have the same name it will work without this. /foo.do?fullName=Brian%20Sparrow On 30 Mar 2004, at 19:31, as as wrote: I got it.. I just added this in my jsp and it works... as as <[EMAIL PROTECTED]> wrote: Hi, I have a select drop down whic

RE: Html:select and request variable - got it~

2004-03-30 Thread Wendy Smoak
> From: as as [mailto:[EMAIL PROTECTED] > I got it.. > I just added this in my jsp and it works... > I confess to not having been following along, but... haven't we already had this discussion? You do not have to mess with the 'value' attribute of the Struts tags. Struts will populate your for

Re: Html:select and request variable - got it~

2004-03-30 Thread as as
I got it.. I just added this in my jsp and it works... as as <[EMAIL PROTECTED]> wrote: Hi, I have a select drop down which I want to set to a default selected option, based on the selected option. my code is as below. (from the jsp) My form class is as follows: TeacherDispla