Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to add dynamic text fields and add these fileds in the Action Form using struts 1.1

 
Deeps Mistry
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I want to add a text box on click of a button. I want to do this using struts 1.1. Also i want to add these fileds in the Action Form so that i can retrieve it in my Action classes.

Can anyone please help me out with this.

Please help me Ranchers. Pleaseeeeee

Thanks
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a JavaScript question, not Struts.
 
Deeps Mistry
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David Newton wrote:This is a JavaScript question, not Struts.
 
Deeps Mistry
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Deeps Mistry wrote:
David Newton wrote:This is a JavaScript question, not Struts.


Hey David,

I have added further queries in my post and it is related to struts now. So could you please help me out.


Thanks
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use an indexed or mapped property in the action form to capture dynamic fields.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic