Using Struts, how can I dynamically add columns to a Table using a list of beans nested in my table row data?
This is the scenario. You are presenting a list of your data on a standard mymodelList.jsp form, using the Display tag library. Your data bean has an attribute that is a list of related data beans. In this scenario, you wish to display that related data in extra columns in your table. Here is one way to achieve this. The following code example assumes that your Action class has generated a list of parentBean objects and exposes that with a getParentBeans() method that returns a List
Related Questions
- Can I apply CMP entity beans for very long (several million bytes) table columns? Are response times still acceptable?
- Using Struts, how can I dynamically add columns to a Table using a list of beans nested in my table row data?
- Can I use SQL*Loader with direct path to load data into a table with encrypted columns?