cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: rev 54527 - cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/renderer/aspect/impl
Date Mon, 11 Oct 2004 09:49:58 GMT
Author: cziegeler
Date: Mon Oct 11 02:49:57 2004
New Revision: 54527

Modified:
   cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/renderer/aspect/impl/TabContentAspect.java
Log:
Fix bug 29996

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/renderer/aspect/impl/TabContentAspect.java
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/renderer/aspect/impl/TabContentAspect.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/renderer/aspect/impl/TabContentAspect.java
Mon Oct 11 02:49:57 2004
@@ -65,7 +65,7 @@
  * @author <a href="mailto:cziegeler@s-und-n.de">Carsten Ziegeler</a>
  * @author <a href="mailto:volker.schmitt@basf-it-services.com">Volker Schmitt</a>
  * 
- * @version CVS $Id: TabContentAspect.java,v 1.15 2004/04/29 07:00:49 cziegeler Exp $
+ * @version CVS $Id$
  */
 public class TabContentAspect 
     extends CompositeContentAspect {
@@ -103,10 +103,10 @@
                 }
                 if (j == selected) {
                     attributes.addCDATAAttribute("selected", "true");
-                } else {
-                    ChangeAspectDataEvent event = new ChangeAspectDataEvent(tabLayout, config.aspectName,
new Integer(j));
-                    attributes.addCDATAAttribute("parameter", service.getComponentManager().getLinkService().getLinkURI(event));
                 }
+                ChangeAspectDataEvent event = new ChangeAspectDataEvent(tabLayout, config.aspectName,
new Integer(j)); 
+                attributes.addCDATAAttribute("parameter", service.getComponentManager().getLinkService().getLinkURI(event));

+
                 // add parameters
                 final Iterator iter = tab.getParameters().entrySet().iterator();
                 while ( iter.hasNext() ) {

Mime
View raw message