Problem with <f:facet = "footer"> in datatable

Hi,

i am using tomahawk data table in that <f:facet = "footer"> tag work fine for static text (i.e) inside <f:verbatine>. But when i include any <h:outputText> it shows javax.faces.FacesException: javax.servlet.ServletException: Error getting property 'totalcollege' from bean of type java.lang.String.. where total college is the total count i have to display in footer. Any one have the suggestion?

Regards

A.

[456 byte] By [Ananth.duraia] at [2007-11-27 6:49:14]
# 1
i have used <f:facet name="footer"> tag many time have u tried like this<f:facet name="footer"><h:outputText value="#{<beanname.methodName>}" /></f:facet>and i never face any problem with this code.
PRohillaa at 2007-7-12 18:22:52 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Hi,

But see my coding.

session.getAttribute("totalcollege",5);

public String getTotalCollege(){

if(session.getAttribute("totalcollege") != null){

tcollege = totalcollege;

}

return tcollege;

}

but it's not display anything in footer

Regards,

A.

Ananth.duraia at 2007-7-12 18:22:52 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
Please post your code.
RaymondDeCampoa at 2007-7-12 18:22:52 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...