here javascript:var tag will create a java script variable and another tag will flush out all this kind of variables at the end of file.
getUrl tag will return url for the type passed.
Is there a way to make this work without using scriptlets?
Bear Bibeault
Author and opinionated walrus
Marshal
You cannot use a custom tag as the attribute of another tag.
vijaya bacina wrote:Is there a way to make this work without using scriptlets?
You never need to use scriptlets. Ever. You just need to set up your tags correctly.
For example, your 'out' tag should have the ability to put its result into a scoped variable, just like <c:out> does. That way, in your other tag, you can just use the EL to express the value as the attribute.
This message was edited 2 times. Last update was at by Bear Bibeault