Sorry to bother again,

it didn't work

tested on tomcat after generating the .war and also using mvn jetty:run

here I paste the generated head tag:

> <head>
>     <title>title</title>
>     <link type="text/css" rel="stylesheet"
>         href="/appName/assets/tapestry/5.1.0.5/default.css"></link>
>     <link type="text/css" rel="stylesheet"
>         href="/appName/assets/blackbird/5.1.0.5/blackbird.css"></link>
>     <link type="text/css" rel="stylesheet"
>         href="/appName/assets/ctx/1.0.0.0-SNAPSHOT/css/main.css"></link>
>     <meta content="Apache Tapestry Framework (version 5.1.0.5)"
> name="generator"></meta>
>     <script
>
> src="/appName/assets/virtual/H4sIAAAAAAAAAIXOMQ7CMAwFUDMgLoIQQmpchg6MbEyAVC6QhrRqKSSKXUQ5E1fjDjRFqcRS5O3rfduvN0yfAJMNAMxghZJIMyEpV1qWqqlNQ5iItYhFgtYZNtxaLSoCMW5$002fUu$002bX417nuVbcy3mQLK0mdu2AQuDVIqisluqSle48sCHxLvq7LbpqIlno$002fngcuOIHetdNlO63x3R3OGEl7$002fL7P9amKG9d4wPoKMZvQgEAAA$003d$003d.js"
>         type="text/javascript"></script>
> </head>
>
>
here's the head tag I 'm using in my Layout.tml (the only reference to
<head> tag in my project)

<head>
>     <title>Afip Santo Tome Web Application</title>
>     <link href="${asset:context:/favicon.ico}" rel="shortcut icon"
> type="image/x-icon"/>
> </head>
>
>
ALSO I 'd like to say that even though I keep seeing the tomcat or jetty
favicon... the favicon.ico file that is inside the generated war is the
tapestry favicon, not mine...

hope you could give me some invoices,
cheers

Nicolás.-

On Fri, Apr 8, 2011 at 11:23 AM, Nicolas Barrera <nbarr...@gmail.com> wrote:

> Hi!, thanks for both responses...
>
>
> Are you using a layout component?
>>
>>
> yes I 'm...
>
>
> Are you running in Jetty?
>>
>>
> yes also...
>
>
> guys... 're you some kind of mentalist? ;)
>
> I 'll try it on tomcat... but I asked it right away because looking into
> generated html I couldn't see the link to the .ico I 've added...
>
>
> Anohter thing I 'm doing different is that I 'm not adding the favicon.ico
> as a Tapestry asset, as Nicola does...
>
>
> <link href="${asset:context:/favicon.ico}" rel="shortcut icon" />
>>
>
> will try that also...
>
> thanks, 'll be back with results
>
> Nicolás.-
>
>
>
> On Fri, Apr 8, 2011 at 10:30 AM, Nicola Buso <nicola.b...@infocert.it>wrote:
>
>> Are you running in Jetty? I notice it replace my favicon on localhost
>> (mvn jetty:run); under tomcat my favicon is shown:
>>
>>
>> on my layout component as usual:
>>
>> <link href="${asset:context:/favicon.ico}" rel="shortcut icon" />
>>
>>
>> nicola.
>>
>>
>> On 04/08/2011 03:11 PM, Thiago H. de Paula Figueiredo wrote:
>> > On Fri, 08 Apr 2011 10:08:54 -0300, Nicolas Barrera <nbarr...@gmail.com
>> >
>> > wrote:
>> >
>> >> Hi,
>> >
>> > Hi!
>> >
>> >> What I 've faced trying to setup this using Tapestry 5.1.0.5... is
>> >> that that code I added inside my head tag (that link to favicon) is
>> >> erased and
>> >> replaced by javascripts includes (other links) generated by tapestry.
>> >
>> > AFAIK, Tapestry doesn't erase anything inside <head>. Are you using a
>> > layout component?
>> >
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>

Reply via email to