|
<tr>
<td align="right">
<label class="Validform_label">备注:</label>
</td>
<td class="value" colspan="3">
<textarea id="vmemo" style="width:600px;" class="inputxt" rows="6" name="vmemo" ignore="ignore" ></textarea>
<span class="Validform_checktip"></span>
<label class="Validform_label" style="display: none;">备注</label>
</td>
</tr>
多行文本加了css class="inputxt" 显示效果是一行 去掉这个css 显示效果正常 (控件类型为多行文本)
其中字段类型为Text 控件类型为多行文本 保存异常 提示String类型不能转化为Text
具体错误信息如下
Field error in object 'srmDeliveryPage' on field 'vmemo': rejected value []; codes [typeMismatch.srmDeliveryPage.vmemo,typeMismatch.vmemo,typeMismatch.javax.xml.soap.Text,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [srmDeliveryPage.vmemo,vmemo]; arguments []; default message [vmemo]]; default message [Failed to convert property value of type 'java.lang.String' to required type 'javax.xml.soap.Text' for property 'vmemo'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [java.lang.String] to required type [javax.xml.soap.Text] for property 'vmemo': no matching editors or conversion strategy found]
|
-
-
|