Thanks Howard... that just fixed my gallery... and 'it just works' now... : ) fun
I made cursor and collectionType persistent using @Persist Everything works now... all my auto paging buttons and links from beginning of resultset to end. I never do anything unless I really need to... so persisting those parameters didnt dawn on me... but what I saw in the debugger threw me. I figured persisting them couldnt hurt either. Not sure what to say about what i saw in the debugger. I am wondering if that comes with the turf... or how it would work if I didn't persist those parameters. Anyway, thanks and have a nice weekend. I will clean this up and publish for public use. Its a nice gallery. Ken Home.tml <t:form t:id="galleryForm" id="galleryForm" clientValidation="true" > <t:errors/> <t:Gallery t:id="galleryWidget" id="galleryWidget" collectionType="coachClass" itemsPerPage="itemsPerPage" tableColumns="tableColumns" cursor="cursor" /> </t:form> From: kcola...@live.com To: users@tapestry.apache.org Subject: quarky page injection... late allocation Date: Tue, 30 Oct 2012 23:14:04 -0400 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