ehensive coverage
of the tags than mine but is designed to test the tags rather than be easy
to understand for someone new to Struts.
>
>HTH
>
>Steve
>
> -Original Message-
> From: Rassmann, Natalie D [mailto:[EMAIL PROTECTED]
> Sent: June 23, 2003 11:43 AM
>
: Rassmann, Natalie D [mailto:[EMAIL PROTECTED]]
> Sent: June 23, 2003 11:43 AM
> To: Struts Users Mailing List
> Subject: Re: html:option - is there a selected option
attribute?
>
>
> Wendy,
>
> You have been very helpful. This is my first
STRUTS app and I seem to
> stumble
Subject: Re: html:option - is there a selected option attribute?
>
>
> Wendy,
>
> You have been very helpful. This is my first STRUTS app and I seem to
> stumble the most on getting these tags to work. I have not found any real
> documentation examples to help me. At any rate,
Wendy,
You have been very helpful. This is my first STRUTS app and I seem to
stumble the most on getting these tags to work. I have not found any real
documentation examples to help me. At any rate, I tried to use the options
collection tag and I had no success. It was one error after another
Natalie wrote:
> In my Action's execute method, I do a beanutils.copyProperties to copy the
> dto (data from DB) into my form. So, my form bean property is already set
> to the list. This list is used to build the select list drop down box in
my jsp.
The entire contents of the drop down is a
Wendy,
I am not sure how this would work. My form element is an Object which is
called OptionsBean. OptionsBean looks like this:
list - Arraylist of (int optionId and String optionLabel)
int selectedId
In my Action's execute method, I do a beanutils.copyProperties to copy the
dto (data f
Thank you, I will try that.
Wendy Smoak wrote:
Natalie wrote:
> I will use the selectedId from the OptionsBean to set the selected option
in the list.
> How do I do this?? I don't think the overriding the reset method is the
answer??
In the Action's execute method, set the value of th
Natalie wrote:
> I will use the selectedId from the OptionsBean to set the selected option
in the list.
> How do I do this?? I don't think the overriding the reset method is the
answer??
In the Action's execute method, set the value of that Form bean property to
whatever you want it to be. St
did that solve ure problem
-Original Message-
From: Natalie D Rassmann [mailto:[EMAIL PROTECTED]
Sent: Monday, June 23, 2003 6:03 PM
To: Struts Users Mailing List
Subject: Re: html:option - is there a selected option attribute?
This isn't going to work or at least I am not sure h
s Users Mailing List
Subject: Re: html:option - is there a selected
option attribute?
This will only work if I am reseting
In the formbean, I have the
selected option. I want to extract that information
and mark the
appropriate list item as selected. When I look
in the tld, I do not
hello
u need to set the name attribute also in the
so that reset works for u
-Original Message-
From: Natalie D Rassmann [mailto:[EMAIL PROTECTED]
Sent: Monday, June 23, 2003 4:56 PM
To: Struts Users Mailing List
Subject: Re: html:option - is there a selected option attribute
-
From: Natalie D Rassmann [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 23, 2003 1:26 PM
To: Struts Users Mailing List
Subject: Re: html:option - is there a selected
option attribute?
This will only work if I am reseting
In the formbean, I have the
selected option. I want to extract that
ginal Message-
> From: Natalie D Rassmann [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 23, 2003 12:52 PM
> To: Struts Users Mailing List
> Subject: html:option - is there a selected option attribute?
>
>
> I have an Options List and
ld like to be the default.
Greetz, Filip
-Original Message-
From: Natalie D Rassmann [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 23, 2003 1:13 PM
To: Struts Users Mailing List
Subject: Re: html:option - is there a selected
option attribute?
You lost me; what correspondi
hello dear
struts-html.tld file is for all html component stuff just go thru it ,,
-Original Message-
From: Natalie D Rassmann [mailto:[EMAIL PROTECTED]
Sent: Monday, June 23, 2003 4:47 PM
To: Struts Users Mailing List
Subject: Re: html:option - is there a selected option attribute
etz, Filip
-Original Message-
From: Natalie D Rassmann [mailto:[EMAIL PROTECTED]
Sent: Monday, June 23, 2003 1:13 PM
To: Struts Users Mailing List
Subject: Re: html:option - is there a selected option attribute?
You lost me; what corresponding boolean value??
Filip Polsakie
, June 23, 2003 4:43 PM
To: Struts Users Mailing List
Subject: Re: html:option - is there a selected option
attribute?
You lost me; what corresponding boolean value??
Filip Polsakiewicz wrote:
Hi,
i had the same problem. Here is the solution. You have
to set the
corresponding boolean value to true
HTH
its the component property just check it in xml file ,,
-Original Message-
From: Natalie D Rassmann [mailto:[EMAIL PROTECTED]
Sent: Monday, June 23, 2003 4:43 PM
To: Struts Users Mailing List
Subject: Re: html:option - is there a selected option attribute?
You lost me; what
day, June 23, 2003 12:52 PM
> To: Struts Users Mailing List
> Subject: html:option - is there a selected option attribute?
>
>
> I have an Options List and I want to make one of the
items in the select
> list selected. I am using the html-el tags.
How do I mark an option as
&
tml:option - is there a selected option attribute?
>
>
> I have an Options List and I want to make one of the items in the select
> list selected. I am using the html-el tags. How do I mark an option as
> selected?? Is there a way:
>
I have an Options List and I want to make one of the items in the select
list selected. I am using the html-el tags. How do I mark an option as
selected?? Is there a way:
Thanks in advance,
Natalie
-
To unsubscribe, e-mail: [
> -Original Message-
> From: Greg Roll [mailto:groll@;ServiceIntelligence.com]
> Sent: Monday, November 04, 2002 1:26 PM
>
> I am generating a dropdown list using the following code:
>
>
> property="groups" type="com.serviceintelligence.cems.core.Group">
>
Sent: Monday, November 04, 2002 4:26 PM
To: '[EMAIL PROTECTED]'
Subject: html:option - is there a selected option attribute?
I am generating a dropdown list using the following code:
<%= tmpGroup.getName() %>
Is there some r
I am generating a dropdown list using the following code:
<%= tmpGroup.getName() %>
Is there some recommended way for me to have a certain item 'selected' when
generating this form?
Thx.
Greg Roll
24 matches
Mail list logo