PrimeFaces Mobile problem on Netbeans 7.0.1

UI Components for JSF
Post Reply
emres
Posts: 2
Joined: 11 Oct 2011, 21:11

11 Oct 2011, 21:50

Hi,
I have some problems about PrimeFaces Mobile. I just started learn PrimeFaces and JSF. I looked mobile showcase on primefaces website and I did try basic primefaces mobile sample (I created project and i created another .xhtml file) but i didn't succeed to run. Because, when i try use start with "<pm:...>" tag, Netbeans was red undilerline this keyword. After when i open code completion i just saw start with "<ppctt:application>", "<ppctt:navBarControl>", "<ppctt:rowGroup>", "<ppctt:rowIthem>", "<ppctt:switch>", "<ppctt:tableView>" and "<ppctt:view>" tags from "http://primefaces.prime.com.tr/touch".

I succeeded to create new JSF project with PrimeFaces library and i can using normal PrimeFaces tags and JSF tags. But i have problem with mobile components.

I'm using Netbeans 7.0.1, JSF 2.0 and PrimeFaces 2.2.1 (bundeled with Netbeans).

thanks a lot.

robert.m
Posts: 226
Joined: 07 Dec 2010, 22:52
Location: Salzburg/Austria

11 Oct 2011, 23:14

The mobile showcase works with PrimeFaces 3.0. PrimeFaces Mobile was called "TouchFaces" in 2.2.1. Have a look at the user's guide for some examples.
http://primefaces.googlecode.com/files/ ... de_2_2.pdf (page 393)

emres
Posts: 2
Joined: 11 Oct 2011, 21:11

12 Oct 2011, 02:27

Thanx for answer. but i have another question. i just tried to add primefaces M3 jar file to my project. first i removed 2.2.1 jaf files from my project's classpaht and after that i added new jar files but it doesn't work. i added " "xmlns:pm="http://primefaces.org/mobile" " this namespace in my xhtml file but i have this error message. "No library found for this namespace". i think that i need to change another configuration params. i looked primefaces web side but they said something like that "add jar file to your classpath and define namespace".

where am i doing wrong? can you help me pls?

robert.m
Posts: 226
Joined: 07 Dec 2010, 22:52
Location: Salzburg/Austria

12 Oct 2011, 15:40

You could try to clean your project, but I'm not sure if this is the source of your problem

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 72 guests