I'm having a problem which is primarily a UI issue, but I think would be
best addressed in the post servlet. Basically, I have a form with
multiple form fields for the same property and some of those are blank,
so my post parameters end up like this:

./stringprope...@typehint=string[]
./stringProperty=foo
./stringProperty=bar
./stringProperty=

This results in stringProperty getting set to ['foo','bar',''], which
isn't what I want (I want ['foo','bar']).

What I'd like to do is add @ExcludeBlanks as a new hint, so that

./stringprope...@typehint=string[]
./stringprope...@excludeblanks=true
./stringProperty=foo
./stringProperty=bar
./stringProperty=

results in the array of two values.

WDYT?

Justin

Reply via email to