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/21 22:42:56 UTC

svn commit: r697605 - /incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/tags/DataValueTag.java

Author: doebele
Date: Sun Sep 21 13:42:56 2008
New Revision: 697605

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

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

Modified: incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/tags/DataValueTag.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/tags/DataValueTag.java?rev=697605&r1=697604&r2=697605&view=diff
==============================================================================
--- incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/tags/DataValueTag.java (original)
+++ incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/tags/DataValueTag.java Sun Sep 21 13:42:56 2008
@@ -117,7 +117,8 @@
             comp.setAction(action);
             comp.setAlt(getItemValue(alt));
             comp.setAnchorClass(anchorClass);
-            comp.setParam(str(param, getActionItemPropertyName()), getItemValue(item));
+            if (action.startsWith("javascript:")==false)
+                comp.setParam(str(param, getActionItemPropertyName()), getItemValue(item));
         }
         
         // Common UI