473,657 Members | 2,282 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I get the "Object expected" error.

11 New Member
Hello,

Can anyone please help me, where did I go wrong..?

Line : 388
Char : 1
Error : Object Expected
Code : 0

Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
  3. <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
  4. <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
  5. <%@ taglib uri="/WEB-INF/dcms.tld" prefix="dcms"%>
  6. <html:html>
  7. <HEAD>
  8. <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
  9.     pageEncoding="ISO-8859-1"%>
  10. <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  11. <link href="<%=request.getContextPath()%>/theme/LHDN.css" rel="stylesheet" type="text/css">
  12. <META name="GENERATOR" content="IBM Software Development Platform">
  13. </HEAD>
  14. <SCRIPT language=Javascript src="<%=request.getContextPath()%>/script/date-picker.js" type=text/javascript></SCRIPT>
  15. <script language="javascript" src="<%=request.getContextPath()%>/script/commonUtil.js">
  16. </script>
  17. <script language="javascript">
  18. function performPrint(ele)
  19. {
  20. ele.form.hiddenPrint.value="print";
  21. ele.form.action="xcView.do";
  22. ele.form.submit();
  23. }
  24. function performView(ele)
  25. {
  26. ele.form.action="xc.do"
  27. ele.form.submit();
  28.  
  29. }
  30. function checkforUpdate(ele)
  31. {
  32.    if(!removeAllCommaCheckLength('number',13))
  33.                     return false;
  34.             if (ele.status.value=="R" )
  35.                 {
  36.         alert("XC18 telah dihantar ke Guaman sivil");
  37.                                  ele.action="xcSearch.do"  
  38.  
  39.  
  40.                    }else{
  41.                              ele.action="xcUpdate.do"        
  42.                        }
  43. }
  44. function performTerima(ele)
  45. {
  46.     ele.form.action="xc18TerimaAction.do"
  47.     ele.form.submit();
  48. }
  49.  
  50. function performTolak(ele)
  51. {
  52.  
  53.     ele.form.action="xc18CSHeadTolakAction.do"
  54.     ele.form.submit();
  55. }
  56.  
  57. function performLulus(ele)
  58. {
  59.  
  60.     ele.form.action="xc18LulusAction.do"
  61.     ele.form.submit();
  62. }
  63. function showTable()
  64. {
  65.   frm = document.forms[0];
  66.   if(frm.status.value=="P" || frm.status.value=="X" )
  67.   {
  68.    document.getElementById("y").style.display="";
  69.    document.getElementById("n").style.display="none";
  70.   }else
  71.    {
  72.      document.getElementById("y").style.display="none";
  73.      document.getElementById("n").style.display="";
  74.    }
  75.  if(frm.status.value!="P" && frm.status.value!="X" && frm.status.value!="W" && frm.status.value!="A" && frm.status.value!="Z" && frm.status.value!="R")
  76.   {
  77.     document.getElementById("s").style.display="";    
  78.    }else
  79.    document.getElementById("s").style.display="none";  
  80. }
  81. function clearMultiDate(serial_no)
  82. document.getElementsByName("reduce_date")[serial_no].value="";
  83. }
  84.  
  85. </script>
  86. <body onload="showTable()">
  87. <html:form action="/xcUpdate" onsubmit="return checkforUpdate(this)">
  88.  
  89.     <table border="0" cellspacing="0" cellpadding="0" width="85%" >
  90. <logic:present name="xcForm" property="update_msg"> 
  91.          <tr> 
  92.           <td height="25" class="pagetitle"><font color="red"><bean:write name="xcForm" property="update_msg"/></font></td>
  93.          </tr>
  94. </logic:present>
  95.  
  96.  
  97.  
  98.         <tr> 
  99.           <td height="25" class="pagetitle"><img src="<%=request.getContextPath()%>/images/arrow_icon.jpg" width="10" height="10">&nbsp;<bean:message key="xc_bor"/> 
  100. <html:hidden  property="file_no" />
  101. <html:hidden property="taxpayer_key" />
  102. <html:hidden property="status" />
  103. <html:hidden property="it_ref_no" />
  104. <html:hidden property="taxtype_key" />
  105. <html:hidden property="install_year" />
  106. <html:hidden property="file_category" />
  107. <html:hidden property="file_type" />
  108. <html:hidden property="install_month" />
  109. <html:hidden property="hiddenPrint" />
  110. </td>
  111.         </tr>
  112.  
  113.         <TR> 
  114.           <td class="textinfo"><table width="50%" border="0" cellpadding="0" cellspacing="0" class="infobox">
  115.               <tr> 
  116.                 <td colspan="4" nowrap><table width="100%" border="0" cellpadding="0" cellspacing="0" >
  117.                     <tr> 
  118.                       <td height="23" class="titlebarinfo" width="130">&nbsp;</td>
  119.                       <td class="titlebarinfo" width="204">&nbsp;
  120.                                         </td>
  121.                       <td class="titlebarinfo" width="139">&nbsp;</td>
  122.                       <td class="titlebarinfo" width="871">&nbsp;</td>
  123.                     </tr>
  124.                     <tr> 
  125.                       <td height="23" class="textinfo" width="10%"><div align="left"><bean:message
  126.                                     key="xc_nom" /></div></td>
  127.                       <td class="textinfovalue" width="15%"> <div align="left"> 
  128.                           <bean:write name="xcForm"
  129.                                         property="file_no" /></div></td>
  130.                       <td class="textinfo" width="10%"><div align="left"><bean:message
  131.                                     key="xc_name" /> &nbsp;&nbsp;&nbsp;</div></td>
  132.                       <td class="textinfovalue" width="65%"> <div align="left"> 
  133.                           <bean:write name="xcForm"
  134.                                         property="taxpayer_name" /></div></td>
  135.                     </tr>
  136.                     <tr> 
  137.                       <td height="23" class="textinfo" width="22%"><div align="left"><bean:message
  138.                                     key="xc_kad" /><br>/No Pendaftaran Syarikat</div></td>
  139.                       <td class="textinfovalue" width="15%"> <div align="left"><bean:write
  140.                                         name="xcForm" property="new_ic_no" /></div></td>
  141.                       <td class="textinfo" width="10%"><div align="left"><bean:message
  142.                                     key="xc_pek" /></div></td>
  143.                       <td class="textinfovalue" width="65%"> <div align="left"><bean:write
  144.                                         name="xcForm" property="profession_code" /></div></td>
  145.                     </tr>
  146.                     <tr class="infobox">
  147.                       <td height="25" align="left" valign="middle" nowrap class="textinfo" width="130">No. Rujukan&nbsp;</td>
  148.                       <td class="textinfoValue" width="204"><bean:write name="xcForm" property="file_type"/><bean:write name="xcForm" property="it_ref_no"/></td>
  149.                       <td class="textinfo" width="139"></td>
  150.                       <td class="textinfoValue" width="871"></td>
  151.                     </tr>
  152. <tr class="infobox">
  153.                       <td height="25" align="right" valign="middle" nowrap class="textinfo" width="130">&nbsp;</td>
  154.                       <td class="textinfoValue" width="204">&nbsp;</td>
  155.                       <td class="textinfo" width="139"><bean:message key="xc_namem" /></td>
  156.                       <td class="textinfoValue" width="871"><html:text styleClass="textbox"
  157.                                         property="employer_name" size="60" maxlength="80"></html:text></td>
  158.                     </tr>
  159.                     <tr class="infobox"> 
  160.                       <td height="25" align="right" valign="middle" nowrap class="textinfo" width="130"><div align="left"><bean:message
  161.                                     key="xc_alake" /></div></td>
  162.                       <td class="textinfoValue" width="204"><div align="left"><html:text styleClass="textbox"
  163.                                         property="ra_address_line1" maxlength="50" size="60"></html:text>
  164.                         </div></td>
  165.                       <td class="textinfo" width="139"><bean:message key="xc_alama" /></td>
  166.                       <td class="textinfoValue" width="871"><html:text styleClass="textbox" property="re_address_line1" maxlength="50" size="60"></html:text></td>
  167.                     </tr>
  168.                     <tr class="infobox"> 
  169.                       <td height="19" align="right" valign="middle" nowrap class="textinfo" width="130"><div align="left"></div></td>
  170.                       <td class="textinfoValue" width="204"><div align="left"><html:text styleClass="textbox"
  171.                             property="ra_address_line2" maxlength="50" size="60"></html:text>
  172.                         </div></td>
  173.                       <td class="textinfo" width="139">&nbsp;</td>
  174.                       <td class="textinfoValue" width="871"><html:text styleClass="textbox" property="re_address_line2" maxlength="50" size="60"></html:text></td>
  175.                     </tr>
  176.                     <tr class="infobox"> 
  177.                       <td height="25" align="right" valign="middle" nowrap class="textinfo" width="130"><div align="left"></div></td>
  178.                       <td class="textinfoValue" width="204">
  179.                     <div align="left"><html:text styleClass="textbox"
  180.     property="ra_address_line3" maxlength="50" size="60"></html:text>
  181.                         </div></td>
  182.                       <td class="textinfo" width="139">&nbsp;</td>
  183.                       <td class="textinfoValue" width="871"><html:text styleClass="textbox" property="re_address_line3" maxlength="50" size="60"></html:text></td>
  184.                     </tr>
  185.                     <tr class="infobox"> 
  186.                       <td height="25" align="right" valign="middle" nowrap class="textinfo" width="130"><div align="left"><bean:message
  187.                                     key="xc_band" /></div></td>
  188.                       <td class="textinfoValue" width="204"><div align="left"><html:text styleClass="textbox"
  189.                                         property="ra_city" maxlength="30" size="50"></html:text>
  190.                         </div></td>
  191.                       <td align="right" valign="middle" nowrap class="textinfo" width="139"><div align="left"><bean:message
  192.                                     key="xc_band" /></div></td>
  193.                       <td class="textinfoValue" width="871"><html:text styleClass="textbox" property="re_city" maxlength="30" size="50"></html:text></td>
  194.                     </tr>
  195.                     <tr class="infobox"> 
  196.                       <td height="25" align="right" valign="middle" nowrap class="textinfo" width="130"><div align="left"><bean:message
  197.                                     key="xc_pos" /></div></td>
  198.                       <td class="textinfoValue" width="204"> <div align="left"><html:text styleClass="textbox"
  199.                                         property="ra_postcode" onkeypress="ValidKey('I')" maxlength="5"></html:text>
  200.                         </div></td>
  201.                       <td align="right" valign="middle" nowrap class="textinfo" width="139"><div align="left"><bean:message
  202.                                     key="xc_pos" /></div></td>
  203.                       <td class="textinfoValue" width="871"><html:text styleClass="textbox" property="re_postcode" onkeypress="ValidKey('I')" maxlength="5"></html:text></td>
  204.                     </tr>
  205.                     <tr class="infobox"> 
  206.                       <td height="25" align="right" valign="middle" nowrap class="textinfo" width="130"><div align="left"><bean:message
  207.                                     key="xc_negeri" /></div></td>
  208.                       <td class="textinfoValue" width="204"> <div align="left"><html:text styleClass="textbox"
  209.     property="ra_state" maxlength="30" size="50"></html:text>
  210.                         </div></td>
  211.                       <td class="textinfo" width="139"><div align="left"><bean:message
  212.          key="xc_negeri" /></div></td>
  213.                       <td class="textinfoValue" width="871"> <div align="left"><html:text styleClass="textbox"
  214.                                         property="re_state" maxlength="30" size="50"></html:text>
  215.                         </div></td>
  216.                     </tr>
  217.                     <tr class="infobox"> 
  218.                       <td height="25" colspan="4" align="right" valign="middle" nowrap class="texttablebottom">&nbsp;</td>
  219.                     </tr>
  220.                   </table></td>
  221.               </tr>
  222.             </table></TD>
  223.         </TR>
  224.         <tr> 
  225.           <td class="textinfo">&nbsp;</td>
  226.         </tr>
  227. <logic:equal name="xcForm" property="condition1" value="true">
  228.         <tr> 
  229.           <td class="textinfo"><br>
  230.     <bean:message key="xc_skim" /> 
  231.             <table width="50%" border="0" align="left" cellpadding="0" cellspacing="0" class="infobox">
  232.  
  233.               <tr class="text4" bgcolor="#FFFFFF"> 
  234.                 <td height="30" align="center" class="titlebarreport" width="31%"><div align="left"><bean:message
  235.                             key="xc_tahu" /></div></td>
  236.                 <td class="titlebarreport" width="231"><div align="left" width="20%"><bean:message
  237.                             key="xc_taria" /></div></td>
  238.                  <td class="titlebarreport" width="231"><div align="left" width="20%"><bean:message
  239.                             key="xc_taris" /></div></td>
  240.  
  241.               </tr>
  242. <logic:present name="xcForm" property="date_list">
  243. <logic:iterate name="xcForm" property="date_list" id="cond1">
  244.               <tr class="odd"> 
  245.                 <td align="center" class="textreport" width="208"><div align="left"><bean:write name="cond1" property="ass_year" /></div></td>
  246.                 <td class="textreport" width="231">
  247.       <bean:write name="cond1" property="due_date1" />&nbsp;</td>
  248.                 <td class="textreport" width="231">
  249.       <bean:write name="cond1" property="paid_date1" />&nbsp;</td>
  250.           </tr>
  251. </logic:iterate>
  252. </logic:present>
  253. <logic:notPresent name="xcForm" property="date_list">
  254. <tr class="odd"> 
  255.  <td align="center" class="titlebarinfo" colspan="9" ><bean:message
  256.                                 key="common_NO_RECORDS" /></td>
  257. </tr>
  258. </logic:notPresent>
  259.             </table></td>
  260.         </tr>
  261. </logic:equal>
  262. <logic:equal name="xcForm" property="condition2" value="true">
  263.  <tr> 
  264.           <td class="textinfo"><br>
  265.                     <bean:message key="xc_skim" /> 
  266.             <table width="50%" border="0" align="left" cellpadding="0" cellspacing="0" class="infobox">
  267.               <tr class="text4" bgcolor="#FFFFFF"> 
  268.                 <td height="30" align="center" class="titlebarreport" width="31%"><div align="left"><bean:message
  269.                             key="xc_tahu" /></div></td>
  270.                 <td class="titlebarreport" width="34%"><div align="left"><bean:message
  271.                             key="xc_cp_200" /></div></td>
  272.  
  273.               </tr>
  274. <logic:present name="xcForm" property="date_list">
  275. <logic:iterate name="xcForm" property="date_list" id="cond2">
  276.               <tr class="odd"> 
  277.                 <td align="center" class="textreport" width="208"><div align="left"><bean:write
  278.                                 name="cond2" property="ass_year" /></div></td>
  279.                 <td class="textreport" width="230"><bean:write
  280.                                 name="cond2" property="date1" />&nbsp;</td>
  281.  
  282.               </tr>
  283. </logic:iterate>
  284. </logic:present>
  285. <logic:notPresent name="xcForm" property="date_list">
  286. <tr class="odd"> 
  287.  <td align="center" class="titlebarinfo" colspan="9" ><bean:message
  288.                                 key="common_NO_RECORDS" />
  289. </td>
  290. </tr>
  291. </logic:notPresent>
  292.             </table></td>
  293.         </tr>
  294. </logic:equal>
  295. <logic:equal name="xcForm" property="condition3" value="true">
  296.  <tr> 
  297.           <td class="textinfo"><br>
  298.                     <bean:message key="xc_skim_selepas" /> 
  299.             <table width="50%" border="0" align="left" cellpadding="0" cellspacing="0" class="infobox">
  300.               <tr class="text4" bgcolor="#FFFFFF"> 
  301.                 <td height="30" align="center" class="titlebarreport" width="6%"><div align="left"><bean:message
  302.                             key="xc_tahu" /></div></td>
  303.                 <td class="titlebarreport" width="11%"><div align="left"><bean:message
  304.                             key="xc_cp204" /></div></td>               
  305.  <td class="titlebarreport" width="11%"><div align="left"><bean:message
  306.                             key="xc_cpsap" /></div></td>  
  307.  <td class="titlebarreport" width="11%"><div align="left"><bean:message
  308.                             key="xc_cp205" /></div></td>              
  309.  </tr>
  310. <logic:present name="xcForm" property="date_list">
  311. <logic:iterate name="xcForm" property="date_list" id="cond3">
  312.               <tr class="odd"> 
  313.                 <td align="center" class="textreport" width="209"><div align="left"><bean:write
  314.                                 name="cond3" property="ass_year" /></div></td>
  315.                 <td class="textreport" width="229"><bean:write
  316.                                 name="cond3" property="due_date1" />&nbsp;</td>                
  317.  <td class="textreport" width="236"><bean:write
  318.                                 name="cond3" property="paid_date1" />&nbsp;</td>
  319. <td class="textreport" width="236"><bean:write
  320.                                 name="cond3" property="due_date2" />&nbsp;</td>
  321.  
  322.  
  323.               </tr>
  324. </logic:iterate>
  325. </logic:present>
  326. <logic:notPresent name="xcForm" property="date_list">
  327. <tr class="odd"> 
  328.  <td align="center" class="titlebarinfo" colspan="9" ><bean:message
  329.                                 key="common_NO_RECORDS" />
  330. </td>
  331. </tr>
  332. </logic:notPresent>
  333.             </table></td>
  334.         </tr>
  335.  
  336. </logic:equal>
  337. <logic:equal name="xcForm" property="condition4" value="true">
  338.  <tr> 
  339.           <td class="textinfo"><br>
  340.                     <bean:message key="xc_skim_selepas" /> 
  341.             <table width="50%" border="0" align="left" cellpadding="0" cellspacing="0" class="infobox">
  342.               <tr class="text4" bgcolor="#FFFFFF"> 
  343.                 <td height="30" align="center" class="titlebarreport" width="31%"><div align="left"><bean:message
  344.                             key="xc_tahu" /></div></td>
  345.                 <td class="titlebarreport" width="34%"><div align="left"><bean:message
  346.                             key="xc_cp500" /></div></td>
  347.  
  348.               </tr>
  349. <logic:present name="xcForm" property="date_list">
  350. <logic:iterate name="xcForm" property="date_list" id="cond4">
  351.               <tr class="odd"> 
  352.  
  353.                 <td align="center" class="textreport" width="208"><div align="left"><bean:write
  354.                                 name="cond4" property="ass_year" /></div></td>
  355.                 <td class="textreport" width="229"><bean:write
  356.                                 name="cond4" property="date1" />&nbsp;</td>
  357.  
  358.               </tr>
  359. </logic:iterate>
  360. </logic:present>
  361. <logic:notPresent name="xcForm" property="date_list">
  362. <tr class="odd"> 
  363.  <td align="center" class="titlebarinfo" colspan="9" ><bean:message
  364.                                 key="common_NO_RECORDS" />
  365. </td>
  366. </tr>
  367. </logic:notPresent>
  368.  
  369.             </table></td>
  370.         </tr>
  371. </logic:equal>
  372.         <tr> 
  373.           <td class="textinfo"><br>
  374.  
  375.             <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="infobox">
  376.               <tr class="text4" bgcolor="#FFFFFF"> 
  377.                 <td width="5%" class="titlebarreport"><bean:message
  378.                             key="xc_tt" /></td>
  379.                 <td width="5%" align="center" class="titlebarreport"> 
  380.                 <bean:message key="xc_tarit" /></td>
  381.                 <td width="10%" class="titlebarreport"><bean:message
  382.                             key="xc_cuk" /></td>
  383.                 <td width="10%" class="titlebarreport" ><bean:message
  384.                             key="xc_kod" /></td>
  385.                 <td width="10%" class="titlebarreport" ><bean:write name="xcForm" property="msg1" />
  386.  
  387.                         <div align="right"></div></td>
  388.                 <td width="10%" class="titlebarreport" nowrap><div align="right"><bean:write name="xcForm" property="msg2" />
  389.                             </div></td>
  390.                 <td width="10%" class="titlebarreport" align="left"><div align="right"> <bean:message
  391.                             key="xc_bayarm" /></div></td>
  392.                 <td width="10%" class="titlebarreport" nowrap><div align="right"><bean:message
  393.                             key="xc_de10" /></div></td>
  394.                 <td width="10%" class="titlebarreport" ><div align="right"> <bean:message
  395.                             key="xc_bayarm" /></div></td>
  396.  <logic:present name="xcForm" property="taxtype_ind">
  397.                 <td width="10%" class="titlebarreport" nowrap><div align="right"><bean:message
  398.                             key="xc_de5" /></div></td>
  399.                 <td width="10%" class="titlebarreport" ><div align="right"><bean:message
  400.                             key="xc_bayarm" /></div></td></logic:present>
  401.                 <td width="10%" class="titlebarreport" nowrap><div align="right"><bean:message
  402.                             key="xc_bakirm" /></div></td>
  403.               </tr>
  404. <logic:present name="xcForm" property="dis_records" >
  405. <logic:iterate name="xcForm" property="dis_records" id="obj1">
  406.               <tr class="odd"> 
  407.                 <td align="center" class="textreport"><bean:write
  408.                                     name="obj1" property="assmt_year" /><html:hidden property="assmt_year" name="obj1"/></td>
  409.                 <td  align="center" class="textreport" ><bean:write
  410.                                 name="obj1" property="assessment_date" /><html:hidden property="assessment_date" name="obj1"/>&nbsp;</td>
  411.                 <td align="center" class="textreport"><html:hidden
  412.                                         property="ledger_amount" name="obj1" /><bean:write
  413.                                 name="obj1" property="ledger_amount" />
  414.  
  415.                                     <div align="right"></div></td>
  416.                 <td align="center" class="textreport"><bean:write
  417.                                 name="obj1" property="transaction_code" />
  418.                                     &nbsp;</td>
  419.                 <td align="center" class="textreport"><div align="right"><html:text styleClass="amt_textbox" name="obj1"
  420.                                 property="penalty_107B3_amount" onkeypress="ValidKey('N')" maxlength="16" styleId="number"  onblur="removeZeroFormatCurrency(this)" onfocus="removeComma(this)"></html:text>
  421.                   </div></td>
  422.                 <td align="center" class="textreport"><div align="right"><html:text styleClass="amt_textbox"
  423.                         name="obj1"        property="penalty_107B4_amount" onkeypress="ValidKey('N')" maxlength="16" styleId="number"  onblur="removeZeroFormatCurrency(this)" onfocus="removeComma(this)"></html:text>
  424.                   </div></td>
  425.                 <td align="center" class="textreport"><div align="right"><html:text
  426.                                         styleClass="amt_textbox" name="obj1"
  427.                                         property="paid_amount" onkeypress="ValidKey('N')" maxlength="16" styleId="number"  onblur="removeZeroFormatCurrency(this)" onfocus="removeComma(this)"></html:text></div></td>
  428.                 <td align="center" class="textreport"><div align="right"><bean:write
  429.                                         name="obj1" property="penalty_amount1"/><html:hidden
  430.                                         property="penalty_amount1" name="obj1" />
  431.  
  432.                   </div></td>
  433.                 <td align="center" class="textreport"><div align="right"></div>
  434.                                     <html:text styleClass="amt_textbox" name="obj1"
  435.                                         property="paid_amount1" onkeypress="ValidKey('N')" maxlength="16" styleId="number"  onblur="removeZeroFormatCurrency(this)" onfocus="removeComma(this)"></html:text></td>
  436.                   <logic:present name="obj1" property="taxtype_ind">
  437.                 <td align="center" class="textreport"><div align="right"><bean:write
  438.                                         name="obj1" property="penalty_amount2" /><html:hidden
  439.                                         property="penalty_amount2" name="obj1" />
  440.  
  441.                   </div></td>
  442.                 <td align="center" class="textreport"><div align="right"></div>
  443.                                     <html:text styleClass="amt_textbox" name="obj1"
  444.                                         property="paid_amount2" onkeypress="ValidKey('N')" maxlength="16" styleId="number"  onblur="removeZeroFormatCurrency(this)" onfocus="removeComma(this)"></html:text></td>
  445.                   </logic:present>
  446.                 <td align="center" class="textreport"><div align="right"><bean:write
  447.                                 name="obj1" property="baki_chukai" /></div>
  448.                                     </td>
  449.               </tr>                                
  450.                             </logic:iterate>
  451. </logic:present>
  452.             </table></td>
  453.         </tr>
  454. <tr id="y"> 
  455.  
  456.       <td class="textinfo"><br>
  457.         <bean:message key="grq_XC18_CUKAI_KURANGAN" />  
  458.             <table width="50%" border="0" align="left" cellpadding="0" cellspacing="0" class="infobox">
  459.               <tr class="text4" bgcolor="#FFFFFF"> 
  460.                 <td width="5%" class="titlebarreport" align="center"><bean:message
  461.                             key="xc_tt" /></td>
  462.                 <td width="5%" align="center" class="titlebarreport"> 
  463.                 <bean:message key="xc_tarit" /></td>
  464.                 <td width="10%" class="titlebarreport" align="center"><bean:message key="grq_XC18_KOD_KURANGAN"/></td>
  465.                 <td width="10%" class="titlebarreport" align="center"><bean:message key="grq_XC18_TARIKH_KURANGAN"/></td>
  466.                 <td width="10%" class="titlebarreport" align="center"><bean:message key="grq_XC18_AMAUN_KURANGAN"/></td>                                                                    
  467.               </tr>
  468. <logic:present name="xcForm" property="dis_records" >
  469. <logic:iterate name="xcForm" property="dis_records" id="obj1" indexId="i">
  470. <logic:present name="obj1" property="reduce_ind">
  471.               <tr class="odd"> 
  472.                 <td align="center" class="textreport"><bean:write
  473.                                     name="obj1" property="assmt_year" /></td>
  474.                 <td  align="center" class="textreport" ><bean:write
  475.                                 name="obj1" property="assessment_date" />&nbsp;</td>
  476.                 <td align="center" class="textreport">
  477.                             <html:select styleClass="textbox" name="obj1"  property="reduce_code">
  478.                                  <html:option value="062">062</html:option>
  479.                                  <html:option value="064">064</html:option>
  480.                                        </html:select></td>
  481.                 <td align="center" class="textreport" nowrap><html:text styleClass="textbox" name="obj1" property="reduce_date" readonly="true"></html:text>
  482. <a href="#" onclick ="pickcal.select(document.getElementsByName('reduce_date')[<%=i%>],'xcForm.reduce_date[<%=i%>]');return false;" name="xcForm.reduce_date[<%=i%>]"><img src="<%=request.getContextPath()%>/images/show-calendar.gif" width="15" height="13" border="0" align="bottom"><A href="javascript:clearMultiDate(<%=i%>)"><IMG
  483.                             src="<%=request.getContextPath()%>/images/del.gif"
  484.                             width="15" height="13" border="0" align="bottom"></A></td>
  485.                 <td align="center" class="textreport"><div align="right" nowrap><html:text styleClass="amt_textbox" name="obj1" onkeypress="ValidKey('N')"
  486.                                 property="reduce_amt" maxlength="16" styleId="number"  onblur="removeZeroFormatCurrency(this)" onfocus="removeComma(this)"></html:text>
  487.                   </div></td>                
  488.               </tr>    
  489. </logic:present>
  490. <logic:notPresent name="obj1" property="reduce_ind">
  491. <html:hidden name="obj1" property="reduce_code" />
  492. <html:hidden name="obj1" property="reduce_date" />
  493. <html:hidden name="obj1" property="reduce_amt" />
  494. </logic:notPresent>                                
  495. </logic:iterate>
  496. </logic:present>
  497. <logic:notPresent name="xcForm" property="header_ind">
  498. <tr class="odd">
  499. <td align="center" class="titlebarinfo" colspan="5" ><bean:message
  500.                                 key="common_NO_RECORDS" />
  501. </td>
  502. </tr>
  503. </logic:notPresent>
  504.             </table></td>
  505.  
  506.         </tr>
  507. <tr id="n"> 
  508.       <td class="textinfo"><br>
  509.         <bean:message key="grq_XC18_CUKAI_KURANGAN" />  
  510.             <table width="50%" border="0" align="left" cellpadding="0" cellspacing="0" class="infobox">
  511.               <tr class="text4" bgcolor="#FFFFFF"> 
  512.                 <td width="5%" class="titlebarreport" align="center"><bean:message
  513.                             key="xc_tt" /></td>
  514.                 <td width="5%" align="center" class="titlebarreport"> 
  515.                 <bean:message key="xc_tarit" /></td>
  516.                 <td width="10%" class="titlebarreport" align="center"><bean:message key="grq_XC18_KOD_KURANGAN"/></td>
  517.                 <td width="10%" class="titlebarreport" align="center"><bean:message key="grq_XC18_TARIKH_KURANGAN"/></td>
  518.                 <td width="10%" class="titlebarreport" align="center"><bean:message key="grq_XC18_AMAUN_KURANGAN"/></td>                                                                    
  519.               </tr>
  520. <logic:present name="xcForm" property="dis_records" >
  521. <logic:iterate name="xcForm" property="dis_records" id="obj1" indexId="i">
  522. <logic:present name="obj1" property="reduce_ind">
  523.               <tr class="odd"> 
  524.                 <td align="center" class="textreport"><bean:write
  525.                                     name="obj1" property="assmt_year" /></td>
  526.                 <td  align="center" class="textreport" ><bean:write
  527.                                 name="obj1" property="assessment_date" />&nbsp;</td>
  528.                 <td align="center" class="textreport">
  529.                             <bean:write name="obj1"  property="reduce_code"/>
  530.                                  </td>
  531.                 <td align="center" class="textreport" nowrap><bean:write name="obj1" property="reduce_date" />
  532. </td>
  533.                 <td align="center" class="textreport"><div align="right" nowrap><bean:write name="obj1" 
  534.                                 property="reduce_amt"/>
  535.                   </div></td>                
  536.               </tr>    
  537. </logic:present>                            
  538. </logic:iterate>
  539. </logic:present>
  540. <logic:notPresent name="xcForm" property="header_ind">
  541. <tr class="odd">
  542. <td align="center" class="titlebarinfo" colspan="5" ><bean:message
  543.                                 key="common_NO_RECORDS" />
  544. </td>
  545. </tr>
  546. </logic:notPresent>
  547.             </table></td>
  548.         </tr>
  549.         <tr> 
  550.           <td ><table width="100%" height="87" border="0" align="LEFT" cellpadding="0" cellspacing="0" >
  551.               <tr> 
  552.                 <td width="17%" colspan="4"><table width="101%" border="0" cellpadding="0" cellspacing="0" >
  553.                     <tr> 
  554.                       <td height="23" class="textinfo" width="145">&nbsp;</td>
  555.                       <td class="text" width="166">&nbsp;</td>
  556.                       <td class="textinfo" width="159">&nbsp;</td>
  557.                       <td class="text" width="166">&nbsp;</td>
  558.                       <td class="textinfo" width="144">&nbsp;</td>
  559.                       <td class="text" width="648">&nbsp;</td>
  560.                     </tr>
  561.                     <tr> 
  562.                       <td  height="23" class="textinfo" width="145"><div align="left"> <bean:message
  563.                                     key="xc_disole" /></div></td>
  564.                       <td class="text" width="166"><html:text styleClass="textbox"
  565.                                         property="officer_prepare" maxlength="10"></html:text></td>
  566.                       <td class="textinfo" width="159"><div align="left"><bean:message
  567.                                         key="xc_dilole" /></div></td>
  568.                       <td class="text" width="166"><html:text
  569.                                         styleClass="textbox" property="officer_approve"
  570.                                         disabled="true" maxlength="10"></html:text></td>
  571. <td  height="23" class="textinfo" width="144"><div align="left"> <bean:message
  572.                                         key="xc_jum" /></div></td>
  573.                       <td class="textinfovalue" width="648"><bean:write name="xcForm"
  574.                                         property="total_net_balance_amount" /></td>
  575.                     </tr>
  576.                     <tr> 
  577.                       <td  height="23" class="textinfo" width="145"><div align="left"><bean:message
  578.                                         key="xc_tadis" /></div></td>
  579.                       <td class="text" width="166"><html:text styleClass="textbox"
  580.                                         property="date_prepare"></html:text>
  581.                       <A href="javascript:pickcal.select(document.xcForm.date_prepare,'xcForm.date_prepare');"
  582.                                         name="xcForm.date_prepare"> <IMG
  583.                                         src="<%=request.getContextPath()%>/images/show-calendar.gif"
  584.                                         width="15" height="13" border="0"></A></td>
  585.                       <td class="textinfo" width="159"><div align="left"><bean:message
  586.                                     key="xc_tadilu" /></div></td>
  587.                       <td class="text" width="166"><html:text styleClass="textbox"
  588.                                         property="date_approve" disabled="true"></html:text>
  589. <a href="javascript:pickcal.select(document.xcForm.date_approve,'xcForm.date_approve');" NAME="xcForm.date_approve">
  590. <img src="<%=request.getContextPath()%>/images/show-calendar.gif" width="15" height="13" border="0"></td>
  591. <td  height="23" class="textinfo" width="144"><div align="left"><bean:message
  592.                                         key="xc_baya" /></div></td>
  593.                       <td class="text" width="648"><html:text
  594.                                         styleClass="amt_textbox" property="total_paid_amount"
  595.                                         onkeypress="ValidKey('N')" maxlength="16" styleId="number"  onblur="removeZeroFormatCurrency(this)" onfocus="removeComma(this)"></html:text></td>
  596.                  </tr>
  597.                     <tr> 
  598.                       <td height="23" class="textinfo" width="145"></td>
  599.                       <td class="textinfovalue" width="166"></td>
  600.                       <td class="textinfo" width="159"></td>
  601.                       <td class="text" width="166"></td>
  602.                       <td height="23" class="textinfo" width="144"><bean:message
  603.                                         key="xc_jumtu" /></td>
  604.                       <td class="textinfovalue" width="648"><bean:write
  605.                                         name="xcForm" property="total_balance" /></td>
  606.                     </tr>
  607.                   </table></td>
  608.               </tr>
  609. <logic:equal name="xcForm" property="status" value="P">
  610.           <tr> 
  611.             <td  height="23" class="textinfo">Status : Menunggu Penyediaan dari Penyedia</td>
  612.           </tr>
  613. </logic:equal>
  614. <logic:equal name="xcForm" property="status" value="W">
  615.           <tr> 
  616.             <td  height="23" class="textinfo">Status : Menunggu Kelulusan dari Pelulus</td>
  617.           </tr>
  618. </logic:equal>
  619. <logic:equal name="xcForm" property="status" value="A">
  620.           <tr> 
  621.             <td  height="23" class="textinfo">Status : Menunggu Penerimaan dari Guaman Sivil</td>
  622.           </tr>
  623. </logic:equal>
  624. <logic:equal name="xcForm" property="status" value="Z">
  625. <tr> 
  626.             <td  height="23" class="textinfo">Status : Di Tolak Oleh Guaman Sivil</td>
  627.           </tr>
  628. </logic:equal>
  629. <logic:equal name="xcForm" property="status" value="X">
  630. <tr> 
  631.             <td  height="23" class="textinfo">Status : Di Tolak Oleh Pelulus</td>
  632.           </tr>
  633. </logic:equal>
  634. <logic:equal name="xcForm" property="status" value="R">
  635. <tr> 
  636.             <td  height="23" class="textinfo">Status : Di Terima Oleh Guaman Sivil</td>
  637.           </tr>
  638. </logic:equal>
  639. <tr id="s"> 
  640.             <td  height="23" class="textinfo">Status : Baru</td>
  641.           </tr>
  642.             </table></td>
  643.         </tr>
  644.  
  645. <html:hidden name="xcForm" property="id"/>
  646. <html:hidden name="xcForm" property="file_type"/>
  647. <logic:present name="xcForm" property="it_ref_no" >
  648.         <tr> 
  649.           <td width="10%" height="23" class="textinfo"><div align="center">
  650.             <html:submit styleClass="button"  property="sbmit1">
  651. <bean:message key="common_BUTTON_EDIT_31a"/></html:submit>&nbsp;
  652. <html:button styleClass="button" onclick="javascript:performView(this)" property="back"><bean:message key="common_BUTTON_BATAL"/></html:button>
  653. <html:button styleClass="button" onclick="javascript:return performPrint(this)" property="print"><bean:message key="grq_XC18_CETAKAN"/></html:button>
  654.  
  655.  <html:button styleClass="button" property="btn_lulus" onclick="javascript:performLulus(this)"><bean:message key="grq_XC18_LULUS"/></html:button> 
  656. </div></td>
  657.         </tr>
  658. </logic:present>
  659. <logic:notPresent name="xcForm" property="it_ref_no" >
  660. <dcms:display function="<%=my.org.hasil.dcms.DCMSConstants.FUNGSI_AGIHAN_KERJA%>" screen="<%=my.org.hasil.dcms.DCMSConstants.SKRIN_XC_18_TODOLIST%>">
  661.         <tr> 
  662.           <td width="10%" height="23" class="textinfo"><div align="center">
  663.             <html:button styleClass="button" property="sbmit1" onclick="javascript:performTerima(this)"><bean:message key="grq_XC18_TERIMA"/></html:button>&nbsp;
  664.             <html:button styleClass="button" property="page" onclick="javascript:performTolak(this)"><bean:message key="grq_XC18_TOLAK"/></html:button>&nbsp;
  665.             <html:button styleClass="button" onclick="javascript:return performPrint(this)" property="print"><bean:message key="grq_XC18_CETAKAN"/></html:button></div></td>
  666.  
  667.         </tr>
  668. </dcms:display>
  669. </logic:notPresent>
  670.       </table>
  671.  
  672.  
  673.  
  674.  
  675. </html:form>
  676.  
  677.     </body>
  678. </html:html>
