You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by chimaira <de...@hotmail.com> on 2012/07/19 17:57:39 UTC

PagingNavigator with additionnal pageParameters

Hi all, 

I would like to add a pagingNavigator , with a custom additional parameters
,  then the generated links will contain these parameters.


Is it possible ? and how to do that. 
If not , how to deal with that. 

I m using wicket 1.4.16 , and I can't upgrade right now. 
Thank you , 

A.M.

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/PagingNavigator-with-additionnal-pageParameters-tp4650631.html
Sent from the Users forum 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


Re: PagingNavigator with additionnal pageParameters

Posted by chimaira <de...@hotmail.com>.
Any idea ? 





--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/PagingNavigator-with-additionnal-pageParameters-tp4650631p4650645.html
Sent from the Users forum 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


Re: PagingNavigator with additionnal pageParameters

Posted by chimaira <de...@hotmail.com>.
Hi , thanks for replay,

 I tried it, but the overriden methods return a usual links. with no
pageparameters attribut.

@Override
protected AbstractLink newPagingNavigationLink(String id,
		IPageable pageable, int pageNumber) {

	return super.newPagingNavigationLink(id, pageable, pageNumber);
}

the newPagingNavigationLink(id, pageable, pageNumber); return an extended
object from the Link class. and there is no PageParameters attribute there.

and how can I replace the newPagingNavigationLink() with BookMarkableLink()
and keeping the pageable and pageNumber parameters? 


Thanks again. 



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/PagingNavigator-with-additionnal-pageParameters-tp4650631p4650648.html
Sent from the Users forum 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