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 <http://grepcode.com/file/repo1.maven.org/maven2/com.sun.faces/jsf-api/2.0.4-b09/javax/faces/context/FacesContext.java#FacesContext.getPartialViewContext%28%29>().getRenderIds <http://grepcode.com/file/repo1.maven.org/maven2/com.sun.faces/jsf-api/2.0.4-b09/javax/faces/context/PartialViewContext.java#PartialViewContext.getRenderIds%28%29>().add <http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b27/java/util/Collection.java#Collection.add%28java.lang.String%29>("myPanel");
2014-09-05 8:34 GMT+02:00 Karl Kildén <karl.kil...@gmail.com>: > 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 dependent on frameworks as hinted in my > first email. > > > On 5 September 2014 00:33, Howard W. Smith, Jr. <smithh032...@gmail.com> > wrote: > > > 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 OmniFaces library? > > > > > > > > On Thu, Sep 4, 2014 at 4:30 PM, Karl Kildén <karl.kil...@gmail.com> > wrote: > > > > > Primefaces offers several ways to do client side stuff from the server. > > For > > > examples see here: > > > http://www.primefaces.org/showcase/ui/misc/requestContext.xhtml > > > > > > While I use primefaces I prefer to keep my hands out of the cookie jar > > with > > > stuff like this. I mean a datepicker can be replaced with a js widget > in > > 20 > > > minutes if you use a composite component that wraps primefaces date > > picker. > > > However this stuff would be painful to replace. > > > > > > So my question is, could this be done in some way with JSF or > > myfaces-impl? > > > > > > cheers > > > > > >