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

Re: Decide what to rerender on server side?

2014-09-04 Thread Howard W. Smith, Jr.
Karl, you could look at PrimeFaces requestContext implementation (source code). also, you can maybe ask for something like this to be added as a feature request in MYFACES JIRA. Is there any reason why you prefer not to use PrimeFaces requestContext or the similar feature that is available in