: Thursday, June 06, 2002 5:58 AM
Subject: RE: dynamic form properties
What do you want to know? I use maps and collections in form beans now to
capture multi-select list key-value pairs and checkbox array booleans,
respectively. I think it would be a simple extrapolation to map
key-values
1. Declare the bean's scope as session as an attribute of the form-bean
declaration in struts-config.xml and provide an empty reset() method in the
bean class;
2. Use java scriplets (though I do not recommend this) as in
% List myBean = (List) session.getAttribute( myBean);
Iterator i =
,
Daka
- Original Message -
From: Galbreath, Mark [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, June 06, 2002 5:58 AM
Subject: RE: dynamic form properties
What do you want to know? I use maps and collections in form beans now to
capture multi
What do you want to know? I use maps and collections in form beans now to
capture multi-select list key-value pairs and checkbox array booleans,
respectively. I think it would be a simple extrapolation to map key-values
for an entire HTML form, permitting a single action form to capture states
Are you talking about the DynaActionForm?
James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
http://struts-atlanta.open-tools.org
ICQ: 27651409
AOLIM: jmitchtx (and NO I dont use AOL;)
-Original Message-
From: Zhihua Xu
5 matches
Mail list logo