DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4571>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4571

Custom Tag with scriptlet Expression attribute not compiled correctly

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2001-11-01 10:11 -------
If you want your custom tag attribute to accept runtime expressions, you must
declare it so in the tag library descriptor:

    <taglib>

        ...

        <tag>
            <name>tasks</name>
            ...
            <attribute>
                <name>command</name>
                ...
                <rtexprvalue>true</rtexprvalue>
                ...
            </attribute>
            ...
        </tag>

        ...

    </taglib>

If you don't declare that your tag accepts runtime expression values, the
compiler will treat the content of that attribute as a text string, which is
exactly what you are seeing :-).

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to