then why do you need from?
Anyway, if you still wish to live within struts scope, map based forms will help you.


regards
Navjot Singh

Dew on red rose
 girl dancing
 sweat droplets on her face (Unknown)



Peng Tuck Kwok wrote:

I think I'm uncertain about the question you asked as well, do you
wish to have no ActionForm and only create one when a request comes in
, based on some configuration in a db ? It sounds like what you
actually want to do is change the configuration location from a file
to the db . Is that correct ?

On Fri, 6 Aug 2004 14:17:42 +0900, Matthew Van Horn
<[EMAIL PROTECTED]> wrote:


His question is:

How can one build an ActionForm without specifying any properties in
either a java class or the struts configuration file?



-----Original Message-----
From: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent: Friday, August 06, 2004 1:29 PM
To: Struts Users Mailing List
Subject: Re: very dynamic forms


What is your question?

At 05:17 PM 8/5/2004, you wrote:


Sorry, I thought I stated it plainly. Forget about tiles.
I think what I need is Map Backed Action Forms, but am
not sure where to look for an example. DynaActionForms
look like classes that are just built dynamically according
to struts config. I want to build one on-the-fly according to
"configuration" stuff stored in a database, that can change. Is that
more understandable?

Dean

Michael McGrady wrote:



I cannot quite tell what your "problem" or "question" is,


Dean Hoover.


I
don't see, further, what "struts/tiles" has to do with


building a dynamic


form. You have a form in a file and that form may be constructed
dynamically. This is irrelevant to the tiles aspect of


struts. What are


you really asking?

Michael

At 05:00 PM 8/5/2004, you wrote:



Suppose I want to construct a form based
on a query to a database. What would come
out of the query would be label, form position,
variable name, etc, etc. What would be the
recommended way of building this under
struts/tiles? I've been working with struts/tiles
for a while now and this is the first time this
sort of requirement has come up. I've used
DynaActionForm and ActionForm, but do
not see how this sort of thing fits either model.

Any ideas?

Dean Hoover


-----------------------------------------------------------


----------


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




------------------------------------------------------------


---------


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




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





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




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





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


.




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



Reply via email to