Nicklas Karlsson wrote:
> Hi,
> 
> I found an oldish posting saying that setField was not supported for
> multi-select listboxes. Is this still the case?
> 
> Is the workaround to check the field type, typecast correctly and do
> some low level selections?

I thought I wrote an extra method for this, but apparently I didn't. I 
wrote a new method getListSelection(name), see the SVN repository: 
"getField(name) only returns one value, but when the value can be a list 
(in a multiselect choice), you can now use getListSelection(name) to get 
a String[] instead of a String."
If I have the time, I'll write a setListSelection(name, String[]); in 
the afternoon.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to