Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFSF - page 547 - ATTR_TEMPLATE?

 
Leonid Shchervinsky
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys:

I cannot figure out where the ATTR_TEMPLATE is coming from in the code on page 547 within the doTag() method:

out.print("<select");
out.print(String.format(ATTR_TEMPLATE, "name", this.name));
out.print(String.format(ATTR_TEMPLATE, "size", this.size));
out.println(">");

Thanks
Leonid
 
Leonid Shchervinsky
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
bottom of the page...
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Harshana Dias
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
not funny dude i have the same problem
 
Harshana Dias
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Harshana Dias wrote:not funny dude i have the same problem


I was kidding right...i mean i also didnt figure it in first glance...because variables are declared in the bottom of the page..and its kind of not understandable what is done there for a person who did scjp 1.4.. we are cool right? are we Chris
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and its kind of not understandable what is done there for a person who did scjp 1.4. we are cool right? are we Chris

Yes, we're cool. These are challenging exams.
 
Hanuma Deepak Muvvala
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
+1 Like
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic