Happy to follow a known way!
-Original Message-
From: Monica D'Arcy [mailto:[EMAIL PROTECTED]
Sent: Thursday, 25 September, 2008 00:57
To: users@wicket.apache.org
Subject: Re: bookmarkable URL and sortable data table
Thanks for the reply! Your solution seems similar to what I thought
might need to happen. Monica
On Sep 24, 2008, at 6:43 PM, Xhelas wrote:
I have encountered the same problem as you.
I have solved it thsi way:
The page that contains the table has parameters that reflects the
state of
the table.
Then I created the class :
public class BookmarkableOrderByBorder extends Border
that is created by the overriden newSortableHader of mytable.
This BookmarkableOrderByBorder includes a BookmarkablePageLink that
include
the sort state of my
BookmarkableTable. I don't know if this is the ideal solution.
Well, you can check the result here where several
BookmarkableTables can be
in a page:
http://cubefactory.selfip.com/globalparanoia/clan.html/clan/PARANOIA/
http://cubefactory.selfip.com/globalparanoia/clan.html/clan/PARANOIA/
I hope you get the idea. I found it by carefully reading the wicket
code.
Regards
Alexandre
Monica D'Arcy wrote:
Hi,
I have an application that uses primarily Bookmarkable pages. On the
main Search page there is also a DefaultDataTable that uses a
SortableDataProvider. When clicking on sortable column, the URL
becomes wicketized. Is there a way to easily override this
behavior so that the URLs produced by sorting data in the DataTable
are also of a Bookmarkable form.
Thanks in advance for any help,
Monica
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context: http://www.nabble.com/bookmarkable-
URL-and-sortable-data-table-tp19518388p19659583.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]