Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

utterly confused with getParent() method

 
sriram kalakoti
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in hfsj pg550 3rd mock question the solution says C is correct which means " getParent() method can be called by a classic tag to get its parent which is a simpletag "

if the above statement is true then we can summarize the use getParent() method as follows "By using getParent() a Classic tag can access either Classic tag Parents , or Simple tag Parents and a Simple tag can access either a Classic or Simple parent.

but on page 540 it says " a classic tag can access Classic tag parents , and a simpke tag can access either a classic or simple parent.

now what i want to clarify is " can we call the getParent method in a classic tag to get the SimpleTag parent???
 
Patrick Williams
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The errata now says that there is no correct answer for that question...

http://www.oreilly.com/catalog/headservletsjsp/errata/headservletsjsp.confirmed
 
sriram kalakoti
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thnaks a lot Williams


regards
Sriram
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic