incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r419376 - in /incubator/adffaces/trunk/adf-faces/adf-faces-api/src: main/java-templates/org/apache/myfaces/adf/component/ test/java/org/apache/myfaces/adf/component/core/layout/
Date Wed, 05 Jul 2006 23:04:36 GMT
Author: awiner
Date: Wed Jul  5 16:04:35 2006
New Revision: 419376

URL: http://svn.apache.org/viewvc?rev=419376&view=rev
Log:
ADFFACES-41: Call decode() for UIXPanels

Modified:
    incubator/adffaces/trunk/adf-faces/adf-faces-api/src/main/java-templates/org/apache/myfaces/adf/component/UIXOutputTemplate.java
    incubator/adffaces/trunk/adf-faces/adf-faces-api/src/main/java-templates/org/apache/myfaces/adf/component/UIXPanelTemplate.java
    incubator/adffaces/trunk/adf-faces/adf-faces-api/src/test/java/org/apache/myfaces/adf/component/core/layout/UIXPanelTestCase.java

Modified: incubator/adffaces/trunk/adf-faces/adf-faces-api/src/main/java-templates/org/apache/myfaces/adf/component/UIXOutputTemplate.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/adf-faces/adf-faces-api/src/main/java-templates/org/apache/myfaces/adf/component/UIXOutputTemplate.java?rev=419376&r1=419375&r2=419376&view=diff
==============================================================================
--- incubator/adffaces/trunk/adf-faces/adf-faces-api/src/main/java-templates/org/apache/myfaces/adf/component/UIXOutputTemplate.java
(original)
+++ incubator/adffaces/trunk/adf-faces/adf-faces-api/src/main/java-templates/org/apache/myfaces/adf/component/UIXOutputTemplate.java
Wed Jul  5 16:04:35 2006
@@ -1,31 +1,31 @@
-/*
- * Copyright  2003-2006 The Apache Software Foundation.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.myfaces.adf.component;
-import javax.faces.context.FacesContext;
-
-
-/**
- * Base class for the components with no decode behaviour.
- * <p>
- * @author The Oracle ADF Faces Team
- */
-abstract public class UIXOutputTemplate extends UIXValue
-{
-  void __rendererDecode(FacesContext context)
-  {
-    // do nothing. we have no behaviour
-  }
+/*
+ * Copyright  2003-2006 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.myfaces.adf.component;
+import javax.faces.context.FacesContext;
+
+
+/**
+ * Base class for the components with no decode behaviour.
+ * <p>
+ * @author The Oracle ADF Faces Team
+ */
+abstract public class UIXOutputTemplate extends UIXValue
+{
+  void __rendererDecode(FacesContext context)
+  {
+    // do nothing. we have no behaviour
+  }
 }

Modified: incubator/adffaces/trunk/adf-faces/adf-faces-api/src/main/java-templates/org/apache/myfaces/adf/component/UIXPanelTemplate.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/adf-faces/adf-faces-api/src/main/java-templates/org/apache/myfaces/adf/component/UIXPanelTemplate.java?rev=419376&r1=419375&r2=419376&view=diff
==============================================================================
--- incubator/adffaces/trunk/adf-faces/adf-faces-api/src/main/java-templates/org/apache/myfaces/adf/component/UIXPanelTemplate.java
(original)
+++ incubator/adffaces/trunk/adf-faces/adf-faces-api/src/main/java-templates/org/apache/myfaces/adf/component/UIXPanelTemplate.java
Wed Jul  5 16:04:35 2006
@@ -1,31 +1,34 @@
-/*
- * Copyright  2003-2006 The Apache Software Foundation.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.myfaces.adf.component;
-import javax.faces.context.FacesContext;
-
-
-/**
- * Base class for the components with no decode behaviour.
- * <p>
- * @author The Oracle ADF Faces Team
- */
-abstract public class UIXPanelTemplate extends UIXComponentBase
-{
-  void __rendererDecode(FacesContext context)
-  {
-    // do nothing. we have no behaviour
-  }
+/*
+ * Copyright  2003-2006 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.myfaces.adf.component;
+import javax.faces.context.FacesContext;
+
+
+/**
+ * Base class for the components with no decode behaviour.
+ * <p>
+ * @author The Oracle ADF Faces Team
+ */
+abstract public class UIXPanelTemplate extends UIXComponentBase
+{
+  /* See ADFFACES-42: switching decode on and off should
+   * not be done up here.
+  void __rendererDecode(FacesContext context)
+  {
+    // do nothing. we have no behaviour
+  }
+  */
 }

Modified: incubator/adffaces/trunk/adf-faces/adf-faces-api/src/test/java/org/apache/myfaces/adf/component/core/layout/UIXPanelTestCase.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/adf-faces/adf-faces-api/src/test/java/org/apache/myfaces/adf/component/core/layout/UIXPanelTestCase.java?rev=419376&r1=419375&r2=419376&view=diff
==============================================================================
--- incubator/adffaces/trunk/adf-faces/adf-faces-api/src/test/java/org/apache/myfaces/adf/component/core/layout/UIXPanelTestCase.java
(original)
+++ incubator/adffaces/trunk/adf-faces/adf-faces-api/src/test/java/org/apache/myfaces/adf/component/core/layout/UIXPanelTestCase.java
Wed Jul  5 16:04:35 2006
@@ -46,10 +46,11 @@
   public void testApplyRequestValues()
   {
     UIXPanel component = createTestComponent();
-    // for decode we don't use renderers:
-    setRendererUsed(false);
+    // From fixing ADFFACES-42, we now run decode()
+
+    //    setRendererUsed(false);
     doTestApplyRequestValues(component);
-    setRendererUsed(true);
+    //    setRendererUsed(true);
 
     component = createTestComponent();
     component.setRendered(false);



Mime
View raw message