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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
: 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
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!
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
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
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
20 matches
Mail list logo