• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSF DATA TABLE NAVIGATION PROBLEM

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am using ADF faces in my project i am having a problem like this.

I am having a data table where in i am setting the "rows" attribute for the same to 100, so at a time only 100 records will be displayed in the grid.

The navigation part appears fine on the top of the data table. I want the same to be also appearing at the Bottom of the data table.

I am using the "selection" facet and tableSelectOne tag of adf in the data table.

There are links which say that it is possible to display the same at the top as well as at the bottom, but i am not able to figure out a way for the same.

My code goes as follows :

<af:table var="cpt" width="100%"
bandingInterval="1" banding="row"
value="# {mo_counterpartySearchManager.counterpartyDetailList}"
summary="Counterparty Summary"
styleClass="standard"
rendered="#{mo_counterpartySearchManager.visible}"
binding="#{mo_counterpartySearchManager.detailTable}">

<f:facet name="selection">
<af:tableSelectOne>
<af:commandButton id="cmd_deal_details"
styleClass="align:center;" text="Deal Details" action="#
{mo_counterpartySearchManager.doDealDetails}"/>
</af:tableSelectOne>
</f:facet>

<af:column sortProperty="id"
sortable="#mo_counterpartySearchManager.sortable}" >
<f:facet name="header">
<af:outputText value="Counterparty Id"/>
</f:facet>
<af:outputText value="#{cpt.id}" />
</af:column>
</af:table>

I have been working on this for quite a long time now.

Your help is highly appreciated.

Thank you,
Regards,
Bhavesh Thakkar
 
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Bhavesh,

Firstly, please don't post your posting using capital letters. It is considered rude. And you'll find that although it does highlight your problem on the forum front page, that you'll actually get fewer responses.

That said, Have you tried <h:facet name="footer">
 
Bhavesh Thakkar
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am sorry for putting my subject like in capital and will mark it for my futuer communications.

yes i have tried it with "footer" facet too, but it is not giving me the desired output.

Actually ADF comes with three default skin implementations namely :
1.Oracle
2.Minimal
3.Simple.

The Oracle skin of adf displays the ontrol bar at the bottom as well at the top.

But when ever we write a custom skin of our own, adf overrides the simple skin and the simple skin of adf implementation has no support for displaying the control bar at the bottom. Also i was not able to find a way in which i can set my application to overide the Oracle skin which is provided by adf faces implementation.

Thank you,
regards,
Bhavesh Thakkar
reply
    Bookmark Topic Watch Topic
  • New Topic