History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WW-503
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Jason Carreira
Reporter: Lars Fischer
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
WebWork

Fix tag libraries

Created: 17/Mar/04 03:58 AM   Updated: 18/Jun/04 11:12 AM
Component/s: Views
Affects Version/s: 2.1, 2.0
Fix Version/s: 2.1

Environment: BEA WebLogic 8.1.2


 Description  « Hide
webwork.tld is wrong and does not work with WebLogic:

<17.03.2004 10.20 Uhr CET> <Error> <lfi> <HTTP> <101020> <[ServletContext(id=12922874,name=wwweb,context-path=/wwweb)] Servlet failed with Exception
weblogic.servlet.jsp.JspException: (line 1): Error in using tag library uri='webwork' prefix='ww': The Tag class 'com.opensymphony.webwork.views.jsp.URLTag' has no setter method corresponding to TLD declared attribute 'encode', (JSP 1.1 spec, 5.4.1)
at weblogic.servlet.jsp.StandardTagLib.tld_jspException(StandardTagLib.java:1235)
at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:1363)
at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1261)
at weblogic.servlet.jsp.StandardTagLib.<init>

 All   Comments   Change History      Sort Order:
Fredrik Larsson - [29/May/04 07:58 AM ]
There is a missmatch between the name of the set method in the URLTag and the declaration in taglib.tld. Weblogic is very strict when it comes to taglibs.

Fredrik Larsson - [29/May/04 08:04 AM ]
Index: src/etc/taglib.tld
===================================================================
RCS file: /cvs/webwork/src/etc/taglib.tld,v
retrieving revision 1.32
diff -u -r1.32 taglib.tld
--- src/etc/taglib.tld 6 Apr 2004 15:30:33 -0000 1.32
+++ src/etc/taglib.tld 29 May 2004 12:49:53 -0000
@@ -206,7 +206,7 @@
             <rtexprvalue>false</rtexprvalue>
         </attribute>
         <attribute>
- <name>encode</name>
+ <name>encodeResult</name>
             <required>false</required>
             <rtexprvalue>false</rtexprvalue>
         </attribute>

Patrick Lightbody - [18/Jun/04 11:12 AM ]
Looks like Jason fixed this.