May 11 '10 #1
4 2052
Dormilich
8,658 Recognized Expert Moderator Expert
which line is 388? (in the source code the browser gets)
May 11 '10 #2
makweatan
11 New Member
Sorry, in the source code the line is here :-

Expand|Select|Wrap|Line Numbers
  1. <td width="10%" class="titlebarreport" align="left"><div align="right"> <bean:message key="xc_bayarm" /></div></td>
May 11 '10 #3
Dormilich
8,658 Recognized Expert Moderator Expert
no, I mean, which line of the source code in the browser (when you do "view source code") is that.
May 11 '10 #4
makweatan
11 New Member
Hi dormilich,

that error is solved through debugging. Thank u very much anyway.
May 11 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

5
2715
by: Rick | last post by:
I wrote the following code as part of a page where users can reorder a list of items by highlighting an item in a list box and clicking an "up" or "down" button to move the items around. The code below is for the up and down buttons along with a reset button (which reloads the list as it was originally) and a change button which applies the changes. In Explorer and Safari for Mac, this code works flawlessly. When I tested on Explorer in...
2
9793
by: Chuck Martin | last post by:
I am having a most frustrating problem that references, web searches, and other resources are no help so far in solving. Basically, I'm trying to design a pop-up window to be called with a funciton in a link. that function can have parameters for URL and window name passed to it. This works peachy in Firefox (1.0). With IE 6 (6.0.29) on two separate computers, I get an "onject expected" error. Going to the MS-based debugger just tells me...
4
2206
by: Daniel | last post by:
Hi, I have problem to get the control id and set its visible to true/false(mean show/hide). here is my code: <%@ Control Language="vb" AutoEventWireup="false" Codebehind="ucNavbar.ascx.vb" Inherits="UserInterfaceDesign.ucNavbar" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %> <A id="hpL" href="" DESIGNTIMEDRAGDROP="59" runat="server"
16
47681
by: Steve Chapel | last post by:
When I load the page <https://bugzilla.mozilla.org/attachment.cgi?id=237739with Internet Explorer 7 RC 1, I get the error "Object Expected" at line 174. When I click on the button, I also get the same error on line 186. This same HTML and JavaScript works perfectly in Firefox and Opera. How can I make the code work in IE?
1
2145
by: monudjn | last post by:
Hi I am implementing ajax in portal. Using ajax i am able to updating the content of portlets asynchronously. However i am facing a problem The Problem: While submitting the form i am getting javascript error " Object expected". These errors i am getting after implementing ajax. Also this error is shown only the first time i trying to submit. Next time this error won't come. This may be because the ajax update the content dynamically and if...
1
2911
by: chaos | last post by:
i always saw this error in my web page http://i175.photobucket.com/albums/w133/chaos2005_01/Error-1.jpg Wt can i do in order to remove the error
10
13300
RMWChaos
by: RMWChaos | last post by:
WinVista/IE7 I am getting some weird errors only in IE7, but not in FF2.0.0.8 or NN9. It even happens on this website when I click "Sign In". The error is: "A Runtime Error has occurred." "Line:xxx" "Error: Object expected" and Debug says: "Microsoft JScript runtime error: Object expected."
2
2464
by: jman | last post by:
i'm getting an "object expected" error in ie - not ff. in the BODY onload attribute i call a function that's loaded from an external file. i've narrowed the error down to the fact it cannot find this function. <script src="external.js">
2
5724
by: thj | last post by:
Hi. I've got this form that I'm trying to validate: <form id="periodForm" action="" method="post"> <p> Periode: <input id="startDate" name="startDate" type="text" size="7" value="<%= ViewData %>" /> -
0
8407
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8319
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8837
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
6175
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5638
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4171
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1969
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1732
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.