当我遇到minSize和maxSize错误时,我有ui:repeat
j_idt59:2:string: Validation Error: Length is greater than allowable maximum of '0'
我尝试在屏幕上打印值,输出为true最小值为0,最大值为20 但是当我在f:validateLength中设置时,出现错误消息
这是我的代码
<p:inputText required="#{fileds.required == true? true : false}"
id="string" requiredMessage="#{language.messageErrorRequied.value}"
value="#{layoutComponentView.typeFiledsMap[fileds.code.concat(language.lang)]}">
<f:validateLength minimum="#{fileds.minSize}" maximum="#{fileds.maxSize}" />
</p:inputText>