日期:2014-05-16  浏览次数:20466 次

JSF相关表单控件收集

import javax.enterprise.context.RequestScoped;
import javax.enterprise.context.SessionScoped;
import javax.inject.Named;
import org.primefaces.model.UploadedFile;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
?*@描?? 述:??? 解决方案
?*@ author:? yuxiaojian_yuxia2217@163.com
?*@version: 1.0
?*/
@Named("egetSolutionsController")
@RequestScoped
//@SessionScoped
public class EgetSolutionsController implements java.io.Serializable{
?final Logger logger = LoggerFactory.getLogger(EgetSolutionsController.class);? //日志管理

?

<f:event type="preRenderView" listener="#{egetSolutionsController.findInfo()}" />

?

?

//初始化

?@javax.annotation.PostConstruct

?

?

?

JPA

?

??? @javax.persistence.Transient
??? private? String typeName;?? //过滤数据库字段

?

?

?

?