View of mobile kit missing in primefaces 5

UI Components for JSF
Post Reply
finkmans
Posts: 23
Joined: 26 Dec 2013, 23:58

30 Jan 2015, 21:38

What happend to to view component of primefaces mobile with primefaces 5? Before i had integrated the primefaces 4.0 and primefaces mobile 0.9.4 to my application and used the view component of the mobile kit and everything worked. Now i hace changed to primefaces 5.0 and i get the message "the component library http://primefaces.org/mobile does not contain the component view". But the mobile kit is implemented as before. What do i have to change?
PrimeFaces version: 5.0
JSF implementation name/version: Mojarra 2.2
Server name/version: Apache Tomcat 7.0.41.0

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

31 Jan 2015, 13:20

start with trying to just remove the 'pm:view'

finkmans
Posts: 23
Joined: 26 Dec 2013, 23:58

02 Feb 2015, 14:40

That would not work. I have several views in the page.
PrimeFaces version: 5.0
JSF implementation name/version: Mojarra 2.2
Server name/version: Apache Tomcat 7.0.41.0

finkmans
Posts: 23
Joined: 26 Dec 2013, 23:58

02 Feb 2015, 17:38

I solved it. In the primefaces core are now all mobile components implemented. Integrating primefaces mobile by xmlns:pm="http://primefaces.org/mobile" refencences to the core instead of the primefaces mobile library. There the view component is missing. Now i have to use a page element where in the old cersion was a view element. The wraping page element of all views/pages must be removed.
PrimeFaces version: 5.0
JSF implementation name/version: Mojarra 2.2
Server name/version: Apache Tomcat 7.0.41.0

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 15 guests