Open GoogleCodeExporter opened 9 years ago
I found indicator image(loading image) was printed in center of page when i print the page. Which struts2 version? struts2-core-2.3.1.2.jar Which struts2-jquery plugin version? struts2-jquery-grid-plugin-3.3.3.jar struts2-json-plugin-2.2.1.jar Please provide any additional information below. this my code : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <%@ taglib uri="/struts-tags" prefix="s"%> <%@ taglib prefix="sj" uri="/struts-jquery-tags"%> <%@ taglib prefix="sjg" uri="/struts-jquery-grid-tags"%> <%@ page contentType="text/html; charset=UTF-8" %> <html> <head> <script src="<%=request.getContextPath()%>/scripts/jquery.js"></script> <s:head/> <sj:head jquerytheme="start" jqueryui="true" defaultLoadingText=" " /> <% String stPageDir = "ltr"; String lang=(String)session.getAttribute("preferredLanguageCode"); if("ar".equals(lang)) { stPageDir = "rtl"; %> <link rel="stylesheet" type="text/css" href='<%=request.getContextPath()%>/theme/NewMaster_ar.css' /> <% }else{%> <link rel="stylesheet" type="text/css" href='<%=request.getContextPath()%>/theme/NewMaster.css'/> <%} %> </head> <body dir="<%=stPageDir%>"> <div id="mydiv"> <br/> <div class="otherAlign"> <img src="<%=request.getContextPath()%>/images/NewDesign/logoTxt.png" id="logoTxt" /><br /> </div> <table class="Action-Table"> <tr> <th > <s:text name="Account_Activity_Details"></s:text> </th> </tr> <tr> <td> <s:text name="Account_Activity_for"></s:text>:<s:property value="accountnumber" /> </td> </tr> </table> <s:url id="remoteurl" action="accountActivityGrid" /> <sjg:grid id="gridtable" viewrecords="true" dataType="json" loadonce="true" href="%{remoteurl}" gridModel="alAccountActivities" gridview="true" rownumbers="true" rowNum="-1" onCompleteTopics="complete" sortable="false" autowidth="true" indicator="indicator" > <sjg:gridColumn name="stTransactionDate" title="%{getText('CP_TRANSACTION_DATE')}" /> <sjg:gridColumn name="stDescription" title="%{getText('CP_DESCRIPTION')}" /> <sjg:gridColumn name="stStatementDate" title="%{getText('CP_VALUE_DATE')}" /> <sjg:gridColumn name="stAmount" title="%{getText('CP_AMOUNT')}" /> <sjg:gridColumn name="stTransactionTypeName" title="%{getText('CP_TRANSACTION_TYPE')}" /> </sjg:grid> </div> </body> <script language="JavaScript" src="<%=request.getContextPath()%>/scripts/jquery.jqprint-0.3.js"></script> <script> $("body").css("background","none"); $("#indicator").css("display","none"); $.subscribe("complete", function() { $("#mydiv").jqprint(); }); </script> </html>
Original issue reported on code.google.com by sherif.a...@gmail.com on 9 Oct 2012 at 1:10
sherif.a...@gmail.com
Original issue reported on code.google.com by
sherif.a...@gmail.com
on 9 Oct 2012 at 1:10