You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2008/03/18 18:50:07 UTC
svn commit: r638470 -
/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java
Author: bommel
Date: Tue Mar 18 10:50:03 2008
New Revision: 638470
URL: http://svn.apache.org/viewvc?rev=638470&view=rev
Log:
(TOBAGO-637) Generate Components, JSP Tags from annotations
added invokeOnComponent for tobago component
Modified:
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java?rev=638470&r1=638469&r2=638470&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java Tue Mar 18 10:50:03 2008
@@ -30,6 +30,7 @@
import org.apache.myfaces.tobago.util.FastStringWriter;
import org.apache.myfaces.tobago.util.RequestUtils;
import org.apache.myfaces.tobago.util.ResponseUtils;
+import org.apache.myfaces.tobago.compat.FacesUtils;
import javax.faces.FactoryFinder;
import javax.faces.application.StateManager;
@@ -131,7 +132,8 @@
try {
// TODO: invokeOnComponent()
- ComponentUtil.invokeOnComponent(facesContext, clientId, (UIComponent) component, callback);
+ FacesUtils.invokeOnComponent(facesContext, facesContext.getViewRoot(), clientId, callback);
+ //ComponentUtil.invokeOnComponent(facesContext, clientId, (UIComponent) component, callback);
} catch (EmptyStackException e) {
LOG.error(" content = \"" + content.toString() + "\"");
throw e;