About Question enthuware.jwpv6.2.886 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
Jkike79
Posts: 11
Joined: Tue Sep 10, 2013 3:20 pm
Contact:

About Question enthuware.jwpv6.2.886 :

Post by Jkike79 »

Hi,

the explanation for the incorrect answer
Define a method addName() in BandTag. In the doStartTag() of InstrumentTag, get a reference to BandTag through pageContext.getAncesterWithClass() and call the addName() method.
stats:
findAncesterWithClass() method is defined by TagSupport. It is not available in pageContext.
The TagSupport API does not have a findAncesterWithClass method, but it has the findAncestorWithClass

It's just a typing mistake or the method exists in another class?

Thank you
Barbara

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.886 :

Post by admin »

That is a typo. It has now been fixed.

thank you for your feedback!
Paul.

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests