Hi Folks,

I am rendering my gallery widget and everything looks great... 
I got 

firstpage prevpage link link link nextPage lastPage

which would look like

|<  <  1  2  3  >  >|

obj   obj   obj   obj
obj   obj   obj   obj
obj   obj   obj   obj

so I decide to click link 1 in order to render that page and its objects to be 
rendered in the gallery

In my Gallery.JAVA component I got


    @InjectPage("Home")
    private Home homePage;

and on my link handler I got

    public Object onIndividualPage(int pageNum)
    {
        logger.info("In onPage : ");

        cursor = ((pageNum-1) * itemsPerPage);
        return homePage;
    }

But when I break at the cursor statement... homePage is null

One wuold think that the injection wuold have already occurred... right ?

on subsequent attempted link clicks... subsequent breakpoints into the link 
handler do show that homePage is allocated data

So i am stumped...

It seems at first pass thru the InjectPage is late ?

Anyone got any ideas how I can shake this out ?
Thanks

kcola...@live.com
 

                                          

Reply via email to