About Question enthuware.jwpv6.2.741 : Explanation

Moderator: admin

Post Reply
Leandro

About Question enthuware.jwpv6.2.741 : Explanation

Post 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?

admin
Site Admin
Posts: 10386
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.741 : Explanation

Post by admin »

Well, the question is about custom tags and not HTML tags.

HTH,
Paul.

mtmmjava
Posts: 9
Joined: Mon Nov 04, 2013 7:49 am
Contact:

Re: About Question enthuware.jwpv6.2.741 : Explanation

Post 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!

admin
Site Admin
Posts: 10386
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.741 : Explanation

Post 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.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests