I found what I did wrong. I tried to let the filter-state be a Publisher as well. That should have been a BookListData object. The filterstate object should be the same type of object as the table contains, so you can filter on all variables. I hadn't understood that yet.

Thanks for the help anyway!

Regards,
Linda

Jeremy Thomerson wrote:
Shouldn't the line below have "name" rather than "publisher"?  I
haven't used this filtered thing in a while, but from your error,
that's what it sounds like the problem is.  You're passing it a
Publisher, and it's saying that it doesn't have a "publisher" field on
it - because you told it to use the "publisher" field.

--
Jeremy Thomerson
http://www.wickettraining.com




On Fri, May 1, 2009 at 2:31 AM, Linda van der Pal
<[email protected]> wrote:
  columns[3] = new ChoiceFilteredPropertyColumn(new
Model<String>("Publisher"), "name", "publisher", createPublisherModel());

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - www.avg.com Version: 8.5.325 / Virus Database: 270.12.16/2094 - Release Date: 05/03/09 16:51:00



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to