mirror of
https://gitee.com/nutz/nutzboot.git
synced 2024-12-04 04:38:30 +08:00
update:给Ureport加入PropDoc
This commit is contained in:
parent
1f4775bc8a
commit
33d9b9bbe6
@ -8,6 +8,7 @@ import javax.servlet.ServletConfig;
|
||||
import javax.servlet.ServletContext;
|
||||
import javax.servlet.ServletException;
|
||||
|
||||
import org.nutz.boot.annotation.PropDoc;
|
||||
import org.nutz.boot.starter.WebServletFace;
|
||||
import org.nutz.ioc.loader.annotation.IocBean;
|
||||
import org.springframework.web.context.WebApplicationContext;
|
||||
@ -17,7 +18,15 @@ import com.bstek.ureport.console.UReportServlet;
|
||||
@SuppressWarnings("serial")
|
||||
@IocBean
|
||||
public class UreportServletStarter extends UReportServlet implements WebServletFace {
|
||||
|
||||
|
||||
@PropDoc(value = "定义UReport2中提供的默认基于文件系统的报表存储目录", defaultValue = "")
|
||||
public static final String UREPORT_FILESTOREDIR = "ureport.fileStoreDir";
|
||||
|
||||
|
||||
@PropDoc(value = "是否启用自定义报表存储器", defaultValue = "")
|
||||
public static final String UREPORT_DISABLEFILEPROVIDER= "ureport.disableFileProvider";
|
||||
|
||||
|
||||
public String getName() {
|
||||
return "ureport";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user