empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doeb...@apache.org
Subject svn commit: r696208 - /incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/tags/EmpireTagSupport.java
Date Wed, 17 Sep 2008 09:05:19 GMT
Author: doebele
Date: Wed Sep 17 02:05:18 2008
New Revision: 696208

URL: http://svn.apache.org/viewvc?rev=696208&view=rev
Log:
EMPIREDB-14

Modified:
    incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/tags/EmpireTagSupport.java

Modified: incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/tags/EmpireTagSupport.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/tags/EmpireTagSupport.java?rev=696208&r1=696207&r2=696208&view=diff
==============================================================================
--- incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/tags/EmpireTagSupport.java
(original)
+++ incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/tags/EmpireTagSupport.java
Wed Sep 17 02:05:18 2008
@@ -379,8 +379,9 @@
         // find Method separator
         int i = action.indexOf('!');
         if (i < 0)
-        {
-            log.warn("No link action method for for action " + action + " has been supplied!
Page = " + getPageName());
+        {   // Check for Javascript
+            if (action.startsWith("javascript:")==false)
+                log.warn("No link action method for for action " + action + " has been supplied!
Page = " + getPageName());
         }
         else if (i==0)
         {   // Only Method name given



Mime
View raw message