net.wicp.tams.component.components.ValidateBox Maven / Gradle / Ivy
package net.wicp.tams.component.components;
import org.apache.tapestry5.annotations.Import;
import org.apache.tapestry5.json.JSONObject;
import net.wicp.tams.component.components.base.BaseValidateBox;
/***
* 验证组件
* @author andy.zhou
*
*/
@Import(stack = "easyuistack")
public class ValidateBox extends BaseValidateBox {
@Override
protected void packParms(JSONObject spec) {
super.packParms(spec);
spec.put("class", "validatebox");
spec.put("ishtml", true);
}
boolean beforeRenderBody() {
return false;
}
}