• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

p 480 HFSCWCD

 
Arvind Mahendra
Ranch Hand
Posts: 1162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shouldn't the <mine:advice user="${foo}"/> instead be <mine:advice="{user}"/> as the attribute in the TLD file is called 'user' and in the tag handler class the method is setUser() ?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check the errata.
 
Arvind Mahendra
Ranch Hand
Posts: 1162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Christophe Verre:
Please check the errata.


From the errta:
(480) Change to "${foo}" rather than "{userName}"

I dont understand why we use 'foo'? I thought it should be just 'user'
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I misinterpreted your question. I don't have the book, so I'll leave other rancher reply. Unless you post the necessary code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic