I was trying to create a scripting variable for a custom tag via the tld using:
<tag>
<name>MyTag</name>
...
<variable>
<name-from-attribute>id</name-from-attribute>
<variable-class>com.MyClass</variable-class>
<declare>true</declare>
<scope>AT_BEGIN</scope>
</variable>
...
</tag>
When I specify the id, the scripting variable is created as I expect. However, the id
attribute on this tag is not required and if I don't specify an id attribute, jasper
will use null as the variable name. This results in a compiler error. I had been using
a TagExtraInfo class to do this before, but was wanting to know if I would be able to
do the same using the tld only.
Thanks,
Rob
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>