I have a requirement where we have two different section called 'Export' and 'Admin>>Setup>>Customization'. In the 'Export' Section we display the details in a list format by fetching the details from the database. I have attached the image which shows the listing screen of export. Then we have admin customization section where we specify how the column should be displayed in the listing. For example if I select 'Column 1' as 'Report Identifier' and 'Column 4' as 'Message Number' then in listing screen should be altered dynamically to display the same.
I have attached the customization screen also with this
In simple terms, the columns 'Message Number' and 'Report Identifier' should be interchanged according to the configuration in Admin Customization screen
I have tried using struts logic tags with some back end database codes, it works. But we can't use that, we need to refine it such that we can avoid multiple conditions in the jsp page. If i add another, I again need to alter the jsp page to display the same. I am trying with AJAX and JQuery but not sure how to work with them.
This customization will affect the entire application as a hole. Just like the export listing screen I have shown above there are another 7 other listing screen in the application.