Page 1 of 1

classic tag inside a simple tag

Posted: Sun May 08, 2011 8:51 am
by csciandr
Hi I have one question, it's said in the question that x:outer is a simple tag (since it extends SimpleTagSupport), while the nested tag x:middle is a classic tag (since it extends BodyTagSupport).
Now I don't understand how can the getParent method from the middle tag work, since the method returns a Tag type while the outer tag is of type JspTag. In the HF Book it's said that a Simple Tag can have classic parent while a classic tag can have only a classic parent.

Re: classic tag inside a simple tag

Posted: Sun May 08, 2011 5:27 pm
by csciandr
Sorry I forgot to mention the name of the question, it was the com.enthuware.ets.scwcd.v5.2.473!!