Re: Decide what to rerender on server side?

2014-09-05 Thread Karl Kildén
Hi Howard, Well they use custom ajax so not sure it would be very easy to understand but eventually I will look at it yes :-) Still interested in hearing some pro input from myfaces guys first Can you link me the feature in omnifaces? I cannot find it. Regarding primefaces I don't want to be to

Re: Decide what to rerender on server side?

2014-09-05 Thread Thomas Andraschko
FacesContext.getCurrentInstance http://grepcode.com/file/repo1.maven.org/maven2/com.sun.faces/jsf-api/2.0.4-b09/javax/faces/context/FacesContext.java#FacesContext.getCurrentInstance%28%29().getPartialViewContext

Re: Decide what to rerender on server side?

2014-09-05 Thread Howard W. Smith, Jr.
http://showcase.omnifaces.org/utils/Ajax click the AjaxBean tab in the Source code panel on the showcase page (see below) import org.omnifaces.util.Ajax; @ManagedBean@RequestScopedpublic class AjaxBean { public void update() { Ajax.update(form:timestamp); } public void

Re: Decide what to rerender on server side?

2014-09-05 Thread Karl Kildén
Thanks guys! 3 On 5 September 2014 12:51, Howard W. Smith, Jr. smithh032...@gmail.com wrote: http://showcase.omnifaces.org/utils/Ajax click the AjaxBean tab in the Source code panel on the showcase page (see below) import org.omnifaces.util.Ajax; @ManagedBean@RequestScopedpublic class

[ANNOUNCE] Enterprise Java Newscast - Episode 21 - August 2014

2014-09-05 Thread Kito Mann
Hello, I am pleased to announce a new episode of the Enterprise Java Newscast on JSFCentral.com. The Enterprise Java Newscast, hosted by Kito D. Mann, Ian Hlavats, and Daniel Hinojosa, is a monthly podcast that covers the latest headlines in the world of Enterprise Java development. In this

NPE in DefaultFaceletFactory._createViewMetadataFacelet from MyFaces 2.2.4 and Karaf 3.0.1

2014-09-05 Thread Paul Spencer
I am getting the following exception when browsing to a JSF page when using MyFaces 2.2.4 and Karaf 3.0.1. No exception is thrown when using MyFaces 2.1.15 and the page displays as expected. The only difference is which version of myfaces-api and myfaces-impl are installed. I suspect

Re: NPE in DefaultFaceletFactory._createViewMetadataFacelet from MyFaces 2.2.4 and Karaf 3.0.1

2014-09-05 Thread Paul Spencer
I enabled TRACE logging to provide more information. Notice the URL starts used to create the facelet. 2014-09-05 19:59:31,889 | TRACE | qtp2017355996-82 | FaceletViewDeclarationLanguage | 638 - org.apache.myfaces.core.impl - 2.2.4 | Initializing 2014-09-05 19:59:31,919 | DEBUG |