OK, it's truth.
Look:
In struts.tld exists tags defined like this:
<tag>
<name>button</name>
<tagclass>org.apache.struts.taglib.ButtonTag</tagclass>
<attribute>
<name>accessKey</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>onBlur</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>onChange</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
......
......
</tag>
And in struts-html.tld exists tags defined like this:
<tag>
<name>button</name>
<tagclass>org.apache.struts.taglib.html.ButtonTag</tagclass>
<attribute>
<name>accesskey</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>disabled</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>onblur</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
......
......
</tag>
What's the diference between them?
thanks in advance.
Rubens M. da Gama
-----Mensagem original-----
De: Keith [mailto:[EMAIL PROTECTED]]
Enviada em: sexta-feira, 15 de fevereiro de 2002 09:03
Para: Struts Users Mailing List
Assunto: Re: Taglib 'struts'
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="struts-html" %>
It's the prefix specified in the taglib definition. I guess people who use
lots
of tags prefix the struts tags with struts-. People who only use struts
leave
it off.
Not sure but I think > <struts:button ...> tends to be an older style.
--- Rubens Gama <[EMAIL PROTECTED]> wrote:
> Exists tags defined in struts.tld that seems like tags defined in the
> struts-html.tld
> For example:
>
> <struts:button ...>
> <struts-html:button ...>
>
> or
>
> <struts:base...>
> <struts-html:base...>
>
> or
>
> .....
>
> What's the diference between them ?
>
> thanks in advice
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
__________________________________________________
Do You Yahoo!?
Got something to say? Say it better with Yahoo! Video Mail
http://mail.yahoo.com
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>