Thanks a lot for the help Josh, I'm still having trouble though.

I've spent hours now and I think I know what I need to do, I just don't know
how to do it:
I need to have the page links Submit my form and then change the page. 
Looking at the generated html, it's just a simple anchor tag directly to the
page with the component and 2nd page as context.

I can't possibly be the first person to want to do something like this, but
I just can't seem to find anything on it.

My second thought was to use AJAX so that when a checkbox is clicked, it
updates the bean in my page class - I'm just not familiar with Tapestry
Ajax, so I haven't had any luck.  I'll look into this further as well as a
possible solution.

Thanks for the help, and I'll continue to investigate GridPager and
LinkSubmit to see if I can somehow make them do what I want.
Paul



Josh Canfield wrote:
> 
> I don't use a grid so I could be way off, but a quick look at the
> GridPager component tells me that it generates links. Since it's a
> link your form isn't getting submitted it's just getting the next
> page. I imagine  there must be a way to make the pager submit your
> form. I don't see a direct way to do it (but I just scanned the
> component), but perhaps you can add an event to all the links in
> t-data-grid-pager, see the linksubmit component for an example.
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Saving-state-when-changing-grid-pages-tp28682342p28685316.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to