T
tomo
I want to dynamically create a large form in JSF, looking something like
this which will have at least 200 rows.
COL1 COL2 COL3
ROWNAME inputText inputText inputText .
. . . .
.
I want to generate it from db, by putting rownames and column names in
some lookup table. I'm using ArrayList with this structure to generate
this :
class Form{
private rowName;
privae columnOne;
private columnTwo;
private columnThree;
}
And it works fine, only that other day I had a request to put some
inputText to sum some values beetween row 50 and 51, and I couldn't do
that because the whole form
is dynamically generated from db. Is it better to write all 200 rows
with inputTexts and outputText elements instead of using datatable
structure for easier changing ?
Thanks in advance.
this which will have at least 200 rows.
COL1 COL2 COL3
ROWNAME inputText inputText inputText .
. . . .
.
I want to generate it from db, by putting rownames and column names in
some lookup table. I'm using ArrayList with this structure to generate
this :
class Form{
private rowName;
privae columnOne;
private columnTwo;
private columnThree;
}
And it works fine, only that other day I had a request to put some
inputText to sum some values beetween row 50 and 51, and I couldn't do
that because the whole form
is dynamically generated from db. Is it better to write all 200 rows
with inputTexts and outputText elements instead of using datatable
structure for easier changing ?
Thanks in advance.