使用JBoss Seam提供的Converter

在Seam中,使用<s:convertEntity/>或者<s:convertEnum/>会方便很多,Seam会自动将用户选中的Entity实例放到对应选择标签的value中。

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注