Re: dynamic form properties

2002-06-25 Thread Zhihua Xu

Hi, Mark,

How can I keep a form bean in a session scope? In addition how can I access
a form
bean from a jsp page directly, instead of using the jsp tags?

Thanks,

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-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
 for every HTML form in the application if the form bean is kept in session
 scope with an empty reset().

 Mark

 -Original Message-
 From: Zhihua Xu [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 2:10 AM

 In Struts 1.1 beta, a Map can be used instead of individual properties on
 an ActionForm. In the future, I foresee Struts developers using the same
 base ActionForm in all their projects, without going through the hassle of
 defining all these String properites. 

 Does anyone have an example of the above usage?

 Thanks,

 Daka

 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




dynamic form properties

2002-06-05 Thread Zhihua Xu

Hi, there,

I have learned the following,

In Struts 1.1 beta, a Map can be used instead of individual properties on an 
ActionForm. In the future, I foresee Struts developers using the same base ActionForm 
in all their projects, without going through the hassle of defining all these String 
properites. 

Does anyone have an example of the above usage?

Thanks,

Daka