webwork/src/main/webwork/view/taglib URLTag.java,1.10,1.11
[email protected] Sat, 29 Jun 2002 18:35:43 -0700
| Newsgroups | gmane.comp.java.webwork.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/webwork/webwork/src/main/webwork/view/taglib
In directory usw-pr-cvs1:/tmp/cvs-serv17729
Modified Files:
URLTag.java
Log Message:
added support for classes that have editors with getAsText()
Index: URLTag.java
===================================================================
RCS file: /cvsroot/webwork/webwork/src/main/webwork/view/taglib/URLTag.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- URLTag.java 23 Jun 2002 23:54:34 -0000 1.10
+++ URLTag.java 30 Jun 2002 01:35:41 -0000 1.11
@@ -19,6 +19,7 @@
import java.util.Map;
import webwork.util.TextUtil;
+import webwork.util.BeanUtil;
/**
* This tag is used to create a URL. You can use the "param" tag inside the body to provide
@@ -56,7 +57,7 @@
if (value == null)
params.remove(name);
else {
- params.put(name, value.toString());
+ params.put(name, BeanUtil.toStringValue(value));
}
}
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
No, I will not fix your computer.
http://thinkgeek.com/sf