-
1. Re: How to set height of rich:extendedDataTable via EL expression
elf Jun 21, 2010 1:00 AM (in response to shanikaweerapperuma)What type ToDo.tableHeight has ?
-
2. Re: How to set height of rich:extendedDataTable via EL expression
shanikaweerapperuma Jun 21, 2010 1:19 AM (in response to elf)Hi Serhiy,
My tableHeight is of type String. Following is the method implementatio in my ToDo seam component. The comment "getTableHeight in ToDoBean called" is never printed in the log.
private String tableHeight = null;
public String getTableHeight(){
log.info("getTableHeight in ToDoBean called");
int header = 25;
int singleRow = 25;
int menu = 87;
this.tableHeight = (header + menu + (singleRow * 1)) + "px;";
log.info("height : "+tableHeight);
return tableHeight;
} -
3. Re: How to set height of rich:extendedDataTable via EL expression
shanikaweerapperuma Jun 22, 2010 11:23 PM (in response to shanikaweerapperuma)Has anybody got any answer at all for my question??
-
4. Re: How to set height of rich:extendedDataTable via EL expression
elf Jun 23, 2010 1:03 AM (in response to shanikaweerapperuma)Did tou see in debug mode that this.tableHeight has correct value ?
May be there is a problem with logging and debug will stop inside get- method.
-
5. Re: How to set height of rich:extendedDataTable via EL expression
shanikaweerapperuma Jun 23, 2010 2:15 AM (in response to elf)Thanks Serhiy,
It started to work once I removed all the log statements from the method. Eversince then it works fine with / without logs. I don't understand why anyway.
Thanks alot.