Wicket examples: repeaters

2013-01-20 Thread Lucio Crusca
Hello *, I'm trying to understand repeaters and DataTable from WicketExamples. I'm definitely having a hard time... http://www.wicket-library.com/wicket-examples-6.0.x/repeater/ The running example shows a nice table with sorting column headers. However looking at what pretends to be the

Re: Wicket examples: repeaters

2013-01-20 Thread Sven Meier
DefaultDataTable uses a HeadersToolbar, which renders sortable headers *if* a column is sortable. For that the column has to return true from #isSortable() . PropertyColumn supports sorting, but for that you have to provide a sortProperty. Note the third constructor argument:

Re: Ajax Link not resolving Wicket 6.4

2013-01-20 Thread Simon B
Hi, I've managed to produce a quickstart that reliably reproduces the problem I'm having. It looks like that it's to do with my BookmarkableMapper sub class, so I thought I'd try and diagnose the issue more precisely first rather than ask others to look into it, as it may simply be a bug in my

Unable to find property

2013-01-20 Thread Lucio Crusca
Thanks to Sven, now my DataTable has sorting columns! However my next step is to add CSV export. I copied the code from the examples and added CSVDataExporter c_exp = new CSVDataExporter(); ExportToolbar et = new ExportToolbar(dataTable); et.addDataExporter(c_exp);

Re: Unable to find property

2013-01-20 Thread Sven Meier
If you don't provide a filename to the ExportToolbar constructor, a String resource with key datatable.export-file-name is used. Normally a default is provided here: /wicket-extensions/src/main/java/org/apache/wicket/extensions/Initializer.properties I'm not sure why this is not present in

Wicket + Spring

2013-01-20 Thread JCoder
Hi all, Im just trying to setup a basic project structure in Eclipse with Wicket and Spring. I think its pretty smart to separate both Wicket and Spring into two different Eclipse projects, isnt it? Thus, I created an Eclipse project for the Web part and one for the Spring (and later

Re: Wicket + Spring

2013-01-20 Thread Tim Urberg
If you use Maven, it will take care of all the dependencies for you. That would be the easiest way to go. Make sure you make your Wicket project into a war by using the war packaging element and have the wicket project depend on the spring project. On 1/20/13 10:52 AM, JCoder wrote: Hi

Re: Wicket + Spring

2013-01-20 Thread Ernesto Reinaldo Barreiro
Hi, Look at http://jweekend.co.uk/dev/LegUp Some dependencies might be old but at least it will give you something from where to start, On Sun, Jan 20, 2013 at 5:52 PM, JCoder i...@jcoder.de wrote: Hi all, Im just trying to setup a basic project structure in Eclipse with Wicket and

Re: Unable to find property

2013-01-20 Thread Lucio Crusca
In data domenica 20 gennaio 2013 17:16:48, Sven Meier ha scritto: If you don't provide a filename to the ExportToolbar constructor, a String resource with key datatable.export-file-name is used. Normally a default is provided here:

Re: Wicket + Spring

2013-01-20 Thread yka
Well I dont use Maven, I start Tomcat from within Eclipse... Any ideas? If I start Spring standalone or Wicket+Tomcat standalon it works fine... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Spring-tp4655546p460.html Sent from the Users forum mailing

Re: Wicket + Spring

2013-01-20 Thread yka
To go more into detail. The Web part is a dynamic web project and is added to Tomcat Server within Eclipse (Right-click on Tomcat in Servers-Tab - And and Remove - Add the web project.) The spring part is a just a java project... -- View this message in context:

Passing IModel in Constructor of bookmarkable Page?

2013-01-20 Thread Bernard
Hi all I am searching for a robust pattern to work around PageExpiredException. My first idea was to have all pages bookmarkable and rely on org.apache.wicket.settings.IPageSettings#getRecreateMountedPagesAfterExpiry() to recover. But this breaks when passing IModel in page constructors because