Replacement for deprecated Layout component

UI Components for JSF
Post Reply
javaone9
Posts: 313
Joined: 06 Nov 2012, 20:50

14 Sep 2019, 01:25

Hello,

The Layout component is deprecated. What is the replacement?

For a border layout

Code: Select all

 North
-------------------------------
West | Center | East
------------------------------
South
For responsive design on mobile devices, west and east units should become drawers, which pop out when clicking menu icons on the top like the PF demo page. How to achieve this?

Thanks
Dave

User avatar
Melloware
Posts: 1225
Joined: 22 Apr 2013, 15:48

14 Sep 2019, 13:58

There are 2 real solutions.

1. (Preferred) Switch use pure HTML/CSS for responsive layout using Bootstrap or PrimeFlex etc.

2. PrimeFaces Extensions still has an almost identical layout component that is still supported. See here: https://www.primefaces.org/showcase-ext ... layout.jsf
PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 7.0.6 / PF Extensions 7.0.2

javaone9
Posts: 313
Joined: 06 Nov 2012, 20:50

15 Sep 2019, 16:09

Thanks for suggestions.
But In my opinion, the Layout component should continue to evolve to match native mobile apps like android. Android has drawer layout. The current layout component implementation is too heavy (203K). Using html5, it should be <30K.

User avatar
Melloware
Posts: 1225
Joined: 22 Apr 2013, 15:48

15 Sep 2019, 16:32

Yep but PF has deprecated it in favor of their responsive layouts especially their professional themes which are HTML5/CSS and responsive. That is the direction they are going. So if you want a Android like drawer layout checkout Babylon any one of the newer premium themes.
PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 7.0.6 / PF Extensions 7.0.2

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Bing [Bot] and 9 guests