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 wrote:
> I've added opPasivate() but still, no difference.
>
>
> Pay attention:
>
> > So when you go to www.example/archive/news page
> > you'll get grid show
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 wi
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 lis
gt; Is there any way to fix this?
>
>
using @Persist("flash") instead of @Perisist or
remove @Persist and set tapestry.suppress-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
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 = cur