我有一个名为VW_PRINT MR
的视图,它有一个名为DocStatus
的列,DocStatus
中有三种类型的值,它们是'CO','CL','DR
。
我尝试过使用Jasper Report同步视图。
"Documents Approved"
DocStatus
CO
时'Document has not Approved yet'
'DocStatus'
'DR'
$F(VW_PRINTMR_DOCSTATUS)='CO'
public HttpServletRequest request;
public HttpServletResponse response;
public void setServletRequest(HttpServletRequest request) {
this.request = request;
}
public HttpServletRequest getServletRequest() {
return request;
}
public void setServletResponse(HttpServletResponse response) {
this.response = response;
}
public HttpServletResponse getServletResponse() {
return response;
}
时如何打印setServletRequest/Response()
?
我已尝试将$('#share').click(function(){
alert('NavigatorObj '+navigator.screenshot+ " WindowObj " + window.plugins.screenshot);
}
放入Print When Expression中,但它不起作用。
答案 0 :(得分:0)
有效! :
$F{VW_PRINTMR_DOCSTATUS}.replace("CO","Document is completed").replace("DR","Document has not approved").replace("CL","Document is closed").replace("AP","Document is Partially Approved").replace("IN","Document is Invalid")