Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to generate dynamic form elements

 
Rajendra Prakash
Ranch Hand
Posts: 293
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 293
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In struts 1x Action form and DynaActionForm are the solutions to generate dynamic form elements right?
 
Rahul Nair
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, for practical implementation please check Struts - DynaActionForm
 
vijin das
Ranch Hand
Posts: 129
Firefox Browser Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What about Dynavalidator form ... which one is flexible ..... try this DYNAVALIDATORFORM .....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic