| Author |
value in rich:dataTable facet?
|
bostian tov
Ranch Hand
Joined: Mar 11, 2010
Posts: 32
|
|
Why ins't value in datatable facet shown - #{subList.msisdnPK.msisdn}?
Outside of that facet value #{subList.msisdnPK.msisdn} is shown normaly...
|
 |
Vadym Baranenko
Greenhorn
Joined: Oct 06, 2010
Posts: 18
|
|
|
Correct my if I wrong, but subList in your code is an iterator for your data, but header in your teble should contain names of the columns, not data. So, you don't meed it in #{subList.msisdnPK.msisdn} in your header, use it only on the body of the table.
|
 |
bostian tov
Ranch Hand
Joined: Mar 11, 2010
Posts: 32
|
|
|
Yes the thing is that i have 2 rows in header... in 1.row i need some data, so if anyone know how to do that... because i didn't find any solution.
|
 |
Vadym Baranenko
Greenhorn
Joined: Oct 06, 2010
Posts: 18
|
|
|
But the problem is than value of #{subList.msisdnPK.msisdn} changes while table fills with data. You should use "immutable" data, something like this "#{xxx..msisdnPK.msisdn} which will be a property of your bean.
|
 |
bostian tov
Ranch Hand
Joined: Mar 11, 2010
Posts: 32
|
|
|
Well this data that i need is the same for all rows of table, but header is probably generated before iterator, so data is unavailable. I will then just create some bean property or something.
|
 |
 |
|
|
subject: value in rich:dataTable facet?
|
|
|