Search This Blog

Monday 17 September 2007

Adding an estimated row count to a table in ADF

I used ADF JSP a lot back in JDeveloper 10.1.2 and today I needed to do something which I did a lot back then in ADF JSF Jdeveloper 10.1.3. Whenever I wrote ADF web based applications I would always like to show the amount of records a particular table contained at the top of the table. In ADF JSP JDeveloper 10.1.2 I would commonly use a TIP uix tag to achieve this and eventually I found what I could use in the 10.1.3 ADF JSF world. The tag is af:panelTip and his a small example.

<af:paneltip>
<af:outputformatted value="Total of #{bindings.DeptView1Iterator.estimatedRowCount} rows">
</af:panelTip>

His a simple screen shot showing how it looks.

No comments: