Hi, I need to show a matrix using JSF in the following way .
. A B C X 1 2 3 Y 4 5 6 Z 7 8 9
I'm having a table in database named "matrix" which is having 3 fields. field1 is a number,field2 and field 3 are foreign keys which references to table "A1" and table "X1". A1 is having elements A,B,and C X1 is having elements X,Y and Z Elements of table MATRIX are as follows table:MATRIX field2 field3 field1 A X 1 A Y 4 A Z 7 B X 2 B Y 5 B Z 8 .. .... .. .......................
Now I need to display the field1 of "matrix" table according to X and Y direction values(Those values are dynamic ones).
As h:datatable only supports X direction display, I thought I'll use any available GRID component for this kind of display.Unfortunately I couldnt get any faces component for this.
Is there any ready-made component available? Or do I need to write my own component for this? If so, can you guys help me by providing any similar kind of component which I can change for my requirement? I am using a combination of JSF-Spring-Hibernate.
I'm having same type of problems. Als working on a matrix that needs to have a dynamic range of colums and rows (gatehered from lists generated for rows and colums) where the headers are not given and the whole matrix is filled with checkboxes that are checked/unchecked according to a listof results that need to be compared at each row/column cross section with the according column and row values from their lists.
the jsf components that are given feel complicated to use. Having experience with struts components doesn't help me out in any way.
Right now I'm trying to generate the whole matrix serverside using HtmlPanelGrid in java. Maybe that's an outcome for you?