Can we create a new extension for the deprecated mobile UI?

Community Driven Extensions Project
Post Reply
pimetix
Posts: 6
Joined: 29 May 2015, 07:27

06 Aug 2018, 16:41

Hi all

We have been using the mobile UI very successfully the last few years and are pretty sad to see it being removed in version 6.3.
Even with responsive rendering we are still loosing the customized mobile components, awesome mobile navigation and the mobile menus.

How hard would it be to take the current state of the mobile UI as of version 6.2.7 and create an extension for it in 6.3?

I would not mind getting involved in this process; but would need some guidance...

Any help would be greatly appreciated:)

Regards
Rainer

Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

06 Aug 2018, 16:52

I am not going to lie it would probably be a significant amount of code and work. What I would suggest is that you create a GitHub project and try and fork the mobile stuff as a standalone jar something like "primefaces-mobile-6.2.jar" something users can just include.

If you get it all working we can talk about moving that project under the PrimeFaces Extensions umbrella.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

06 Aug 2018, 23:40

+1 melloware

The source is still there in the github tag, you can just get it ;)

But IMO it would be better if you would put the hours into "making PF more responsive", instead of forking the old code.
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

07 Aug 2018, 00:51

Agreed 100% @tandraschko I think some users just have a lot of mobile code deployed they want to keep running without an extensive rewrite or regression testing.

I luckily don't use Mobile so I have no time to devote trying to fork this.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

pimetix
Posts: 6
Joined: 29 May 2015, 07:27

07 Aug 2018, 14:24

Thanks for the feedback!

I will try and give that a go.

djmj
Posts: 400
Joined: 16 Dec 2011, 01:23

09 Sep 2019, 01:34

@pimetix

Same problem for us and we invested a lot of time in our mobile app and a dedicated mobile version was the best fit for us.

Mobile Fork

We are still stuck at version 6.1.18 and if you are interested we could work together on a fork extracting the mobile components?
Primefaces: 11.0.0 RC2
Primefaces-Extension: 11.0.0
PrimeFaces-Mobile: 11.0
OmniFaces: 3.11
Jsf: Mojarra 2.3.8
Server: Glassfish 5.1.0

djmj
Posts: 400
Joined: 16 Dec 2011, 01:23

06 Oct 2021, 23:33

@pimetix

Have a look at my migrated fork: https://github.com/djmj/primefaces-mobile.

I extracted the mobile components from PrimeFaces 6.1 and adapted them to PrimeFaces 7.0 as a separate library. I did testing with mobile showcase and will test it in our own application and production the next days.

Better late then never and it was always on my TODO list but i had to make our application stable and follow customer demands first. Now having more time i finally did a fork and after tests i can finally update our application to primefaces version higher then 6
Primefaces: 11.0.0 RC2
Primefaces-Extension: 11.0.0
PrimeFaces-Mobile: 11.0
OmniFaces: 3.11
Jsf: Mojarra 2.3.8
Server: Glassfish 5.1.0

Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

08 Oct 2021, 14:16

Nice work @djmj !
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

djmj
Posts: 400
Joined: 16 Dec 2011, 01:23

22 Oct 2021, 02:45

Thanks @Melloware

Version 8 and 10 are now also released and tested in our application. I was very lucky jquery mobile 1.5 was almost finished (RC) and compatible with jquery 3 and so all primefaces widgets are also compatible.

Showcase

The old mobile showcase is also updated and available at:

https://github.com/djmj/primefaces-mobile-showcase
https://admin.deloma.de/primefaces-mobile-showcase

When PrimeFaces 11 will drop, i will update it to 11.
Primefaces: 11.0.0 RC2
Primefaces-Extension: 11.0.0
PrimeFaces-Mobile: 11.0
OmniFaces: 3.11
Jsf: Mojarra 2.3.8
Server: Glassfish 5.1.0

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests