forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r709418 - /forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/impl/XMLStructurerAxiom.java
Date Fri, 31 Oct 2008 13:59:02 GMT
Author: thorsten
Date: Fri Oct 31 06:59:02 2008
New Revision: 709418

URL: http://svn.apache.org/viewvc?rev=709418&view=rev
Log:
Fixing bug regarding panels

Modified:
    forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/impl/XMLStructurerAxiom.java

Modified: forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/impl/XMLStructurerAxiom.java
URL: http://svn.apache.org/viewvc/forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/impl/XMLStructurerAxiom.java?rev=709418&r1=709417&r2=709418&view=diff
==============================================================================
--- forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/impl/XMLStructurerAxiom.java
(original)
+++ forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/impl/XMLStructurerAxiom.java
Fri Oct 31 06:59:02 2008
@@ -199,6 +199,8 @@
     } else if (component.getQName().equals(
         qIt(Captions.NS, Captions.HOOK_ELEMENT))) {
       processHook(component, pathNode);
+    } else{
+      nextChildren(component, pathNode);
     }
   }
 
@@ -223,6 +225,12 @@
 
     }
     pathNode.addChild(element);
+    nextChildren(component, element);
+  }
+
+  private void nextChildren(OMElement component, OMElement element)
+      throws DispatcherException, XMLStreamException, IOException,
+      JaxenException {
     Iterator<OMNode> childs = component.getChildren();
     while (childs.hasNext()) {
       OMNode node = (OMNode) childs.next();



Mime
View raw message