What I would probably do is write a LucenePropertyColumn that extends AbstractColumn.
On Thu, Jan 15, 2009 at 4:14 PM, Phillip Rhodes <[email protected]> wrote: > Hi, > I am trying to display a lucene document as a row in the datatable. > > Here is how I am defining my column: > PropertyColumn col = new PropertyColumn(new Model("Name"), "get('NAME')", > "get('NAME')"); > > The "get('NAME')" is a call to the document.get(String fieldName) method on > the lucene document. > > I get the following error message: > WicketMessage: No get method defined for class: class > org.apache.lucene.document.Document expression: get('NAME') > > > Is there a way to get the property resolver to work with the lucene document, > or should I give up and write a wrapper for the lucene document? > > Thank you! > > > > > > > > --------------------------------------------------------------------- > 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]
