Migrating PanelGrid from Old Omega 2.0 to 4.0

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
erickdeoliveiraleal
Posts: 79
Joined: 25 Mar 2013, 13:00

27 Dec 2021, 18:55

Here we have forms with many lines, and the spacing was too big when migrating to the new version.
Is there an easy way to migrate a form with the old PanelGrid to the new style with PrimeFlex without having to change many lines of code?
In the example that comes within the layout package each input group needs to be encapsulated by a class " <div class="p-field p-col-12 p-md-3">", if I need to do this in the whole project it will take time very.
My current layout looks like the attached figure, that is, next to each input I have an outputLabel.

my page
Image
ome layout demo
Image
need only one line of code to define the whole form in omega 2.0:
Image

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

19 Apr 2022, 06:40

Thanks a lot for the screenshots! Maybe, you can use form layout structure instead of panelGrid;
https://www.primefaces.org/primeflex/formlayout

Best Regards,

Post Reply

Return to “Omega - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests