Re: tooltip on <s:textfield>
Greg Huber <[email protected]>
| Newsgroups | gmane.comp.jakarta.struts.devel |
|---|---|
| Message-ID | <[email protected]> |
Not to sure what you mean?
Its auto generated by
/core/src/main/resources/template/simple/form-close-tooltips.ftl
<#if (parameters.hasTooltip!false)><#t/>
<#lt/><!-- javascript that is needed for tooltips -->
<#lt/><@s.script type="text/javascript"
src="${base}${parameters.staticContentPath}/domTT.js" />
<#lt/><@s.link rel="stylesheet" type="text/css"
href="${base}${parameters.staticContentPath}/domTT.css" />
</#if><#t/>
On 08/10/2023 11:44, Lukasz Lenart wrote:
> niedz., 8 paź 2023 o 12:08 Greg Huber<[email protected]> napisał(a):
>> How is this supposed to work?
>>
>> I get this at the bottom of the form, but for me it maps to an invalid url?
>>
>> <!-- javascript that is needed for tooltips -->
>> <script type="text/javascript" src="/static/domTT.js">
>> </script>
>> <link rel="stylesheet" type="text/css" href="/static/domTT.css"/>
>>
>> http://www.xx.xx/static/domTT.js
>>
>> Is there some js that is supposed to take care of this?
>>
>> https://struts.apache.org/tag-developers/textfield-tag does not mention
>> anything.
> Try to use
>
> <s:script type="text/javascript" src="/static/domTT.js"/>
> <s:link rel="stylesheet" type="text/css" href="/static/domTT.css"/>
>
>
> Regards