I think the problem is that you have persisted the category name, but not the
list of news articles that the grid is using, so when the second page is
requested, no data is available to display.
Try either
a) adding @Persist to your list of data items your grid is displaying, or
b) load the
I've added opPasivate() but still, no difference.
Pay attention:
So when you go to www.example/archive/news page
you'll get grid showing articles from news category.
Problem:
When you click on page number, i.e. 4 you'll get :
There is no data to display.
message, and URL will be
I've fixed this. There was no problem with pagination at all, but with
relative links, again!
On Sun, Mar 29, 2009 at 2:17 PM, Davor Miku davorm...@gmail.com wrote:
I've added opPasivate() but still, no difference.
Pay attention:
So when you go to www.example/archive/news page
you'll
Hello!
I have component witch takes one parameter and based on it
shows Grid component.
In page Archive, I have :
public class Archive
{
@Persist
private String currentCategoryName;
public void onActivate(String currentCategoryName) {
this.currentCategoryName =
-redirect-from-action-requests to
true. It not a good way.see
http://tapestry.apache.org/tapestry5.1/guide/conf.html
thanks
luna
--
View this message in context:
http://www.nabble.com/Grid-Pagination-And-onActivate%28%29-tp22763914p22764357.html
Sent from the Tapestry - User mailing list archive