File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes How to generate dynamic form elements Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to generate dynamic form elements" Watch "How to generate dynamic form elements" New topic
Author

How to generate dynamic form elements

Rajendra Prakash
Ranch Hand

Joined: Sep 10, 2009
Posts: 293
Can we use Action form to generate dynamic form elements. For example just consider Hospital
management system project. In this project i want to generate ward number dynamically.
I want to implement this with struts. Action form is only solution or any other way.
Rahul Nair
Ranch Hand

Joined: Dec 01, 2007
Posts: 138
Rajendra Prakash wrote:Can we use Action form to generate dynamic form elements.

You can generate dynamic form element without creating the actual ActionForm, For that you have to use DynaActionForm in
Struts 1. If this is not what you want then please reply...


Rajendra Prakash
Ranch Hand

Joined: Sep 10, 2009
Posts: 293
In struts 1x Action form and DynaActionForm are the solutions to generate dynamic form elements right?
Rahul Nair
Ranch Hand

Joined: Dec 01, 2007
Posts: 138
Yes, for practical implementation please check Struts - DynaActionForm
vijin das
Ranch Hand

Joined: Jun 07, 2010
Posts: 129

What about Dynavalidator form ... which one is flexible ..... try this DYNAVALIDATORFORM .....


VIJINDAS
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to generate dynamic form elements
 
Similar Threads
How to populate an array on submit?
dynamic forms: delete an input box
AJAX Dynamic Wizard-like Form Problems
using inheritance in struts
lost form data after validation errors return from actionform