Stretch the width of ADF Table – afstretchwidth
I have faced an issues on rendering an ADF table in a browser. I have an ADF table surrounded by a Panel Collection inside a Panel Stretch layout. As shown in the below picture, the page is not rendering properly in the browser. The width and height of the table is not stretched out properly
To Resolve Width:
I have set the property ‘styleClass = AFStretchWidth’ for panelCollection component. AFStretchWidth will set the width of the panel Collection to 100% of its parent component.
To Resolve Height:
I have set the ‘DimensionsFrom’ value to ‘Parent’ for ‘PanelStretchLayout‘
After the two properties applied to the JSF page, the table height and width is stretched to 100% of parent. As you see in the below image, the bottom and right side of the table are stretched out completely.
The views expressed on this blog are my personal views and do not necessarily reflect the views of my employer.
Please feeling free to reach me on any comments and feedbacks you have. Would be more than glad to listen and reply 🙂
Latest posts by Govind
- JSF Login Logout Form Authentication Example - October 16, 2017
- How to Bookmark URL in JSF using GET method and ViewParam – example - October 14, 2017
- JSF Dynamic Navigation and how to use wildcard in navigation - October 12, 2017