xp:inputText和multipleSeparator仅对于输入的multipla值起作用

问题描述 投票:0回答:1

我有一个xp:inputText元素,其属性为ultipleSeparator =“,”

inputText具有作为数据绑定值=“#{customerBean.customer.groupMail}”]

客户对象的字段定义如下:

private List<String> groupMail = new ArrayList<String>();

当我输入多个值并提交时,这些值已正确存储在Notes文档中。但是,当我只提交一个值时,就会收到警告消息:

java.lang.IllegalArgumentException:参数类型不匹配

我在做什么错?

java jsf xpages
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.