It's not a secret anymore!
The moose likes Struts and the fly likes How to generate dynamic form elements Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply 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: 136
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: 136
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to generate dynamic form elements
 
Similar Threads
dynamic forms: delete an input box
using inheritance in struts
How to populate an array on submit?
AJAX Dynamic Wizard-like Form Problems
lost form data after validation errors return from actionform