• Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts DynaActionForm setting array size dynamically  RSS feed

yan yan
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there!

I have a question regarding DynamicActionForm. I have the ff. Stugs-config.xml

<form-bean name="appEmpHistoryForm" type="org.apache.struts.action.DynaActionForm">
<form-property name="empHistory" type="com.rms.struts.model.ApplicantEmpHistory[]" size="1"/>
<form-property name="topSkills" type="com.rms.struts.model.ApplicantTopSkills[]" size="1"/>


Initiallly, i set the size to 1. In my JSP, i have an ADD button. Upon clicking the ADD button i want the size to increase as well as the HTML objects. Is this possible? or i need to do DOM?

Need help.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!