facebook

"No start tag" error

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #272104 Reply

    tim3
    Member

    MyEclipse reports the error: “No start tag” (<font>) for the following jsp snippet:

    <logic:messagesPresent property="plaats.straatnaam">
            <font color="red">
          </logic:messagesPresent>
              <bean:message key="label.straat"/>
          <logic:messagesPresent property="plaats.straatnaam">
            </font>
          </logic:messagesPresent>

    Full jsp code:

    
    [size=7]<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <html>
    <head>
            <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    
            <%@ page contentType="text/html; charset=UTF-8"%>
    <title>
    <bean:message key="title.straat"/>
    </title>
    </head>
    <body bgcolor="#ffffff" onload="document.straatcodeActionForm.txtPostcode.focus();">
    <html:form method="post" action="straatcode.do" type="be.fgov.minfin.ccff.e604a.controler.web.actionsForms.StraatcodeActionForm">
    
    
    <SCRIPT type="text/javascript">
    
    function acceptStraatcode(straatcode, straatNaam, postcode, plaats, niscode, taalRegime){
      var doc = window.opener.document;
      var caller=doc.all["straatcodeCaller"].value;
      doc.all["txtStraatCode_"+caller].value = straatcode;
      doc.all["txtStraat_"+caller].value = straatNaam;
      doc.all["txtZipCode_"+caller].value = postcode;
      doc.all["txtPlace_"+caller].value = plaats;
      doc.all["txtNisCode_"+caller].value = niscode;
      doc.all["txtCountry_"+caller].value = "150";
      doc.all["txtCountryCode_"+caller].value = "150";
    
      if(caller == "AHZ") {
        doc.all["ahzLangs"].value = taalRegime;
        window.opener.updateContactLanguages();
      }
      window.close();
    }
    
    function go(newAction){
      document.forms[0].action.value=newAction;
    }
    
    function setWaitPointer() {
        if (document.all)
            for (var i=0;i < document.all.length; i++)
                 document.all(i).style.cursor = 'wait';
    }
    
    function resetWaitPointer() {
        if (document.all)
            for (var i=0;i < document.all.length; i++)
                 document.all(i).style.cursor = 'default';
    }
    
    </SCRIPT>
    
    <p class="header" id="header">
        <!-- (BEGIN) Header -->
        <html:link linkName="top"></html:link>
        <table width="744" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td colspan="2"><html:img width="45" height="8" src="images/yellow_top.gif"/></td>
    
                <td width="23"> </td>
                 <td width="190">
                    <img width="28" height="35" src="images/<bean:write name="org.apache.struts.action.LOCALE" property="language"/>/logo_small.gif"/>
                 </td>
                 <td width="531">
                    <table width="531" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td width="476"><html:img width="65" height="70" src="images/FODfinance.jpg"/></td>
                            <td width="55" align="right" valign="bottom">
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <!-- (END) Header -->
    </p>
    
    <table id="zoekTabel" border="0" cellspacing="10" align="center">
        <tr>
          <td colspan="3">
            <h4><font color="red"><UL>
                <html:errors />
            </UL></font></h4>
          </td>
      </tr>
      <tr>
        <td>
          <logic:messagesPresent property="plaats.postcode">
            <font color="red">
          </logic:messagesPresent>
              <bean:message key="label.postcode"/>
          <logic:messagesPresent property="plaats.postcode">
            </font>
          </logic:messagesPresent>
        </td>
        <td>
          <html:text property="txtPostcode">
          </html:text>
        </td>
      </tr>
      <tr>
        <td>
          <logic:messagesPresent property="plaats.straatnaam">
            <font color="red">
          </logic:messagesPresent>
              <bean:message key="label.straat"/>
          <logic:messagesPresent property="plaats.straatnaam">
            </font>
          </logic:messagesPresent>
        </td>
        <td>
          <html:text property="txtStraat">
          </html:text>
        </td>
        <td>
          <html:button property="cmdZoekStraatcode"onclick="setWaitPointer();submit()">
            <bean:message key="button.zoeken"/>
          </html:button>
        </td>
      </tr>
    </table>
    
    <hr>
    
    
    <logic:notEmpty name="gevondenNiscode">
        <logic:notEmpty name="gevondenStraatcodes" scope="session">
            <table id="resultaatTabel" border="0" cellspacing="10" align="center">
              <tr>
                <td height=""25"">
                </td>
              </tr>
                <%int i=0;%>
              <tr bgcolor="#eeeeee">
                <td align="center">
                  <bean:message key="label.straatcode" />
               </td>
                <td align="center">
                  <bean:message key="label.straat" />
               </td>
                <td align="center">
                  <bean:message key="label.postcode" />
               </td>
               <td align="center">
                 <bean:message key="label.plaats"/>
               </td>
               <td align="center">
                 <bean:message key="label.niscode"/>
               </td>
             </tr>
              <logic:iterate id="aStraatcode" name="gevondenStraatcodes">
                <%++i;%>
                <tr id="row<%=i%>">
                    <td align="center">
                      <bean:write name="aStraatcode" property="straatcode" />
                    </td>
                    <td>
                        <bean:write name="aStraatcode" property="straat" />
                    </td>
                    <td align="center">
                      <bean:write name="gevondenNiscode" property="postcode" />
                    </td>
                    <td align="center">
                      <bean:write name="gevondenNiscode" property="plaats"/>
                    </td>
                    <td align="center">
                      <bean:write name="gevondenNiscode" property="niscode"/>
                    </td>
                    <td align="center">
                      <input type="button" name="accept" value=">>" onClick='acceptStraatcode("<bean:write name='aStraatcode' property='straatcode' />","<bean:write name='aStraatcode' property='straat' />","<bean:write name='gevondenNiscode' property='postcode' />","<bean:write name='gevondenNiscode' property='plaats' />","<bean:write name='gevondenNiscode' property='niscode' />","<bean:write name='gevondenNiscode' property='taalRegime' />")'/>
                    </td>
                </tr>
              </logic:iterate>
            </table>
          </logic:notEmpty>
    </logic:notEmpty>
    <center>
        <html:button property="cmdClose" onclick="window.close()" style="width:100"><bean:message key="button.sluiten" /></html:button>
    </center>
    </html:form>
    </body>
    </html>
    [/size]
    #272117

    Riyad Kalla
    Member

    What version of MYEclipse? (MyEclipse > Installation Summary > Installation Details)

    #272140

    tim3
    Member

    @support-rkalla wrote:

    What version of MYEclipse? (MyEclipse > Installation Summary > Installation Details)

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 5.5.0 GA
    Build id: 20070514-5.5.0-GA

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.5.0 GA
    Build id: 20070514-5.5.0-GA

    #272198

    Riyad Kalla
    Member

    Sorry I was vague… the path I gave is the menu items I want you to click then paste allthat information here for me (MyEclipse menu, Installation Summary > Installation Details)

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: "No start tag" error

You must be logged in to post in the forum log in