This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Pre-populating a drop down list using STRUTS
Joined: Jun 23, 2004
Jul 12, 2004 07:58:00
How do i pre-popualte a drop-down list and display the selected value when fixing errors that occur through my STRUTS application.
I am using the <html
ption> construction tag which uses a bean from session to dynamically populate the drop-down.
The page also uses a Form Bean to capture the values added in the text boxes.
Any solutions would be greatful.
Author and ninkuma
Joined: Jan 10, 2002
Jul 12, 2004 08:05:00
Moving to the Frameworks forum.
Asking smart questions
Books by Bear
author & internet detective
Joined: May 26, 2003
Jul 12, 2004 18:32:00
Are you using the <html:select> tag within your <html:form> ? If so, you get this functionality for free.
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
Joined: May 29, 2003
Jul 13, 2004 11:22:00
Jeanne's correct. Struts will make one of the choices selected based on the value of your form bean property.
Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
subject: Pre-populating a drop down list using STRUTS
Drop down list value
drop down like google auto suggest in strut 1.2
Session values of a Backing Bean in JSF
dependent select boxes with ajax .
Dynamic drop down in struts
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014