Multi page transitions

UI Components for JSF
Post Reply
MarkusSchulte
Posts: 13
Joined: 28 Jun 2012, 09:52

29 Oct 2014, 16:40

Hi,

I want to have transitions working between Multi Pages. Unfortunately I cannot find an example in pf-showcase. Could please add an example?

In my special case, I have got transitions working for

Code: Select all

<p:button outcome="pm:second" value="Go Button" />
(yes, I added faces-config.xml -> application -> navigation-handler -> org.primefaces.mobile.application.MobileNavigationHandler)

but I don't get transitions working for Multi Pages. It seems as if ?lazyLoad=true should be needed (see http://forum.primefaces.org/viewtopic.php?f=8&t=30606, but Primefaces4), but

Code: Select all

<p:commandButton value="Go with Lazy Load" action="pm:start-match?lazyLoad=true" />
does not work.

I am using primefaces 5.0.11.
GlassFish 3.1.2, PrimeFaces 3.4.2

soekris
Posts: 76
Joined: 29 Apr 2013, 16:54
Location: Barcelona

29 Oct 2014, 21:41

this does not help you ? http://www.primefaces.org/showcase/mobi ... ions.xhtml

Hope it helps
Primefaces 5.3.X / 6.X
NetBeans 8.1
WildFly 10
Linux Mint & freeBSD

MarkusSchulte
Posts: 13
Joined: 28 Jun 2012, 09:52

30 Oct 2014, 11:22

Unfortunately the "Transtition"-showcase does not help, but thank you. The showcase demonstrates transitions without actually re-navigating to another page.
GlassFish 3.1.2, PrimeFaces 3.4.2

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

07 Nov 2014, 23:23

Why not re-navigating? Afaics it is navigating to another page

jobor
Posts: 33
Joined: 19 Dec 2011, 22:34
Location: the Netherlands

07 Nov 2014, 23:49

If you have a.xhtml and b.xhtml and you open b.xhtml from a.xhtml then transition effects are not there because a new page is rendered.
I may be wrong but transition effects are only available on a single HTML page with multiple pm:page elements and pm: navigation between those pm:page elements.
With regards,
Johan Borchers

Mac OS X 10.15.7
NetBeans 12.3
OpenJDK Zulu11.37
JSF Mojarra 2.3.14
PrimeFaces 10.0.0
Tomcat 9.0.43
MySQL 5.6.x

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

08 Nov 2014, 22:42

Well, I thought, because of the subject, you actually meant multiple pages in one documwnt. Obviously you did not, you meant transitions between separate pages. Sorry, no idea if that will work. Maybe if you do an ajax replace of the full document with e.g. update='@all'

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 42 guests