Re: dynamically build HTML forms
I want to know about this too. I think this may be old. - Original Message - From: Hartmut Bernecker [EMAIL PROTECTED] To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] __
RE: dynamically build HTML forms
Hi, in my current project I am generating forms dynamically in the action classes - based on an xml configuration file. It is probably a little more work but I feel it is possible to get it to work ... Pratima -Original Message- From: Hartmut Bernecker To: [EMAIL PROTECTED] Sent: 5/5/01 10:50 AM 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 [EMAIL PROTECTED] __