I have a tag file which defines a bunch of attributes. I want to be able to access the attribute inside a script defined inside the custom tag.
sample.tag
<@tag language="java" pandeEncoding="UTF-8"%>
<%@ attribute name="dummy" required="false" type="java.lang.String" %>
<script>
console.log( "value: " + dummy );
</script>
Not sure im asking something very obvious, but all the google result talks about retrieving an attribute from a tag but i want to get it within the tag definition. So do not have the tag id or name.