Re: [Wicket-user] What's the easiest way to do a pageable/sortable list screen?

2007-04-25 Thread Martijn Dashorst
For more information on the redirect strategies available in Wicket (that we don't have any documentation is a lie ;-)) see: http://cwiki.apache.org/WICKET/render-strategies.html Martijn -- Learn Wicket at ApacheCon Europe: http://apachecon.com Join the wicket community at irc.freenode.net:

[Wicket-user] What's the easiest way to do a pageable/sortable list screen?

2007-04-24 Thread mraible
What's the easiest way to do a pageable/sortable list with Wicket? Looking at the following example, there's quite a few files required to replicate the DisplayTag's functionality. http://www.wicket-library.com/wicket-examples/displaytag Is this packaged up as a component I can use? The other

Re: [Wicket-user] What's the easiest way to do a pageable/sortable list screen?

2007-04-24 Thread Igor Vaynberg
see http://wicketstuff.org/wicket13/repeater/ namely the datatable example -igor On 4/24/07, mraible [EMAIL PROTECTED] wrote: What's the easiest way to do a pageable/sortable list with Wicket? Looking at the following example, there's quite a few files required to replicate the

Re: [Wicket-user] What's the easiest way to do a pageable/sortable list screen?

2007-04-24 Thread mraible
That site has a way to view the source of the templates, but not the Java code. Anywhere I can download that? What's the least amount of required classes to do a sortable/pageable grid with i18n? Compared to all the other web frameworks I've used, Wicket seems to make this the most difficult.

Re: [Wicket-user] What's the easiest way to do a pageable/sortable list screen?

2007-04-24 Thread Eelco Hillenius
You can check out the wicket-examples code from svn at https://svn.apache.org/repos/asf/incubator/wicket/trunk/jdk-1.5/wicket-examples (or download it, but where's the fun in that) and then check out package org.apache.wicket.examples.repeater or org.apache.wicket.examples.guestbook etc. Eelco

Re: [Wicket-user] What's the easiest way to do a pageable/sortable list screen?

2007-04-24 Thread Matej Knopp
Hi, the code for sortable pageable list can look like this: public class SortingPage extends BasePage { public SortingPage() { SortableContactDataProvider dp = new SortableContactDataProvider(); final DataView dataView = new DataView(sorting, dp)

Re: [Wicket-user] What's the easiest way to do a pageable/sortable list screen?

2007-04-24 Thread Igor Vaynberg
On 4/24/07, mraible [EMAIL PROTECTED] wrote: That site has a way to view the source of the templates, but not the Java code. Anywhere I can download that? what i pointed to is the wicket-examples project. the source code is available in our svn. the link to that is available on our site.

Re: [Wicket-user] What's the easiest way to do a pageable/sortable list screen?

2007-04-24 Thread mraible
Thanks guys - I appreciate all your help. I've decided to go with DataView over DefaultDataTable because I couldn't get the click on column value for link[1] to work. Unfortunately, the following doesn't work with Wicket 1.2.6: item.add(new

Re: [Wicket-user] What's the easiest way to do a pageable/sortable list screen?

2007-04-24 Thread Eelco Hillenius
Thanks guys - I appreciate all your help. I've decided to go with DataView over DefaultDataTable because I couldn't get the click on column value for link[1] to work. Unfortunately, the following doesn't work with Wicket 1.2.6: item.add(new

Re: [Wicket-user] What's the easiest way to do a pageable/sortable list screen?

2007-04-24 Thread mraible
The stack trace I was getting turned out to be caused by something else - the code I posted actually does work. As far as moving to 1.3, I'll be happy to do that if there's a beta (or snapshot) release in a public Maven repo. Thanks, Matt Eelco Hillenius wrote: Thanks guys - I appreciate

Re: [Wicket-user] What's the easiest way to do a pageable/sortable list screen?

2007-04-24 Thread Eelco Hillenius
Fresh snapshots are deployed on our maven repository[1] by bamboo[2] . So including: repository repository idwicket-stuff.org/id urlhttp://wicketstuff.org/maven/repository//url snapshots enabledtrue/enabled /snapshots /repository /repositories and: dependency