You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Holger <si...@googlemail.com> on 2010/08/09 16:54:56 UTC

Re: Which url coding strategy to make more restful in page with navigator?

I recognize the same behavior: the panel renders ok but clicking on the
navigator links has no effect. 

Can anybody help here?


Nowaker wrote:
> 
> I tried to use your BookmarkablePagingNavigator but it doesn't work.
> Clicking next, prev or page number has no effect. The panel itself renders
> OK.
> 
> 
> // It's org.wicketstuff.annotation
> @MountPath(path = "oldest")
> @MountMixedParam(parameterNames = {"page"})
> public class Oldest extends WebPage {
> 	public Oldest() {
> 		EntriesDataView entries = new EntriesDataView("entry", new
> EntriesDataProvider(dao, entryMode), itemsPerPage);
> 		add(entries);
> 		add(new BookmarkablePagingNavigator("navigator", entries, getClass()));
> 	}
> }
> 
> 
> The links for @MountMixedParam look like http://localhost:8080/oldest/1
> and so on. With no explicit MountParam they look like /oldest/page/1.
> 
> I was using Wicket 1.4.9 but I tried 1.4.7 also (the version you entered
> in JIRA issue). 
> 
> Have you got any idea? Or maybe provide full code, including Data Views
> and Panels?
> 

-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Which-url-coding-strategy-to-make-more-restful-in-page-with-navigator-tp2197248p2318599.html
Sent from the Wicket - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org