click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r800489 - in /incubator/click/trunk/click: documentation/docs/roadmap-changes.html framework/src/org/apache/click/service/XmlConfigService.java
Date Mon, 03 Aug 2009 18:40:45 GMT
Author: sabob
Date: Mon Aug  3 18:40:45 2009
New Revision: 800489

URL: http://svn.apache.org/viewvc?rev=800489&view=rev
Log:
fixed bug where pages in default package was not loaded. CLK-575

Modified:
    incubator/click/trunk/click/documentation/docs/roadmap-changes.html
    incubator/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java

Modified: incubator/click/trunk/click/documentation/docs/roadmap-changes.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/documentation/docs/roadmap-changes.html?rev=800489&r1=800488&r2=800489&view=diff
==============================================================================
--- incubator/click/trunk/click/documentation/docs/roadmap-changes.html (original)
+++ incubator/click/trunk/click/documentation/docs/roadmap-changes.html Mon Aug  3 18:40:45
2009
@@ -413,6 +413,11 @@
           [<a target='_blank' href="https://issues.apache.org/jira/browse/CLK-574">574</a>].
       </li>
       <li class="change">
+          Fixed bug where pages in the default package was not loaded.
+          This issue was raised by Thiago Senna
+          [<a target='_blank' href="https://issues.apache.org/jira/browse/CLK-575">575</a>].
+      </li>
+      <li class="change">
           Update Velocity library to version 1.6.2.
       </li>
       <li class="change">

Modified: incubator/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java?rev=800489&r1=800488&r2=800489&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java
(original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java
Mon Aug  3 18:40:45 2009
@@ -783,9 +783,13 @@
         // pagePath='/pages/edit-customer.htm'
         // pagesPackage='org.apache.click'
 
-        // Add period at end.
-        // packageName = 'org.apache.click.'
-        String packageName = pagesPackage + ".";
+        String packageName = "";
+        if (StringUtils.isNotBlank(pagesPackage)) {
+            // Append period after package
+            // packageName = 'org.apache.click.'
+            packageName = pagesPackage + ".";
+        }
+
         String className = "";
 
         // Strip off extension.



Mime
View raw message