Page 1 of 1

About Question enthuware.jwpv6.2.741 : Explanation

Posted: Mon Nov 19, 2012 8:30 am
by Leandro
About the explanation "...You cannot embed one tag inside another tag's attribute list".
In this case <a href="<c:url value='/sitemap.jsp'/>">View Sitemap</a> would not be right?

Re: About Question enthuware.jwpv6.2.741 : Explanation

Posted: Tue Nov 20, 2012 6:58 pm
by admin
Well, the question is about custom tags and not HTML tags.

HTH,
Paul.

Re: About Question enthuware.jwpv6.2.741 : Explanation

Posted: Mon Nov 04, 2013 7:50 am
by mtmmjava
Hi,
Can you reference the spec page/chapter stating I can't embed one custom tag inside another (custom or not) tag's attribute list? I thought it would go as a literal.
I tested it on Glassfish and it was exactly what happened, either with classic or simple tags.

Thanks!

Re: About Question enthuware.jwpv6.2.741 : Explanation

Posted: Mon Nov 04, 2013 8:01 am
by admin
It would be considered just a regular string. Not a tag. So you are not really embedding a "tag" in the attribute but just a string. The word Tag has a specific meaning in this context. It implies execution.

HTH,
Paul.