dev@javaserverfaces.java.net

RE: is partial page rendering via jsf2/templating/ajax possible

From: Manfred Riem <mriem_at_manorrock.org>
Date: Tue, 18 Oct 2011 12:12:03 -0500

On which ones does it work and on which ones it does not?

-----Original Message-----
From: Walker, Robert [mailto:Robert.Walker_at_VerizonWireless.com]
Sent: Tuesday, October 18, 2011 12:05 PM
To: 'dev_at_javaserverfaces.java.net'
Subject: RE: is partial page rendering via jsf2/templating/ajax possible

Mojarra 2.1.2 with glassfish 3.1, but it does happen on other app servers
like jboss6, and also tomcat6,7

I am starting to wondering if its possibly BalusC states it is but did not
mention how :-(

http://stackoverflow.com/questions/7746221/how-to-do-partial-page-rendering-
center-content-with-jsf2-templating-via-ajax

its killing me!!


-----Original Message-----
From: Manfred Riem [mailto:mriem_at_manorrock.org]
Sent: Tuesday, October 18, 2011 12:59 PM
To: dev_at_javaserverfaces.java.net
Subject: RE: is partial page rendering via jsf2/templating/ajax possible

Hi Robert,

Which version of JSF are you using?

Manfred

-----Original Message-----
From: robert.walker_at_verizonwireless.com
[mailto:robert.walker_at_verizonwireless.com]
Sent: Tuesday, October 18, 2011 11:50 AM
To: dev_at_javaserverfaces.java.net
Subject: is partial page rendering via jsf2/templating/ajax possible

Hi all, I have been trying for a few weeks to get partial page rendering of
a center content (not a whole page refresh) when clicking links on the left
menu/navigation in a uicomposition.

David Geary (coauthor of Core JSF 3rd edition) came to train a group here at
my work and it has stumped him, he suspects a bug but also mentiond emails
about an issue of ajax limitations in updating/rendering.


I have gotten partial page refresh of center content to happen via ajax when
clicking left navigation links, but if that center content in turns contains
a h:form, and the for example the h:form has a h:commandLink, clicking it
the first time reveals the javax.faces.ViewState=xyz param is not being sent
to the server, so apparently jsf does not know about this view. A second
click works because then the javax.faces.ViewState has been established.

I can provide a simple example is anyone is interested, or maybe I need go
over to the issues mailing list? Just joined this mailing list so I
appoligize if this is not appropiate to post.

thanks



-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1831 / Virus Database: 2092/4559 - Release Date: 10/18/11




-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1831 / Virus Database: 2092/4559 - Release Date: 10/18/11


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1831 / Virus Database: 2092/4559 - Release Date: 10/18/11