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

Key: WW-1344
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Rainer Hermanns
Reporter: James House
Votes: 0
Watchers: 0
Operations

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

Bug in WebWork TLD

Created: 29/Aug/06 11:45 AM   Updated: 29/Aug/06 03:00 PM
Component/s: None
Affects Version/s: 2.2.3
Fix Version/s: 2.2.4


 Description  « Hide
Using Weblogic 8.1sp5.

Just upgrading to 2.2.3 (from 2.1.7). Get the following error:

weblogic.servlet.jsp.JspException: (line 1): Error in using tag library uri='webwork' prefix='ww': The Tag class 'com.opensymphony.webwork.views.jsp.ui.OptGroupTag' has no setter method corresponding to TLD declared attribute 'listKey', (JSP 1.1 spec, 5.4.1)
at weblogic.servlet.jsp.StandardTagLib.tld_jspException(StandardTagLib.java:1243)
at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:1371)
at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1269)
at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:292)
at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
...

And indeed I inspect OptGroupTag and its ancestors, and there is no "listKey" property on the class, yet it is named in the TLD!


If I simply remove that attribute from the TLD, and the related listValue attribute, then all seems to be well.


 All   Comments   Change History      Sort Order:
Rainer Hermanns - [29/Aug/06 03:00 PM ]
Mike,
both setters were missing within the tag implementation.
Just added them and commited to CVS HEAD.
Could you please get an updated 2.2.4 integration build jar from the ivy repository and verify that it is working now as expected?

tia,
Rainer