Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Invalid content was found starting with element 'jr:table'.

2971048Jun 15 2015 — edited Jun 15 2015

Hi,

I have developed a PDF report using iReport-5.6.0 . In iReport everything works fine. I have created .jsp file in Eclipse. when I try to run this program in Eclipse,I get the following exception:

SEVERE: Parse Error at line 130 column 227: cvc-complex-type.2.4.a: Invalid content was found starting with element 'jr:table'. One of '{"http://jasperreports.sourceforge.net/jasperreports":component}' is expected.

org.xml.sax.SAXParseException; lineNumber: 130; columnNumber: 227; cvc-complex-type.2.4.a: Invalid content was found starting with element 'jr:table'. One of '{"http://jasperreports.sourceforge.net/jasperreports":component}' is expected.

  at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)

  at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134)

  at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:437)

  at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:368)

  at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:325)

  at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:458)

  at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3237)

  at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1796)

  at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:746)

  at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:379)

  at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2786)

  at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)

  at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)

  at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)

  at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)

  at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)

  at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)

  at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)

  at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:648)

  at org.apache.commons.digester.Digester.parse(Digester.java:1892)

  at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:239)

  at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:226)

  at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:214)

  at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:168)

  at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:152)

  at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:150)

  at org.apache.jsp.pdf1_jsp._jspService(pdf1_jsp.java:156)

  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431)

  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)

  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)

  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)

  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)

  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)

  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)

  at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)

  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)

  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)

  at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)

  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)

  at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)

  at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1517)

  at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1474)

  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

  at java.lang.Thread.run(Thread.java:745)

pdf1.jsp:

<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

<%@page import="net.sf.jasperreports.engine.design.JRDesignQuery"%>

<%@page import="net.sf.jasperreports.engine.xml.JRXmlLoader"%>

<%@page import="net.sf.jasperreports.engine.design.JasperDesign"%>

<%@page import="net.sf.jasperreports.view.JasperViewer"%>

<%@ page import="net.sf.jasperreports.engine.*" %>

<%@ page import="java.io.File"%>

<%@ page import="java.io.FileInputStream" %>

<%@ page import="java.io.FileNotFoundException" %>

<%@ page import="java.io.InputStream" %>

<%@ page import="java.sql.Connection"%>

<%@ page import="java.sql.DriverManager" %>

<%@ page import="java.sql.SQLException"%>

<head>

<meta http-equiv=”Content-Type” content=”text/html; charset=ISO-8859-1″>

<title>Insert title here</title>

</head>

<body>

<%

Connection conn=null;

try {

Class.forName("oracle.jdbc.driver.OracleDriver");

conn = DriverManager.getConnection("jdbc:oracle:thin:@192.168.1.2:1521:orcl", "biretail",

  "biretail");

String report="C:\\Users\\admin\\attendance.jrxml";

JasperReport jasperreport=JasperCompileManager.compileReport(report);

JasperPrint jp=JasperFillManager.fillReport(jasperreport, null,conn);

JasperViewer.viewReport(jp);

}

catch(Exception e)

{

out.println(e);

}

%>

</body>

</html>

attendance.jrxml:

<?xml version="1.0" encoding="UTF-8"?>

<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="attendance" language="groovy" pageWidth="1224" pageHeight="595" orientation="Landscape" columnWidth="1184" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">

  <property name="ireport.zoom" value="1.0"/>

  <property name="ireport.x" value="0"/>

  <property name="ireport.y" value="0"/>

  <style name="table">

  <box>

  <pen lineWidth="1.0" lineColor="#000000"/>

  </box>

  </style>

  <style name="table_TH" mode="Opaque" backcolor="#F0F8FF">

  <box>

  <pen lineWidth="0.5" lineColor="#000000"/>

  </box>

  </style>

  <style name="table_CH" mode="Opaque" backcolor="#BFE1FF">

  <box>

  <pen lineWidth="0.5" lineColor="#000000"/>

  </box>

  </style>

  <style name="table_TD" mode="Opaque" backcolor="#FFFFFF">

  <box>

  <pen lineWidth="0.5" lineColor="#000000"/>

  </box>

  <conditionalStyle>

  <conditionExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()%2==0)]]></conditionExpression>

  <style backcolor="#EFF7FF"/>

  </conditionalStyle>

  </style>

  <style name="table 1">

  <box>

  <pen lineWidth="1.0" lineColor="#000000"/>

  </box>

  </style>

  <style name="table 1_TH" mode="Opaque" backcolor="#F0F8FF">

  <box>

  <pen lineWidth="0.5" lineColor="#000000"/>

  </box>

  </style>

  <style name="table 1_CH" mode="Opaque" backcolor="#BFE1FF">

  <box>

  <pen lineWidth="0.5" lineColor="#000000"/>

  </box>

  </style>

  <style name="table 1_TD" mode="Opaque" backcolor="#FFFFFF">

  <box>

  <pen lineWidth="0.5" lineColor="#000000"/>

  </box>

  <conditionalStyle>

  <conditionExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()%2==0)]]></conditionExpression>

  <style backcolor="#EFF7FF"/>

  </conditionalStyle>

  </style>

  <style name="table 2">

  <box>

  <pen lineWidth="1.0" lineColor="#000000"/>

  </box>

  </style>

  <style name="table 2_TH" mode="Opaque" backcolor="#F0F8FF">

  <box>

  <pen lineWidth="0.5" lineColor="#000000"/>

  </box>

  </style>

  <style name="table 2_CH" mode="Opaque" backcolor="#BFE1FF">

  <box>

  <pen lineWidth="0.5" lineColor="#000000"/>

  </box>

  </style>

  <style name="table 2_TD" mode="Opaque" backcolor="#FFFFFF">

  <box>

  <pen lineWidth="0.5" lineColor="#000000"/>

  </box>

  <conditionalStyle>

  <conditionExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()%2==0)]]></conditionExpression>

  <style backcolor="#EFF7FF"/>

  </conditionalStyle>

  </style>

  <subDataset name="New Dataset 1" >

  <queryString language="SQL">

  <![CDATA[select empcode,empname, punchdate,login, brkout, brkin,logout,  round((to_date(login ,'HH24:MI')-to_date(starttime,'HH24:MI')) * 24 * 60)late,  round((to_date(endtime,'HH24:MI')-to_date(logout,'HH24:MI')) * 24 * 60) early, round((to_date(brkin,'HH24:MI')-to_date(brkout,'HH24:MI')) * 24 * 60) brk,round(( decode( to_date(login , 'HH24:MI') - to_date (brkout , 'HH24:MI') , '' ,0,to_date(brkout , 'HH24:MI') - to_date (login , 'HH24:MI') )  + decode( to_date(logout , 'HH24:MI') - to_date (brkin , 'HH24:MI'), '',0,  to_date(logout , 'HH24:MI') - to_date (brkin , 'HH24:MI') ) ) * 24 ) tothrs,uniform,remarks from ( select a.empcode,b.empname,a.punchdate,  to_char( min (case when a.status ='IN' then a.punchtime ELSE null END) , 'HH24:MI' ) login,  to_char( ( case when ( min (case when a.status ='IN' then a.punchtime  ELSE null END)) =   ( max (case when a.status ='IN' then a.punchtime  ELSE null END)) then  null else max (case when a.status ='IN' then a.punchtime  ELSE null END)  end ),'HH24:MI' ) brkin,  to_char( min (case when a.status ='OUT' then a.punchtime  ELSE null END) , 'HH24:MI' ) brkout,to_char( ( case when ( min (case when a.status ='OUT' then a.punchtime  ELSE null END)) =  ( max (case when a.status ='OUT' then a.punchtime  ELSE null END)) then  null else max (case when a.status ='OUT' then a.punchtime  ELSE null END)end ),'HH24:MI' ) logout, to_char( c.starttime ,'HH24:MI') starttime ,  to_char( c.endtime ,'HH24:MI') endtime,a.uniform,a.remarks from peco.memployeetrack a,peco.memployee b, peco.mshift c  Where a.punchdate  = '01-Oct-2014'  and a.empcode=b.empcode and b.shiftcode=c.shiftcode group by a.empcode,b.empname,a.punchdate,c.starttime,c.endtime,a.uniform,a.remarks )  union all select empcode,empname, null aspunchdate, '' login , '' brkout, '' brkin, '' logout, 0late,  0 early , 0 brk , 0 tothrs,'','' from peco.memployee    where empcode not in  (select EMPCODE from peco.MEMPLOYEETRACK where punchdate = '01-Oct-2014'  and ourbranchcode = 'HO')   and ourbranchcode='HO'  and isactive=0 and empcode <> 'NONE' order by punchdate , empname]]>

  </queryString>

  <field name="EMPCODE" class="java.lang.String"/>

  <field name="EMPNAME" class="java.lang.String"/>

  <field name="PUNCHDATE" class="java.sql.Timestamp"/>

  <field name="LOGIN" class="java.lang.String"/>

  <field name="BRKOUT" class="java.lang.String"/>

  <field name="BRKIN" class="java.lang.String"/>

  <field name="LOGOUT" class="java.lang.String"/>

  <field name="LATE" class="java.math.BigDecimal"/>

  <field name="EARLY" class="java.math.BigDecimal"/>

  <field name="BRK" class="java.math.BigDecimal"/>

  <field name="TOTHRS" class="java.math.BigDecimal"/>

  <field name="UNIFORM" class="java.lang.String"/>

  <field name="REMARKS" class="java.lang.String"/>

  </subDataset>

  <queryString>

  <![CDATA[select empcode,empname, punchdate,login, brkout, brkin,logout,  round((to_date(login ,'HH24:MI')-to_date(starttime,'HH24:MI')) * 24 * 60)late,  round((to_date(endtime,'HH24:MI')-to_date(logout,'HH24:MI')) * 24 * 60) early, round((to_date(brkin,'HH24:MI')-to_date(brkout,'HH24:MI')) * 24 * 60) brk,round(( decode( to_date(login , 'HH24:MI') - to_date (brkout , 'HH24:MI') , '' ,0,to_date(brkout , 'HH24:MI') - to_date (login , 'HH24:MI') )  + decode( to_date(logout , 'HH24:MI') - to_date (brkin , 'HH24:MI'), '',0,  to_date(logout , 'HH24:MI') - to_date (brkin , 'HH24:MI') ) ) * 24 ) tothrs,uniform,remarks from ( select a.empcode,b.empname,a.punchdate,  to_char( min (case when a.status ='IN' then a.punchtime ELSE null END) , 'HH24:MI' ) login,  to_char( ( case when ( min (case when a.status ='IN' then a.punchtime  ELSE null END)) =   ( max (case when a.status ='IN' then a.punchtime  ELSE null END)) then  null else max (case when a.status ='IN' then a.punchtime  ELSE null END)  end ),'HH24:MI' ) brkin,  to_char( min (case when a.status ='OUT' then a.punchtime  ELSE null END) , 'HH24:MI' ) brkout,to_char( ( case when ( min (case when a.status ='OUT' then a.punchtime  ELSE null END)) =  ( max (case when a.status ='OUT' then a.punchtime  ELSE null END)) then  null else max (case when a.status ='OUT' then a.punchtime  ELSE null END)end ),'HH24:MI' ) logout, to_char( c.starttime ,'HH24:MI') starttime ,  to_char( c.endtime ,'HH24:MI') endtime,a.uniform,a.remarks from peco.memployeetrack a,peco.memployee b, peco.mshift c  Where a.punchdate  = '01-Oct-2014'  and a.empcode=b.empcode and b.shiftcode=c.shiftcode group by a.empcode,b.empname,a.punchdate,c.starttime,c.endtime,a.uniform,a.remarks )  union all select empcode,empname, null aspunchdate, '' login , '' brkout, '' brkin, '' logout, 0late,  0 early , 0 brk , 0 tothrs,'','' from peco.memployee    where empcode not in  (select EMPCODE from peco.MEMPLOYEETRACK where punchdate = '01-Oct-2014'  and ourbranchcode = 'HO')   and ourbranchcode='HO'  and isactive=0 and empcode <> 'NONE' order by punchdate , empname]]>

  </queryString>

  <field name="EMPCODE" class="java.lang.String"/>

  <field name="EMPNAME" class="java.lang.String"/>

  <field name="PUNCHDATE" class="java.sql.Timestamp"/>

  <field name="LOGIN" class="java.lang.String"/>

  <field name="BRKOUT" class="java.lang.String"/>

  <field name="BRKIN" class="java.lang.String"/>

  <field name="LOGOUT" class="java.lang.String"/>

  <field name="LATE" class="java.math.BigDecimal"/>

  <field name="EARLY" class="java.math.BigDecimal"/>

  <field name="BRK" class="java.math.BigDecimal"/>

  <field name="TOTHRS" class="java.math.BigDecimal"/>

  <field name="UNIFORM" class="java.lang.String"/>

  <field name="REMARKS" class="java.lang.String"/>

  <background>

  <band splitType="Stretch"/>

  </background>

  <title>

  <band height="79" splitType="Stretch"/>

  </title>

  <pageHeader>

  <band height="35" splitType="Stretch"/>

  </pageHeader>

  <columnHeader>

  <band height="50" splitType="Stretch"/>

  </columnHeader>

  <detail>

  <band height="14" splitType="Stretch">

  <componentElement>

  <reportElement key="table 2" style="table 2" x="0" y="0" width="844" height="14" >

  <printWhenExpression><![CDATA[$V{REPORT_COUNT} == 1]]></printWhenExpression>

  </reportElement>

  <jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd">

  <datasetRun subDataset="New Dataset 1" >

  <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>

  </datasetRun>

  <jr:column width="90" >

  <jr:columnHeader style="table 2_CH" height="30">

  <staticText>

  <reportElement x="0" y="0" width="90" height="30" />

  <text><![CDATA[EMPCODE]]></text>

  </staticText>

  </jr:columnHeader>

  <jr:columnFooter style="table 2_CH" height="30"/>

  <jr:detailCell style="table 2_TD" height="20">

  <textField isStretchWithOverflow="true" isBlankWhenNull="true">

  <reportElement x="0" y="0" width="90" height="20" />

  <textFieldExpression><![CDATA[$F{EMPCODE}]]></textFieldExpression>

  </textField>

  </jr:detailCell>

  </jr:column>

  <jr:column width="90" >

  <jr:columnHeader style="table 2_CH" height="30">

  <staticText>

  <reportElement x="0" y="0" width="90" height="30" />

  <text><![CDATA[EMPNAME]]></text>

  </staticText>

  </jr:columnHeader>

  <jr:columnFooter style="table 2_CH" height="30"/>

  <jr:detailCell style="table 2_TD" height="20">

  <textField isStretchWithOverflow="true" isBlankWhenNull="true">

  <reportElement x="0" y="0" width="90" height="20" />

  <textFieldExpression><![CDATA[$F{EMPNAME}]]></textFieldExpression>

  </textField>

  </jr:detailCell>

  </jr:column>

  <jr:column width="90" >

  <jr:columnHeader style="table 2_CH" height="30">

  <staticText>

  <reportElement x="0" y="0" width="90" height="30" />

  <text><![CDATA[PUNCHDATE]]></text>

  </staticText>

  </jr:columnHeader>

  <jr:columnFooter style="table 2_CH" height="30"/>

  <jr:detailCell style="table 2_TD" height="20">

  <textField isStretchWithOverflow="true" isBlankWhenNull="true">

  <reportElement x="0" y="0" width="90" height="20" />

  <textFieldExpression><![CDATA[$F{PUNCHDATE}]]></textFieldExpression>

  </textField>

  </jr:detailCell>

  </jr:column>

  <jr:column width="90" >

  <jr:columnHeader style="table 2_CH" height="30">

  <staticText>

  <reportElement x="0" y="0" width="90" height="30" />

  <text><![CDATA[LOGIN]]></text>

  </staticText>

  </jr:columnHeader>

  <jr:columnFooter style="table 2_CH" height="30"/>

  <jr:detailCell style="table 2_TD" height="20">

  <textField isStretchWithOverflow="true" isBlankWhenNull="true">

  <reportElement x="0" y="0" width="90" height="20" />

  <textFieldExpression><![CDATA[$F{LOGIN}]]></textFieldExpression>

  </textField>

  </jr:detailCell>

  </jr:column>

  <jr:column width="90" >

  <jr:columnHeader style="table 2_CH" height="30">

  <staticText>

  <reportElement x="0" y="0" width="90" height="30" />

  <text><![CDATA[BRKOUT]]></text>

  </staticText>

  </jr:columnHeader>

  <jr:columnFooter style="table 2_CH" height="30"/>

  <jr:detailCell style="table 2_TD" height="20">

  <textField isStretchWithOverflow="true" isBlankWhenNull="true">

  <reportElement x="0" y="0" width="90" height="20" />

  <textFieldExpression><![CDATA[$F{BRKOUT}]]></textFieldExpression>

  </textField>

  </jr:detailCell>

  </jr:column>

  <jr:column width="90" >

  <jr:columnHeader style="table 2_CH" height="30">

  <staticText>

  <reportElement x="0" y="0" width="90" height="30" />

  <text><![CDATA[BRKIN]]></text>

  </staticText>

  </jr:columnHeader>

  <jr:columnFooter style="table 2_CH" height="30"/>

  <jr:detailCell style="table 2_TD" height="20">

  <textField isStretchWithOverflow="true" isBlankWhenNull="true">

  <reportElement x="0" y="0" width="90" height="20" />

  <textFieldExpression><![CDATA[$F{BRKIN}]]></textFieldExpression>

  </textField>

  </jr:detailCell>

  </jr:column>

  <jr:column width="90" >

  <jr:columnHeader style="table 2_CH" height="30">

  <staticText>

  <reportElement x="0" y="0" width="90" height="30" />

  <text><![CDATA[LOGOUT]]></text>

  </staticText>

  </jr:columnHeader>

  <jr:columnFooter style="table 2_CH" height="30"/>

  <jr:detailCell style="table 2_TD" height="20">

  <textField isStretchWithOverflow="true" isBlankWhenNull="true">

  <reportElement x="0" y="0" width="90" height="20" />

  <textFieldExpression><![CDATA[$F{LOGOUT}]]></textFieldExpression>

  </textField>

  </jr:detailCell>

  </jr:column>

  <jr:column width="90" >

  <jr:columnHeader style="table 2_CH" height="30">

  <staticText>

  <reportElement x="0" y="0" width="90" height="30" />

  <text><![CDATA[LATE]]></text>

  </staticText>

  </jr:columnHeader>

  <jr:columnFooter style="table 2_CH" height="30"/>

  <jr:detailCell style="table 2_TD" height="20">

  <textField isStretchWithOverflow="true" isBlankWhenNull="true">

  <reportElement x="0" y="0" width="90" height="20" />

  <textFieldExpression><![CDATA[$F{LATE}]]></textFieldExpression>

  </textField>

  </jr:detailCell>

  </jr:column>

  <jr:column width="90" >

  <jr:columnHeader style="table 2_CH" height="30">

  <staticText>

  <reportElement x="0" y="0" width="90" height="30" />

  <text><![CDATA[EARLY]]></text>

  </staticText>

  </jr:columnHeader>

  <jr:columnFooter style="table 2_CH" height="30"/>

  <jr:detailCell style="table 2_TD" height="20">

  <textField isStretchWithOverflow="true" isBlankWhenNull="true">

  <reportElement x="0" y="0" width="90" height="20" />

  <textFieldExpression><![CDATA[$F{EARLY}]]></textFieldExpression>

  </textField>

  </jr:detailCell>

  </jr:column>

  <jr:column width="90" >

  <jr:columnHeader style="table 2_CH" height="30">

  <staticText>

  <reportElement x="0" y="0" width="90" height="30" />

  <text><![CDATA[BRK]]></text>

  </staticText>

  </jr:columnHeader>

  <jr:columnFooter style="table 2_CH" height="30"/>

  <jr:detailCell style="table 2_TD" height="20">

  <textField isStretchWithOverflow="true" isBlankWhenNull="true">

  <reportElement x="0" y="0" width="90" height="20" />

  <textFieldExpression><![CDATA[$F{BRK}]]></textFieldExpression>

  </textField>

  </jr:detailCell>

  </jr:column>

  <jr:column width="90" >

  <jr:columnHeader style="table 2_CH" height="30">

  <staticText>

  <reportElement x="0" y="0" width="90" height="30" />

  <text><![CDATA[TOTHRS]]></text>

  </staticText>

  </jr:columnHeader>

  <jr:columnFooter style="table 2_CH" height="30"/>

  <jr:detailCell style="table 2_TD" height="20">

  <textField isStretchWithOverflow="true" isBlankWhenNull="true">

  <reportElement x="0" y="0" width="90" height="20" />

  <textFieldExpression><![CDATA[$F{TOTHRS}]]></textFieldExpression>

  </textField>

  </jr:detailCell>

  </jr:column>

  <jr:column width="90" >

  <jr:columnHeader style="table 2_CH" height="30">

  <staticText>

  <reportElement x="0" y="0" width="90" height="30" />

  <text><![CDATA[UNIFORM]]></text>

  </staticText>

  </jr:columnHeader>

  <jr:columnFooter style="table 2_CH" height="30"/>

  <jr:detailCell style="table 2_TD" height="20">

  <textField isStretchWithOverflow="true" isBlankWhenNull="true">

  <reportElement x="0" y="0" width="90" height="20" />

  <textFieldExpression><![CDATA[$F{UNIFORM}]]></textFieldExpression>

  </textField>

  </jr:detailCell>

  </jr:column>

  <jr:column width="90" >

  <jr:columnHeader style="table 2_CH" height="30">

  <staticText>

  <reportElement x="0" y="0" width="90" height="30"/>

  <text><![CDATA[REMARKS]]></text>

  </staticText>

  </jr:columnHeader>

  <jr:columnFooter style="table 2_CH" height="30"/>

  <jr:detailCell style="table 2_TD" height="20">

  <textField isStretchWithOverflow="true" isBlankWhenNull="true">

  <reportElement x="0" y="0" width="90" height="20"/>

  <textFieldExpression><![CDATA[$F{REMARKS}]]></textFieldExpression>

  </textField>

  </jr:detailCell>

  </jr:column>

  </jr:table>

  </componentElement>

  </band>

  </detail>

</jasperReport>

Please help me. Thanks in advance.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 13 2015
Added on Jun 15 2015
0 comments
4,099 views