webwork/src/main/webwork/view/taglib/ui TabbedPaneTag.java,1.2,1.3
[email protected] Sat, 29 Jun 2002 18:31:00 -0700
| Newsgroups | gmane.comp.java.webwork.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/webwork/webwork/src/main/webwork/view/taglib/ui
In directory usw-pr-cvs1:/tmp/cvs-serv16298
Modified Files:
TabbedPaneTag.java
Log Message:
added support for classes that have editors with getAsText()
Index: TabbedPaneTag.java
===================================================================
RCS file: /cvsroot/webwork/webwork/src/main/webwork/view/taglib/ui/TabbedPaneTag.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- TabbedPaneTag.java 30 May 2002 22:56:08 -0000 1.2
+++ TabbedPaneTag.java 30 Jun 2002 01:30:58 -0000 1.3
@@ -8,6 +8,7 @@
package webwork.view.taglib.ui;
import webwork.util.TabbedPane;
+import webwork.util.BeanUtil;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspTagException;
@@ -50,7 +51,7 @@
public String getSelectedUrl()
{
Map.Entry me = (Map.Entry) this.getContent().elementAt(this.getSelectedIndex());
- String str = me.getValue().toString();
+ String str = BeanUtil.toStringValue(me.getValue());
return str;
}
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
No, I will not fix your computer.
http://thinkgeek.com/sf