You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by do...@apache.org on 2008/09/16 12:43:37 UTC

svn commit: r695807 - /incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/components/DataValueComponent.java

Author: doebele
Date: Tue Sep 16 03:43:36 2008
New Revision: 695807

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

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

Modified: incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/components/DataValueComponent.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/components/DataValueComponent.java?rev=695807&r1=695806&r2=695807&view=diff
==============================================================================
--- incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/components/DataValueComponent.java (original)
+++ incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/components/DataValueComponent.java Tue Sep 16 03:43:36 2008
@@ -51,6 +51,10 @@
     
     public String getURL(String actionName)
     {
+        // JAVASCRIPT ?
+        if (actionName.startsWith("javascript:"))
+            return actionName;
+        
         String namespace = null;
         String method = null;
         String scheme = null;