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 = currentCategoryName;
    }
}


In Archive.tml:

<t:category.archive t:currentCategory="currentCategoryName" />


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 www.example/archive

When I go back to www.example/archive,  4th page will show.



Is there any way to fix this?

Reply via email to