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

Parent tags???

 
trivikram Kumar
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can classic tags have simple tag parents??
HFS says no...but in examples in the final mock exam it says such indentation is possible....Confused???Help me out please...

Thanks in advance,
Javainn
 
Wei-ju Wu
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Javainn, I share your feeling. HFSJ seems to have several mistakes (I worked more than an hour just to transfer the errata to the book) which leave me with a little unsafe feeling due to its inconsistencies. After reading the book I feel that I need to do some more detail work with the specification and on this forum. I think it is the best book for JSP&Servlet certification though and it will save you a lot of time. It helps you to focus on the important stuff.

I suggest you to have a look at the specification of JSP,Servlet and JSTL or search the web if something is unclear. Here is a thread in this forum discussing your topic:

Simple tags as classic tag parents

Wei-ju
 
Vishwa Kumba
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Wei-ju,
for providing the link to the post.
Even I had the same question.
 
trivikram Kumar
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Wei-ju Wu,

Thanks a lot for the help..
So from what I read ,I now understood that even Classic tags can have Simple tag parents once the classic tags are wrapped in an Adapter class.
Is that correct??

Thanks a lot...Wei-ju Wu...
U r really of great help.

Javainn
 
Wei-ju Wu
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, the container wraps the simple tag in a tag adapter and sets it as the classic tag's parent automatically.
 
trivikram Kumar
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Wei-ju Wu.....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic