Hello,
I have a bunch of documents saved in a batch, laterwards I press print batch, then it supposedly print each of the documents as saved in the batch, but as of right now, only the first document print, the rest of it doesn't, can anyone tell me if I miss something in my code? many many thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
String[] myFiles = new String[0];
%>
<SCRIPT Language="Javascript">
var printFileName = new Array(
<%
if(mySession.getAttribute("printFileNames" != null)
{
myFiles = (String[]) mySession.getAttribute("printFileNames"
for(int i=0; i< myFiles.length; i++)
{
if(i>0) out.print(","
%>
"<%=myFiles%>"
<%
}
}
%>);
</SCRIPT>
<%
I have a bunch of documents saved in a batch, laterwards I press print batch, then it supposedly print each of the documents as saved in the batch, but as of right now, only the first document print, the rest of it doesn't, can anyone tell me if I miss something in my code? many many thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
String[] myFiles = new String[0];
%>
<SCRIPT Language="Javascript">
var printFileName = new Array(
<%
if(mySession.getAttribute("printFileNames" != null)
{
myFiles = (String[]) mySession.getAttribute("printFileNames"
for(int i=0; i< myFiles.length; i++)
{
if(i>0) out.print(","
%>
"<%=myFiles%>"
<%
}
}
%>);
</SCRIPT>
<%