Hi!

I found a very strange thing ...

I have and Index page that just redirects to another page ...

public class Index  {

    @InjectPage
    private com.tellpoker.pages.AboutUs about;

    public Object onActivate() {

        return about;
    }
}

... which was an attempt to change the default start page.

By some reason the about page gets fetched afer each page request ... but
not displayed.

So I have been living with this for some weeks without realising it.

When I removed my Index page everything was fine except for that I have no
default page. (a directory listing instead ...)

/Gunnar


2009/10/30 cordenier christophe <christophe.corden...@gmail.com>

> Well i cannot reproduce on 5.1.0.5.
>
> Can you give more details on how you use/declare your layout component ?
> If it contains other @AfterRender... annotations ?
>
> Christophe
>
> 2009/10/30 Gunnar Eketrapp <gunnar.eketr...@gmail.com>
>
> > Hi!
> >
> > I uninstalled both Firebug and Web Developer but the method is still
> called
> > twice.
> >
> > Must be some other issue ...
> >
> > /Gunnar
> >
> >
> >
> > 2009/10/30 cordenier christophe <christophe.corden...@gmail.com>
> >
> > > Hi
> > >
> > > I already encounter this kind of problems using Firebug (which make a
> > > second
> > > call to obtain JS of the current page)
> > >
> > > Regards
> > > Christophe.
> > >
> > > 2009/10/30 Gunnar Eketrapp <gunnar.eketr...@gmail.com>
> > >
> > > > Hi!
> > > >
> > > > I have a layout component in which I have a method ...
> > > >
> > > > @SetupRender
> > > > void setupComponent() {
> > > >    ...
> > > > }
> > > >
> > > > For some reason this method is called twice for each page request.
> > > >
> > > > Can anyone explain why?
> > > >
> > > > Thanks in advance!
> > > > /Gunnar Eketrapp
> > > >
> > >
> >
> >
> >
> > --
> > [Hem: 08-715 59 57, Mobil: 0708-52 62 90]
> > Allévägen 2A, 132 42 Saltsjö-Boo
> >
>



-- 
[Hem: 08-715 59 57, Mobil: 0708-52 62 90]
Allévägen 2A, 132 42 Saltsjö-Boo

Reply via email to