U can use html:optionsCollection tag instead of html:options.
This will retain the selected value .
From: lcl [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: html:options can not automatically match value
Date: Thu, 5 Jun 2003 10:57:15
Hi all ,
I have using the following code to express a select control in html using
strtus tag:
html:select property=projclieid
html:options collection=com.nsk.gs.sales.ClientInfo
labelProperty=cliename
property=clieid /
/html:select
When this jsp page is running, all is ok, but the
and the apartmentOffice is a property of
the bean
Hope this helps
- Original Message -
From: lcl [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 12:33 PM
Subject: html:options can not automatically match value
Hi all ,
I have using the following code to express
is a property
of
the bean
Hope this helps
- Original Message -
From: lcl [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 12:33 PM
Subject: html:options can not automatically match value
Hi all ,
I have using the following code to express a select control
4 matches
Mail list logo