Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

i am skipping custom tags

 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all

its been a long preparation time...
and custom tags - 2 questions - inst just practical to do it

i just cant cram all those denserly packed pages

so..i am skiiping it

just remembering this - valid return values from the 3 methods
and that classic tags can have only classic parents. but simple tags can have both
 
Rohitt Vermaa
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just remembering this - valid return values from the 3 methods
and that classic tags can have only classic parents. but simple tags can have both

In my SCWCD exam most of the custom tag question were regarding this only. The question wasn't too complex from custom tags. Cram the important methods and definetly you can get good score in this section.
 
muthu moorthy
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But there are few more which seems important likely to be in the exam like
- Usage of dynamic attributes in simple tags/classic tags
- nested tags
- getParent method
- findAncestorWithClass
- Using PageContext API for tag Handlers

You guys take note on this.
 
Sayak Banerjee
Ranch Hand
Posts: 292
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Like I always said earlier, don't skip classic tags....you can never be sure that you'd get a question regarding simple tags only....the custom tag questions you get might as well have classic tag and simple tag concepts incorporated....so you're better off knowing both....

And trust me classic tags are not difficult to deal with at all....just remember the return values of the methods....default values if you don't override the methods....only the basics of BodyTagSupport(don't go into too much detail)....and most importantly the clasic tag life cycle....and certain facts here and there-like classic tag instances can be pooled and reused by the container....so always initialize instance variables etc. in doStartTag() etc.-- and so on.

And the known fact, as we all know, is that nothin' can help you learn it better than coding and deploying a classic tag by yourself....so all the best....And, yeah....Nesting of tags is VERY important....so pay attention there.

HTH
 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And trust me classic tags are not difficult to deal with at all....just remember the return values of the methods....default values if you don't override the methods....only the basics of BodyTagSupport(don't go into too much detail)....and most importantly the clasic tag life cycle....and certain facts here and there-like classic tag instances can be pooled and reused by the container....so always initialize instance variables etc. in doStartTag() etc.-- and so on.

And the known fact, as we all know, is that nothin' can help you learn it better than coding and deploying a classic tag by yourself....so all the best....And, yeah....Nesting of tags is VERY important....so pay attention


hey...if i do all this,,,i wont be skipping anything ..nothing remains then
 
prashanth kumar
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Intially when i started SCWCD preparation,i too thought about skipping as i thopught its too much to remember...But i tried to read those 7,8,9 and 10 chapters 3-4 times.And rest is history.I got 100% in that section.So be brave and dont skip stuff.

All the Best
 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hmm..yes...but as far as the mocks are concerned...i am not going to wait to start them just because...i havent done classic tags..

the preparation for classic tags is going to be 'happy go lucky'

thanks a lot
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic