Archive | Primefaces RSS feed for this section

loginutente-jsf-primefaces

10 Mar

https://www.youtube.com/watch?v=2xAJcA8adDE

 

Advertisements

BeanValidationtoHTML

13 May

BeanValidation to HTML

http://blog.primefaces.org/?p=3109

 

responsive_renderkit_primefaces_mobile_consigli_da_smith

27 Mar

http://forum.primefaces.org/viewtopic.php?f=3&t=16328

 

 http://forum.primefaces.org/viewtopic.php?f=8&t=19887


 

filter fpr detect device and redirect to mobile pages

 

http://forum.primefaces.org/viewtopic.php?f=8&t=35657

replace the following:

1. viewhandler
2. @sessionscoped @postconstruct

with the following:

servlet/http filter that uses

HttpServletRequest req = (HttpServletRequest) context.getExternalContext().getRequest();
String userAgent = req.getHeader("user-agent");
String accept = req.getHeader("Accept");

if (userAgent != null && accept != null) {
UserAgentInfo agent = new UserAgentInfo(userAgent, accept);
if (agent.isMobileDevice()) {
return “PRIMEFACES_MOBILE”;
}
}

 

and

FacesContext.getCurrentInstance().getExternalContext().redirect("indexmobile.xhtml");

 


 

read the following

http://forum.primefaces.org/viewtopic.php?f=8&t=35657

 

and read that entire
blog post?

http://blog.primefaces.org/?p=3063

> a for desktop version
> a for mobile version
>
> and how you detect the device and user agent for forward at specific
> version of web jsf application ( desktop or mobile version) ?
>

searching google for

site:forum.primefaces.org mobile device
site:forum.primefaces.org mobile desktop

I found the following:

Mobile Device
http://forum.primefaces.org/viewtopic.php?f=8&t=19887

Desktop/mobile application problem
http://forum.primefaces.org/viewtopic.php?f=8&t=35657

read those [entire] forum topics

————-

 

http://www.hand-interactive.com/resources/detect-mobile-java.htm

http://stackoverflow.com/questions/15346006/detect-mobile-devices-from-user-agent-string

http://code.google.com/p/mobileesp/source/browse/Java/UAgentInfo.java 

 

Standard way to detect mobile browsers in a web application based on the http request

http://stackoverflow.com/questions/15346006/detect-mobile-devices-from-user-agent-string

http://stackoverflow.com/questions/142273/standard-way-to-detect-mobile-browsers-in-a-web-application-based-on-the-http-re

 

————

http://blog.mobileesp.com/
 
—————————-

vedere 3 modi di impostare il renderkit a primefacesmobile

 
http://forum.primefaces.org/viewtopic.php?f=3&t=16328
 
 
 

primefaces-datatable-lazy-loading-with-pagination-filtering-and-sorting-using-jpa-criteria-viewscoped

27 Mar

from:

http://www.javacodegeeks.com/2014/01/primefaces-datatable-lazy-loading-with-pagination-filtering-and-sorting-using-jpa-criteria-viewscoped.html

http://www.javacodegeeks.com/2013/11/using-jsf-2-2-features-to-develop-ajax-scrollable-lazy-loading-data-table.html

Primefaces-SelectOneMenu

17 Jan

http://forum.primefaces.org/viewtopic.php?f=3&t=24241

 

 

http://santiagotapiay.blogspot.it/search/label/primefaces

13 Nov

http://santiagotapiay.blogspot.it/search/label/primefaces

http://santiagotapiay.blogspot.it/2011/06/jsf-spring-jpahibernate-integration.html

Full-Web-Application-Tomcat-JSF-Primefaces-JPA-Hibernate

10 Oct

http://www.javacodegeeks.com/2012/07/full-web-application-tomcat-jsf.html