Hi,
I am trying to use jxls for reporting with a collection of complex bean.
Here are my beans
Department=>{headId, staff}
Employee=>{id, name, salary}

My template is a single line as 
[${dept.headId}, ${dept.staff.id}, ${dept.staff.name}, ${dept.staff.salary}] 
where each value in 
this list is mentioned in one column of a single row

What i expect is 
headId should be in the generated excel only in the first row for the 
department with details of first employee alongside it, 
then details of other employees without 
repeating headId in subsequent rows. 
once one department is over same should happen for 
subsequent departments
expected output=>
headId1 empId1 empName1 empSalary1
             empId2 empName2 empSalary2
headId2 empId3 empName3 empSalary3
              empId4 empName4 empSalary4

actual output=>
headId1 empId1 empName1 empSalary1
headId2 empId2 empName2 empSalary2
             empId3 empName3 empSalary3
             empId4 empName4 empSalary4

is there any solution for this problem?


------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
jXLS-user mailing list
jXLS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jxls-user

Reply via email to