Array of submit buttons

2019-02-14 Thread Prasanth
Hi, I have a form with tabular data and need to have delete buttons for each row. So have a ArrayList in the action and the form has inside an iterator. When the user clicks on the Delete button the ArrayList was not populated. So changed the ArrayList to a Map. Interestingly the map is popula

Map backed form

2019-02-14 Thread Prasanth
Hi, I have a map (Map) but based on the data entered by the user the value in the Map is Double or String. Example if the user enters a value of 10 then it is coming in as double but if the user enters 10.5 then a string is present in the value. Does Struts2 look at the data types of the key an