Currently i am working on Struts 2 based application, in which i need to populate an array of Java beans from the form.
The problem, I am facing is: Struts 2 is not instantiate an array of beans
I have gone through the Data transfer and Type Conversion of struts of 1.2, but every where I can see only following: *An array of primitive data types *List of primitive / Java bean *Map of primitive / Java bean
but i can't see the docs on An array of Java Beans.
What I can't do in my application is: * Can not convert an array of beans into java.util.List<beans> * Can not instantiate the bean array (As the number of elements will be decided by the front end - form)
<head> <title>Test Form</title> </head> <SCRIPT type="text/javascript"> // Total number of contacts in the mail request form var totalContacts = 0;
function addContact() { var tbody = document.getElementById('testTable').getElementsByTagName('tbody')[0]; var row = document.createElement('TR');
var td1 = document.createElement('TD'); var td2 = document.createElement('TD'); var inputBox = document.createElement('INPUT');
Vikas -- Sent from the Struts - User mailing list archive at Nabble.com.
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)