Yes, got it.
@Override
public Component
getFilter(String componentId, FilterForm form) {
ChoiceFilter comp =
(ChoiceFilter)super.getFilter(componentId, form);
comp.getChoice().setEnabled( false );
return comp;
}
on the FilteredPropertyColumn. I had been disablling the ChoiceFilter
instead of its choice.
This is really fun when you get the hang of it.
Wilko
Wilko Hische wrote:
>
> Hi,
>
> I am using the ChoiceFilteredPropertyColumn from the wicket-extensions
> package and I would like to be able to freeze the selection for certain
> users.
>
> Would it be possible to setEnable( false ) for the filter component? I
> fiddled with overriding the getFilter method but without succes so far.
>
> Best regards,
>
> Wilko Hische
>
>
--
View this message in context:
http://www.nabble.com/setEnable-on-filter-component-of-FilteredPropertyColumn-tf2041478.html#a5630121
Sent from the Wicket - User forum at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user