Hi,

Here is my entity's PK.




In my DataTable I added one field of PK to filter on.

        columns.add(new TextFilteredPropertyColumn<HrpBbstorzs,
Number,String>(new ResourceModel("beosztottakform.torzsszam"),
"HrpBbstorzsPK.torzsszam", "HrpBbstorzsPK.torzsszam"));

If this field is part of filterform then I have to fill it when I need to
filter something. If I don'n fill this field (but others) then when I click
on Filter button I get this field is required.

In my case my DataTable's model and FilterForm model are the same. I created
a helper class for filtering and that works fine but I don't want to
duplicate my entities just for filtering purpose.
So I don't think my problem related the bug you've mentioned but I will have
a try with 6.16 after it will be released.

Thnx., 
      Sandor



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/FilterToolbar-with-composite-PK-problem-tp4665751p4665780.html
Sent from the Users forum mailing list archive at Nabble.com.

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

Reply via email to