Bug 122904 - error in bebop-define.tld and bebop-show.tld
Summary: error in bebop-define.tld and bebop-show.tld
Status: NEW
Alias: None
Product: Red Hat Enterprise CMS
Classification: Retired
Component: ui
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: ccm-bugs-list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-05-10 08:49 UTC by Martin
Modified: 2008-05-01 15:39 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed:


Attachments (Terms of Use)

Description Martin 2004-05-10 08:49:28 UTC
Description of problem:


Version-Release number of selected component (if applicable):6.1


How reproducible:
There is a mismatch between the tld (bebop-define.tld) and it's 
implementation (com.arsdigita.bebop.jsp.DefinePage) which does not 
appear to have a pmClass property

weblogic.servlet.jsp.JspException: (line 4): Error in using tag 
library uri='/WEB-INF/bebop-define.tld' prefix='define': The Tag 
class 'com.arsdigita.bebop.jsp.DefinePage' has no setter method 
corresponding to TLD declared attribute 'pmClass', (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>
(StandardTagLib.java:292)
        at weblogic.servlet.jsp.TagLibHelper.loadTagLib
(TagLibHelper.java:314)
        at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
        at weblogic.servlet.jsp.JspLexer.mXML_ROOT(JspLexer.java:3238)
        at weblogic.servlet.jsp.JspLexer.mXML_THING
(JspLexer.java:1917)
        at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1825)
        at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1753)
        at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
        at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
        at weblogic.servlet.jsp.JspParser.parse(JspParser.java:230)
        at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
        at weblogic.utils.compiler.CodeGenerator.generate
(CodeGenerator.java:258)
        at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:367)
        at weblogic.servlet.jsp.JspStub.prepareServlet
(JspStub.java:223)
        at weblogic.servlet.jsp.JspStub.prepareServlet
(JspStub.java:172)
        at weblogic.servlet.internal.ServletStubImpl.getServlet
(ServletStubImpl.java:518)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubImpl.java:362)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubImpl.java:446)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubImpl.java:305)
        at weblogic.servlet.internal.RequestDispatcherImpl.forward
(RequestDispatcherImpl.java:301)
        at com.arsdigita.dispatcher.DispatcherHelper.forwardHelper
(DispatcherHelper.java:193)
        at 
com.arsdigita.dispatcher.DispatcherHelper.forwardRequestByPath
(DispatcherHelper.java:222)
        
A similar problem occurs in bebop-show.tld

/packages/content-section/templates/default/item.jsp(4): Error in 
using tag library uri='/WEB-INF/bebop-show.tld' prefix='show': The 
Tag class 'com.arsdigita.bebop.jsp.ShowPage' has no setter method 
corresponding to TLD declared attribute 'pmClass', (JSP 1.1 spec, 
5.4.1)

If I delete the pmClass attribute from both .tld's I can preview an 
item.

thanks

Martin

Comment 1 Daniel Berrange 2004-05-10 09:04:07 UTC
I've fixed this on the Tip at p4 #42567 by removing these two tag
entries. The corresponding Java methods were removed when we
integrated the new XSL template resolution & presentation maanger
infrastructure during the 6.0 development cycle. 

This still needs backporting to 6.0 release branch.


Note You need to log in before you can comment on or make changes to this bug.