Questions tagged [primefaces-mobile]

PrimeFaces Mobile is a UI kit to implement JSF pages that are optimized for mobile devices with a native look and feel.

Link : http://www.primefaces.org/showcase-labs/mobile/index.jsf

PrimeFaces Mobile is a UI kit to implement JSF pages that are optimized for mobile devices with a native look and feel.

Advantages:

1) Mobile RenderKit for standard JSF and core PrimeFaces components.

2) Mobile JSF components.

3) Same backend model for desktop web and mobile web.

4) Wide range of platform support.

5) Ajax features to bring native application experience.

6) Nothing required to install on device. Powered by jQuery Mobile

Disadvantages:

1) Slower than native

2) Quirky - jQuery mobile is still beta software, so there is a chances to encounter bugs at the time of development

3) Limited capabilities compared to native

66 questions
8
votes
3 answers

InputText PrimeFaces not applying maxlength

I'm using PrimeFaces 3.4 with PrimeFaces Mobile 0.9.3. I specified maxlength in the inputText attribute, but it is not being rendered across in the HTML. My code:
JackDev
  • 11,003
  • 12
  • 51
  • 68
6
votes
5 answers

Incorrect scale in WebView

I have a website built on top of PrimeFaces. My problem is that the content and the images on the WebView appear larger than on Chrome. What should I do to make rendering on WebView identical to that of Chrome? Scaling does not seem to help because…
mossaab
  • 1,812
  • 4
  • 23
  • 44
5
votes
1 answer

PrimeFaces Mobile requests undefined/undefined.css and undefined/undefined.js, causing JSF1064 warning and 404 error

When I add a to my PrimeFaces Mobile page, then I get the following warning in server log WARNING: JSF1064: Unable to find or serve resource, undefined/undefined.css, from library, primefaces. Jan 11, 2015 3:00:36 PM…
3
votes
0 answers

Primefaces 5 Mobile page prependId

I'm using Primefaces 5 Mobile and trying to make a login page for spring security. Ofcourse for this I set the form containing the username and password input fields to prependId="false". This however did not work. After further investigation I…
Vinc
  • 695
  • 2
  • 10
  • 26
3
votes
0 answers

JSF Single line error: SEVERE: java.lang.NullPointerException

I am getting that error for NO reason. com.sun.faces.context.PartialViewContextImpl$PhaseAwareVisitCallback visit SEVERE: java.lang.NullPointerException Above error printed as complete error log by application server, there is not any stack trace…
Ömer Faruk Almalı
  • 3,792
  • 6
  • 37
  • 63
2
votes
1 answer

Primefaces Mobile ajax update of selectOneMenu fails

I want to create a mobile form using Primefaces 5.2 where one selectOneMenu result updates a second selectOneMenu via Ajax, exactly like the showcase example here: http://www.primefaces.org/showcase/ui/ajax/dropdown.xhtml but then a mobile version.…
mvreijn
  • 2,807
  • 28
  • 40
2
votes
0 answers

Datatable facet header is not displayed using PrimeFaces Mobile

I use inside a PrimeFaces Mobile page a dataTable where I set a header which is not displayed. In the normal page (not mobile) it works like in the documentation described. Example ...
gregor
  • 2,397
  • 2
  • 12
  • 18
2
votes
2 answers

primefaces single project web and mobile

Primefaces supports both web and mobile version. There is some minor difference in coding the two version. Is there anyway to use primefaces for both WEB and MOBILE version? I mean single code base which supports both MOBILE and WEB version using…
yottabrain
  • 2,387
  • 5
  • 23
  • 37
2
votes
2 answers

The prefix "pt" for attribute "pt:data-inset" associated with an element type "p:dataList" is not bound

I have following Primefaces page and controller. Page
Glory to Russia
  • 17,289
  • 56
  • 182
  • 325
2
votes
1 answer

Primefaces Mobile Navigation/Render after submit commandButton

I am new to mobile development and have trouble rendering a pm:page after invoking a method on managed bean. My page has a primefaces overlaypanel with a button to search and a datatable for display the result. The method is invoked correctly but…
gfinotti
  • 613
  • 5
  • 21
2
votes
1 answer

How to lay out buttons in a PrimeFaces Mobile page?

I want to create a mobile web page (based on PrimeFaces Mobile), which looks like this: An image and underneath it - two buttons. I wrote following xhtml page for that:
Glory to Russia
  • 17,289
  • 56
  • 182
  • 325
2
votes
1 answer

Block entire page

When I change the page (page1 to page2) exists some delay and it is possible to click other buttons and these actions go run. So I would like to block the page during the waiting time for loading the following page, how do I? I use jsf2 and…
Marin
  • 1,010
  • 1
  • 10
  • 37
2
votes
1 answer

p:commandLink does NOT work, but p:commandButton does

I'm trying to make a p:commandLink work in a p:dataList in primefaces mobile. In this snippet, the commandButton gets inside the method and redirects to a different view, but the commandLink does not. Why is this?
Catfish
  • 18,876
  • 54
  • 209
  • 353
2
votes
0 answers

Primefaces Mobile calendar looks like primefaces calendar component

I m new at primefaces mobile. I made a simple page and have a few problem about p:calendar. My calendar look like primefaces calendar, not like primefaces mobile. Here is my code:
yigitsk
  • 31
  • 3
2
votes
1 answer

JSF 2.1 PrimeFaces Mobile 0.9.4 Calendar not working

I am trying primefaces mobile Calendar.jsf example using JSF 2.1, PrimeFaces 3.5 and PrimeFaces Mobile 0.9.4.Do I have to provide stylesheet for Calendar by myself or can it be pulled from primefaces. Below is the code I'm using…
FiendFyre
  • 157
  • 3
  • 17
1
2 3 4 5