You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Hartmut Bernecker <ha...@web.de> on 2001/05/05 19:50:10 UTC

dynamically build HTML forms

Hi,

I came across the following statement:

"The Struts framework lacks what is called "dynamic properties", or the 
ability to use meta data to drive the creation of forms and the associated 
ActionForm. This means it is impractical to dynamically build a HTML form 
using a separate, predefined data source (such as a XML file or database 
table). When a project requires database-driven form design it would be best 
to design special Model I-based JSP pages for this task. Keep in mind, it is 
still possible to use Struts in other areas of your project. The Struts team is 
well aware of this limitation arising from the lack of "dynamic properties." 
This feature is planned for version 1.1 of Struts."
(http://www.jspinsider.com/tutorials/jsp/struts/strutsadvance.html)

But what I'd like to do is precisely this: Creating HTML forms dynamically. Is 
there another way besides using Model 1-based JSP pages for this task?

I appreciate any clue in this matter.

TIA
__________________________________
Hartmut Bernecker
Heinrich-Rorbeck-Weg 30
73614 Schorndorf
Tel. 0 71 81 / 25 75 39
Fax. 0 71 81 / 25 75 41
habweb@web.de
__________________________________


Re: dynamically build HTML forms

Posted by Jonathan Asbell <ja...@i-2000.com>.
I want to know about this too.  I think this may be old.

----- Original Message -----
From: "Hartmut Bernecker" <ha...@web.de>
To: <st...@jakarta.apache.org>
Sent: Saturday, May 05, 2001 1:50 PM
Subject: dynamically build HTML forms


> Hi,
>
> I came across the following statement:
>
> "The Struts framework lacks what is called "dynamic properties", or the
> ability to use meta data to drive the creation of forms and the associated
> ActionForm. This means it is impractical to dynamically build a HTML form
> using a separate, predefined data source (such as a XML file or database
> table). When a project requires database-driven form design it would be
best
> to design special Model I-based JSP pages for this task. Keep in mind, it
is
> still possible to use Struts in other areas of your project. The Struts
team is
> well aware of this limitation arising from the lack of "dynamic
properties."
> This feature is planned for version 1.1 of Struts."
> (http://www.jspinsider.com/tutorials/jsp/struts/strutsadvance.html)
>
> But what I'd like to do is precisely this: Creating HTML forms
dynamically. Is
> there another way besides using Model 1-based JSP pages for this task?
>
> I appreciate any clue in this matter.
>
> TIA
> __________________________________
> Hartmut Bernecker
> Heinrich-Rorbeck-Weg 30
> 73614 Schorndorf
> Tel. 0 71 81 / 25 75 39
> Fax. 0 71 81 / 25 75 41
> habweb@web.de
> __________________________________
>