Sorry about this one.., it was my bad..

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...
>

I 'm still trying..., now with the way bryan shows


Nicolás.-


On Fri, Apr 8, 2011 at 12:01 PM, Bryan Lewis <jbryanle...@gmail.com> wrote:

> I haven't had any trouble defining a favicon, and I run in Jetty both on my
> dev machine ond on our production server.  I put the icon file in
> src/main/webapp/i.  My layout component does:
>
>  <head>
>    <title>${title}</title>
>    <link rel="icon" type="image/x-icon" href="${context:/i/filename.ico}"/>
>     <link rel="shortcut icon" type="image/x-icon"
> href="${context:/i/filename.ico}"/>
>  </head>
>
> (I forget why I needed both links and maybe I don't any more... some
> browser
> inconsistency.)
>
>
>
> On Fri, Apr 8, 2011 at 10: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