cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r109889 - /cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/event/impl/PageLabelEventConverter.java
Date Sun, 05 Dec 2004 16:51:43 GMT
Author: rgoers
Date: Sun Dec  5 08:51:42 2004
New Revision: 109889

URL: http://svn.apache.org/viewcvs?view=rev&rev=109889
Log:
Allow events to be processed on an unnamed page.

Modified:
   cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/event/impl/PageLabelEventConverter.java

Modified: cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/event/impl/PageLabelEventConverter.java
Url: http://svn.apache.org/viewcvs/cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/event/impl/PageLabelEventConverter.java?view=diff&rev=109889&p1=cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/event/impl/PageLabelEventConverter.java&r1=109888&p2=cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/event/impl/PageLabelEventConverter.java&r2=109889
==============================================================================
--- cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/event/impl/PageLabelEventConverter.java
(original)
+++ cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/event/impl/PageLabelEventConverter.java
Sun Dec  5 08:51:42 2004
@@ -104,6 +104,9 @@
     public void start() {
         String label = this.labelManager.setCurrentLabel();
         Map map = this.labelManager.getPageEventMap();
+        if (label == null) {
+            label = "";
+        }
         String encode = label + ENCODE;
         String decode = label + DECODE;
 

Mime
View raw message