myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r1071090 - /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/reference/PartialReloadController.java
Date Tue, 15 Feb 2011 22:06:49 GMT
Author: bommel
Date: Tue Feb 15 22:06:49 2011
New Revision: 1071090

URL: http://svn.apache.org/viewvc?rev=1071090&view=rev
Log:
fixed partial example

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/reference/PartialReloadController.java

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/reference/PartialReloadController.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/reference/PartialReloadController.java?rev=1071090&r1=1071089&r2=1071090&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/reference/PartialReloadController.java
(original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/reference/PartialReloadController.java
Tue Feb 15 22:06:49 2011
@@ -62,18 +62,18 @@ public class PartialReloadController {
 
     // in case of both the select controll is not proccessed during lifecycle
     // we need to get the value from the request params
-    navigateAction = (String) facesContext.getExternalContext().getRequestParameterMap().get("page:navSelect");
+    navigateAction = (String) facesContext.getExternalContext().getRequestParameterMap().get("page:content:navSelect");
 
     LOG.info("navigateAction = \"" + navigateAction + "\"");
     if (navigateAction == null) {
       return logAndNavigate(null);
     } else if ("parent".equals(navigateAction)) {
       navigateAction = null;
-      AjaxUtils.addAjaxComponent(facesContext, "page:parent");
+      AjaxUtils.addAjaxComponent(facesContext, "page:content:parent");
       return logAndNavigate(null);
     } else if ("both".equals(navigateAction)) {
-      AjaxUtils.addAjaxComponent(facesContext, "page:left");
-      AjaxUtils.addAjaxComponent(facesContext, "page:right");
+      AjaxUtils.addAjaxComponent(facesContext, "page:content:left");
+      AjaxUtils.addAjaxComponent(facesContext, "page:content:right");
       navigateAction = null;
       return logAndNavigate(null);
     } else if ("prev".equals(navigateAction)) {



Mime
View raw message