Skip to content

deloma-de/primefaces-mobile

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrimeFaces-Mobile

Description

This project contains legacy mobile optimized components of PrimeFaces which were only supported till Version 6.2. Client side is based on jQuery mobile (demo).

It contained some interesting mobile only UI components and renderer of existing versions and is a great framework to create hybrid applications with AJAX history back functionality like B2B mobile applications used on MDA devices.

Download JAR

Mobile Version PrimeFaces Core
12.0 12.0
11.0 11.0
10.0 10.0
8.0 8.0
7.0 7.0

Showcase

Repository can be found at Showcase Repo

Documention

Mobile is covered in the original PrimeFaces PDF Documentation till Version 6.2.

Components

  • content
  • field
  • footer
  • header
  • inputslider
  • page
  • rangeslider
  • uiswitch deprecated in favor of InputSwitch

There are many mobile optimized renders of existing PrimeFaces component such as SelectOneMenu , DataTable and many more.

Changes

12.0

  • adapted Java classes to PrimeFaces 12.0 changes

11.0

  • adapted Java classes to PrimeFaces 11.0 changes
  • removing build in Font-Awesome resource rendering in HeadRenderer

10.0

  • adapted Java classes to PrimeFaces 10.0 changes
  • hardcoded OverlayPanel javascript position as 'overlay' since showEffect was removed

8.0

  • adapted Java classes to PrimeFaces 8.0 changes
  • set java compilation level to 1.8

7.0

  • set java compilation level to 1.5
  • adapted Java classes to PrimeFaces 7.0 changes
  • migrated Renderer classes to new DOM / CSS of jquery 1.5
  • replaced jquery mobile with version 1.5.0-rc1
  • migrated widgets to new DOM / CSS
  • added font-awesome icon support via CSS

Components

  • Button: added new icon position options: float-left and float-right that replace old options left, right

DOM / CSS changes

  • icon as child span
  • CSS classes
    • ui-li-dividerui-listview-item-divider
    • ui-li-staticui-listview-item-static
    • ui-tabui-tabs-tab
    • ui-btnui-button
    • ui-btn-icon-notextui-button-icon-only
    • ui-btn-leftui-toolbar-header-button-left
    • ui-btn-rightui-toolbar-header-button-right
    • ui-inputui-textinput / ui-searchinput (at text / search / password input)

jQuery

PrimeFaces 7.0 or higher uses jQuery 3+ whereas mobile version till 6.2 were only compatible up to 1.9 so an upgrade to jquery 3 was necessary.

jQuery mobile 1.5 is based on jquery 3. Download mobile.

Build from source

Following plugin is required to build it from source using Maven.

Inofficial fork

This project is an inoffical partial "fork" from legacy PrimeFaces 6.1 extracting mobile components which were removed in PrimeFaces 7.0.

Motivation

At deloma, we use this for our ecommerce enterprise application for the driver of a daily delivery tour with google maps navigation, order editing, user receipt, mobile payment (cashcard, creditcard, paypal, apple pay, android pay, cash) and also for stock inventory managing of our merchant clients.

This hybrid app works very stable in production and its not worth the time to refactor with new responsive versions of the new components with later PrimeFaces releases and finding solutions for browser ajax history back support.

License


Licensed under the Apache License, Version 2.0 (the "License") http://www.apache.org/licenses/LICENSE-2.0