ADF 22.214.171.124 : The return of the paging table (… and more ….)
It looks like oracle made JDeveloper and ADF 126.96.36.199 available today. Perhaps not officially, but it can be downloaded. There are several interesting new components available. One of these is the codeEditor component which allows you to write code and have syntax highlighting. Not sure if I see a use case for this, but I’m in for a surprise. Also new are several DVT components such as the timeline, the sunburst and the treemap. And yes, hurray hurray, we now have the panelgridlayout available in 11gR1 ! Apparently there is also multi file upload. These are all very nice, but I’m also very enthusiastic about the return of the paging table.
This was the standard in 10g, but disappeared in 11g. It took 7 releases to get it back. In this post I describe how to use it.
How it works.
It is actually pretty straightforward.
The table can be created as usual. So simply create default business components for the employees table, drag and drop the employees collection from your data control on a new page.
In order to make the table a paging table you need to use following attribute settings:
- scrollPolicy=’page’ (yes, this is a new attribute for the table component)
Also, the table must be inside a flowing container such as a panelGroupLayout with layout =”scroll”.
First surround the table with a panelcollection, and then surround the panelcollection with the “scrolling” panelGroupLayout.
Too bad that you cannot see the effect in the Desing view in JDeveloper.
The page structure should now look like this:
Running the page will show you the paging table.
It has the paging bar at the bottom. The bar enables you to scroll between pages by either typing a page number in the box, using the arrow controls, or click on a pagenumber.
Other new table features
I noticed another feature that looked very interesting. It is called BlockRowNavigationOnError, and it does exactly what it says. This is when you select a row and do some editing inside the table or in a related form, and this editing causes some validation failures. At this time, if you click on a different row in table, we want to block you from moving to the new row.
I’m very happy with this new feature because it now finally enables editing in a table without having to worry about multiple rows having errors. We can now block navigation !
The complete component demo can be found here.
- ADF 11g : SelectOneRadio in Table Layout
- ADF 11g : Import From Excel Into an ADF Table
- Migrating the ADF 10g Hierarchical Table Report to JDeveloper & ADF Trinidad and onwards to 11g (RichFaces)
- Using the new JSF Components ShowDetailFrame and PanelCustomizable for structuring the User Interface in JDeveloper 10.1.3.2
- Locking colums in HTML table (IE only)
- Oracle ADF Virtual Developer Day 2013
- My Report from the ODTUG Kscope13
- ADF: (Automatic) Partial Page Rendering across Taskflows
- ADF client-side architecture – Select All
- SOA Suite definitive guide to: The UMS adapter (188.8.131.52)
- ADF DVT Speed Date: Interactive Bubble Graph
- ADF Mobile : Implementing the “Pull to Refresh” Pattern
- ADF DVT Speed Date : Meeting The Hierarchy Viewer
- ADF Mobile : Device Interaction API – Pictures, GPS and Email With Attachments
- Book Review : Oracle ADF Real World Developer’s Guide