Hi Stefan
actually this is not what I meant the following use case may make it clear
I need a search form has 2 inputs bar and Tar and searches for Foo
if I entered Bar only it will show Foos with bar = form bar value
and if I entered Tar it well show Foos with tar = form tar value
and if I entered both bar and tar it well return Foos with bar and tar = form bar and tar values
my problem is the finder
Code:
findFooByBarEqualsAndTarEquals(String bar, String tar)
wont allow null parameter
i've work around by using 3 finders
Code:
findFooByBarEquals(String bar)
findFooByTarEquals(String tar)
findFooByBarEqualsAndTarEquals(String bar, String tar)
and the controller choose between them depending on the received form parameter
but things got messy with forms that have 3 or more search parameters
and I still need to create the form and controller method myself