Re: Problem with html:select default value

2009-03-05 Thread Yves Dessertine
must match to any of your existing values... otherwise the first option will be selected by default I hope this was helpfull Benny Yves Dessertine wrote: Hello, I'm having a problem with html:select from the struts taglib. The default option is only selected in the first example (but all

Re: Problem with html:select default value

2009-03-05 Thread Dave Newton
Yves Dessertine wrote: Yeah, thanks a lot Benjamin! I did *basically* what you told (building a Collection of LabelValueBean, but I did this in an action -- same result: it works :)). But I still don't understand why selecting default values hadn't worked when building a list of option with

Problem with html:select default value

2009-03-04 Thread Yves Dessertine
Hello, I'm having a problem with html:select from the struts taglib. The default option is only selected in the first example (but all 3 lists are created well in jsp page). I googled a lot, but could't find similar problem. My JSP page contains 3 selects

Re: Problem with html:select default value

2009-03-04 Thread benjamin haimerl
Dessertine wrote: Hello, I'm having a problem with html:select from the struts taglib. The default option is only selected in the first example (but all 3 lists are created well in jsp page). I googled a lot, but could't find similar problem. My JSP page contains 3 selects

Facing Problem using html:select with html:options

2006-10-25 Thread Chetan Pandey
Hi All: I have a JSP Form in which one field is a multi-select drop-down box. An array of String is used to represent it I am facing this problem when trying to Edit stuff. The Drop-down initially has many different values selected. If I try to change selections everything is

Re: Facing Problem using html:select with html:options

2006-10-25 Thread Chris Pratt
In HTML, only the selected values get sent to the server, so when no values in the multi-select are selected, nothing gets sent to the server for that property. Make sure your reset() method clears out the values for that property and you should be ok. (*Chris*) On 10/25/06, Chetan Pandey

Problem with html:select

2006-02-03 Thread Kumar Kadiyala
Hello, I am running into a problem with the html:select tag. I have the multiple attribute set so that the list renders as a multi select list box. I am using the value attribute of this tag and if I specify an Array as the value, the initial selection in the list box is not correct. I looked

Re: Problem with html:select

2006-02-03 Thread Michael Jouravlev
On 2/3/06, Michael Jouravlev [EMAIL PROTECTED] wrote: On 2/3/06, Kumar Kadiyala [EMAIL PROTECTED] wrote: Hello, I am running into a problem with the html:select tag. I have the multiple attribute set so that the list renders as a multi select list box. I am using the value attribute

Re: Problem with html:select

2006-02-03 Thread Kumar Kadiyala
into a problem with the html:select tag. I have the multiple attribute set so that the list renders as a multi select list box. I am using the value attribute of this tag and if I specify an Array as the value, the initial selection in the list box is not correct. I looked into the source

Re: Problem with html:select

2006-02-03 Thread Michael Jouravlev
html:select? Kumar --- Michael Jouravlev [EMAIL PROTECTED] wrote: On 2/3/06, Michael Jouravlev [EMAIL PROTECTED] wrote: On 2/3/06, Kumar Kadiyala [EMAIL PROTECTED] wrote: Hello, I am running into a problem with the html:select tag. I have the multiple attribute set so

problem with html:select / html:options

2005-10-13 Thread Troy Bull
Hi I am trying to use the struts taglibs as much as I can and I have the following situation. I have a collection object filled with DTO beans stored in session. The following prints out the list as I would expect: logic:iterate id=row name=results scope=session bean:write

Re: problem with html:select / html:options

2005-10-13 Thread Dave Newton
Troy Bull wrote: and if I try this on the same page what I can't figure out is how to make this work: html:select property=cname html:options name=results property=countryName/ /html:select http://struts.apache.org/userGuide/struts-html.html#options Note the differences

Re: problem with html:select / html:options

2005-10-13 Thread Sunil_Sahu
user@struts.apache.org To Struts Users Mailing List user@struts.apache.org cc Subject problem with html:select / html:options Hi I am trying to use the struts taglibs as much as I can and I have the following situation. I have a collection object filled with DTO beans stored in session

Re: Problem with html:select

2005-07-14 Thread lk
Balasubramaniam, Sezhiyan wrote: I usually set the JavaScript add-options statements using logic-iterate and on the event of user clicks a button; this function will be called which will populate the select box. function refreshSelect() { logic:iterate id=MIP_SUBGRP_CD

Problem with html:select

2005-07-11 Thread lk
Hi, I have a html:select that at begin is empty. Using a javascript and clicking over a button the select field can be populated? The problem is that if I try to read in my Action class the select it seems to be empty. (I use (ArrayList)((DynaValidatorForm)form).get(chosen) to get the

RE: Problem with html:select

2005-07-11 Thread Balasubramaniam, Sezhiyan
: Problem with html:select Hi, I have a html:select that at begin is empty. Using a javascript and clicking over a button the select field can be populated? The problem is that if I try to read in my Action class the select it seems to be empty. (I use (ArrayList)((DynaValidatorForm)form).get(chosen

RE: Problem with html:select id -- Help me OUT

2005-06-10 Thread Kade Jeevan Kumar
Hi Madigan ! Thnx for ur solution. It is working now with styleId -Jeevan - Discover Yahoo! Get on-the-go sports scores, stock quotes, news more. Check it out!

Problem with html:select id -- Help me OUT

2005-06-09 Thread Kade Jeevan Kumar
Hi! i have an html code select name=combo0 id=combo_0 onChange=change(this); i need to convert the above code using struts library. but the problem here is, struts-tld cann't take id attribute. i strictly need to use id. Give me the solution for this ASAP. -Thanks in Advance Jeevan

Re: Problem with html:select id -- Help me OUT

2005-06-09 Thread amitava . basak
use styleId instead. It gets converted to id Amitava Basak ASE Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you

RE: Problem with html:select id -- Help me OUT

2005-06-09 Thread Ray Madigan
Kumar [mailto:[EMAIL PROTECTED] Sent: Thursday, June 09, 2005 5:24 AM To: user@struts.apache.org Cc: dev@struts.apache.org Subject: Problem with html:select id -- Help me OUT Hi! i have an html code select name=combo0 id=combo_0 onChange=change(this); i need to convert the above code using struts