Eclipse not highlighting syntax errors, why?

Hello everyone,
I have started to use the eclipse IDE, version 3.1.2
My problem is that it is not highlighting errors of any kind in the editor, i cannot seem to find the setting for this,
help is appreiated.

Hello everyone,
I have started to use the eclipse IDE, version 3.1.2
My problem is that it is not highlighting errors of
any kind in the editor, i cannot seem to find the
setting for this,Really? I actually have a 3.1.1 here but I assume this hasn't changed.
Window -> Preferences -> Java -> Editor: Checkbox "Report problems as you type".

Similar Messages

  • Derby - Syntax error, why?

    Hello,
    I'm stumped as to why this doesn't work (the commented part works fine)
        try { String connn = "jdbc:derby:test;create=true"; Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance(); Connection connect = DriverManager.getConnection( connn ); //     Statement stat; // stat = connect.createStatement(); // stat.executeUpdate( "CREATE TABLE City ( NAME VARCHAR(35) NOT NULL )" ); // // Statement st; // st = connect.createStatement(); // st.executeUpdate("INSERT INTO City( Name ) " + // "VALUES( 'Amsterdam' )" ); // // PreparedStatement statement = connect.prepareStatement("SELECT Name FROM City"); // ResultSet resultSet = statement.executeQuery(); // while (resultSet.next()) { // System.out.println( resultSet.getString("Name") ); // }     Statement stat; stat = connect.createStatement(); stat.executeUpdate( "CREATE TABLE  weerstations ( "+ "stationsnummer VARCHAR(5) NOT NULL,  "+ "voortzetting  VARCHAR(5),"+ "naam          String NOT NULL,  "+ "positie        string NOT NULL,  "+ "terreinhoogte  DOUBLE(2, 1),  "+ "karakteristiek string NOT NULL,  "+ "grondsoort    string NOT NULL,  "+ "barometer      DOUBLE(3, 1),  "+ "windmeetmast  INT(2)" ); }     catch( Exception e ) {     e.printStackTrace();     }     finally{     System.exit( 1);     }
    The error it throws is
    java.sql.SQLSyntaxErrorException: Syntax error: Encountered "String" at line 1, column 110. at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source) at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source) at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source) at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source) at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source) at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(Unknown Source) at Database.<init>(Database.java:49) at DatumSelectiePanel.<init>(DatumSelectiePanel.java:25) at WeerApp.<init>(WeerApp.java:88) at Test.createAndShowGUI(Test.java:32) at Test.access$0(Test.java:25) at Test$1.run(Test.java:49) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226) at java.awt.EventQueue.dispatchEvent(EventQueue.java:602) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138) Caused by: java.sql.SQLException: Syntax error: Encountered "String" at line 1, column 110. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source) ... 22 more Caused by: ERROR 42X01: Syntax error: Encountered "String" at line 1, column 110. at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) at org.apache.derby.impl.sql.compile.ParserImpl.parseStatement(Unknown Source) at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source) at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source) at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source) ... 16 more
    (line 49 is stat.executeUpdate()

    Ah yes, cut off the parenthesis by accident while removing an extra line that was in there while it was still intended for sqlite.
    Which is also why the datatypes are a mess, which I really need to fix as this is supposed to run on postgresql and mysql as well.
    Anyhow.. it looks like this now stat.executeUpdate(
         "CREATE TABLE    weerstations ( "+
         " stationsnummer VARCHAR(5) NOT NULL,"+
         " voortzetting   VARCHAR(5),"+
         " naam           VARCHAR(255) NOT NULL,"+
         " positie        VARCHAR(255) NOT NULL,"+
         " terreinhoogte  DOUBLE(2, 1), "+
         " karakteristiek VARCHAR(255) NOT NULL,"+
         " grondsoort     VARCHAR(255) NOT NULL,"+
         " barometer      DOUBLE(3, 1),"+
         " windmeetmast   INT(2)" +
    );Which looks correct to me, but it's throwing
    java.sql.SQLSyntaxErrorException: Syntax error: Encountered "(" at line 1, column 194.[edit]:
    Thinking "I need this working" more than "I need this working properly" I also attempted                stat.executeUpdate(
                        "CREATE TABLE    weerstations ( "+
                        " stationsnummer VARCHAR NOT NULL,"+
                        " voortzetting   VARCHAR,"+
                        " naam           VARCHAR NOT NULL,"+
                        " positie        VARCHAR NOT NULL,"+
                        " terreinhoogte  DOUBLE(2, 1), "+
                        " karakteristiek VARCHAR NOT NULL,"+
                        " grondsoort     VARCHAR NOT NULL,"+
                        " barometer      DOUBLE(3, 1),"+
                        " windmeetmast   INT" +
                   );Which gets me a java.sql.SQLSyntaxErrorException: Syntax error: Encountered "NOT" at line 1, column 56.Edited by: Axeia on May 21, 2009 12:28 PM

  • Syntax error - why?

    QUERY:
    <cfquery name="editBook" datasource="2onboard">
    UPDATE books
    SET title = '#form.title#',
    author = '#form.author#',
    status = '#form.status#',
    completed = '#form.completed#',
    pages = #form.pages#,
    queue = '#form.queue#',
    rating = #form.rating#,
    cover = '#form.cover#',
    series = '#form.series#',
    book = #form.book#,
    link = '#form.link#'
    WHERE id = #id#
    </cfquery>
    completed field: date/time
    pages field: number
    rating field: number
    book field: number
    link field: memo
    all the rest are text fields
    ERROR MESSAGE:
    Error Executing Database Query.
    [Macromedia][SequeLink JDBC Driver][ODBC
    Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in
    UPDATE statement.
    The error occurred in
    \\NAWINFS02\home\users\web\b947\rh.2onboard\AED-books.cfm: line 32
    Called from
    \\NAWINFS02\home\users\web\b947\rh.2onboard\index.cfm: line 123
    Called from
    \\NAWINFS02\home\users\web\b947\rh.2onboard\AED-books.cfm: line 32
    Called from
    \\NAWINFS02\home\users\web\b947\rh.2onboard\index.cfm: line 123
    30 : book = #form.book#,
    31 : link = '#form.link#'
    32 : WHERE id = #id#
    33 : </cfquery>

    book is a number field
    let me also state (since I didn't in my original post)... the
    DB is Access and ColdFusion is ver. 7

  • DataProvider syntax error -why cant 2 components have the same dataProvider

    Hi,
    I am getting the following error:
    Multiple Initializers for property 'dataProvider' (note:
    'dataProvider' is the default property of
    mx.controls.TitleList').
    setup
    i have two components one that is a lineChart the other is a
    titleList. for each I have identified the dataProvider property as
    the same arrayCollection (dataPoints) so my code looks like:
    <mx:LineChart
    id="linechart"
    dataProvider="{ dataPoints }" .... other properties>
    for both components. I had this same error when i tried to
    add a legend component yesterday so it is not limited to just these
    two components. I tried instantiating a variable as a type
    dataProvider, so that it was not being instantiated twice, but no
    such primitive type was available via the auto-complete code
    function. I am not sure what else to try. Thanks,
    Jed

    Greg,
    Thanks again, I figured out the problem. In the mxml I was
    using the category axis tag without having a parent horizontal axis
    tag. So for others here is how a chart needs to be structured.
    correct syntax:
    <LineChart id="linechart1" dataProvider=" {
    myArrayCollection } ">
    <mx:horizontalAxis>
    <!--use the category axis tag to tell the chart what value
    in your array collection you want to use for the x axis-->
    <mx:CategoryAxis categoryField="x"/>
    </mx:horizontalAxis>
    <mx:series>
    <!--Use the line series within a series tag to tell the
    LineChart which y field it should use to draw the line-->
    <mx:LineSeries id="yourFirstYvalues" yField="y"/>
    </mx:series>
    </mx:LineChart>
    <mx:Legend dataProvider = "linechart1" />
    Jed

  • Statement not accessible - Syntax error

    Hi all,
    There is a form within a standard include. The form has an include within it. Its a custom include. So its an exit i suppose. Now i have a problem in the custom include. There is "statement not accessible" error. Find below the code in the custom include.
    *&  Include           ZZIMOVEKVGR4                                     *
    DATA: r_vkorg TYPE RANGE OF vkorg.
    CONSTANTS: c_z_salesorg_zzkvgr4 TYPE rvari_vnam VALUE
                                                    'Z_SALESORG_ZZKVGR4'.
    * Get the values from variant Z_SALESORG_ZZKVGR4 of TVARVC tavle
    CALL FUNCTION 'Z_FILL_RANGE_TABLE_FROM_TVARV'
    EXPORTING
    name                 = c_z_salesorg_zzkvgr4
    *   INITLINE             = ' '
    *   LINE_SEPARATOR       = ','
    TABLES
    rngtab               = r_vkorg.
    * Check for the sales orgranisation in TVARVC table
    IF vbrk-vkorg IN r_vkorg.
    * Move field Customer group 4 to KOMPCV structure
      MOVE vbrp
    ENDIF.
    Please help me understand how to overcome the same. The function module called has a select query. Does it have something to do.
    Pasting here the form that calls this include.
    FORM USEREXIT_ACCOUNT_PREP_KOMPCV.
    *  KOMPCV-zzfield = xxxx-zzfield2.
    *{   INSERT         TSTK9B000H                                        1
    * TSTK9A05ZS-Begin of changes For scr 7060
    * Only for the sale organisation S096
        INCLUDE ZZIMOVEKVGR4.                                "TSTK9A05ZS
    * TSTK9A05ZS-End of changes
    *}   INSERT
    ENDFORM.
    Thanks & Regards,
    Selvakumar M.

    Hi,
    this form in RV60AFZZ is to modify KOMPCV fields.
    I can't see any attempts to change those fields in your include.
    You can either move your code directly into form routine USEREXIT_ACCOUNT_PREP_KOMPCV, or correct your code in your include to make it work (as Sudhi told before).
    Regards.
    Klaus

  • Concatenating a string in a URL syntax does not work (syntax error)

    I am trying to print a Report in PDF format. The code is:
    select '<a href="http://oasdev.oh.gov./reports/rwservlet?GDMS_ACR&Y='||:P106_YEAR||'&B='||:P100_BUSINESS_UNIT_ID||'&C='||:P106_COMMISSION_ID||'&d=('||TO_CHAR(SYSDATE,'MMDDYYYYhhMISS')||')", target=_new> <font color="blue"><b>Print PDF Version of the report</b></font> </a>' url from dual
    GLOBAL_URL should carry the value ( a sring) ----> http://oasdev.oh.gov.
    Therefore I changed it to the following code:
    select '<a href="GLOBAL_URL/reports/rwservlet?GDMS_ACR&Y='||:P106_YEAR||'&B='||:P100_BUSINESS_UNIT_ID||'&C='||:P106_COMMISSION_ID||'&d=('||TO_CHAR(SYSDATE,'MMDDYYYYhhMISS')||')", target=_new> <font color="blue"><b>Print PDF Version of the report</b></font> </a>' url from dual
    But it does not work. Any suggestion would be highly appreciated.
    Thanks in advance.
    Gouri
    Edited by: user1046395 on Dec 8, 2010 8:41 AM

    When you do a select, you need to select into a variable..
    select ' Print PDF Version of the report ' url INTO <Variable>from dual
    Are you trying to run an Oracle Report from APEX??
    If so look at this thread: Using popupURL to call Oracle Reports - Problem passing parameters
    Thank you,
    Tony Miller
    Webster, TX
    When you have enough clowns, you have a circus.

  • Syntax error while loading hierarchy from an external file

    Dear Expert:
    I am new to BW and I met a problem today while loading hierarchy from an external file. Actually I am following below article to load the hierarchy:
    /people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files
    When I schedule the infopackage, the error message says: "Syntax error in template RSTMPL9C, ROW 76". Actually there is only around 20 lines of records.
    Since I am not familiar with hierarchy load, so:
    1. while loading from external file, do I need to create one hierarchy in advance  through "Maintain Hierarchies" in the infoobject? My understanding is since I can load that hierarchy from file, so I do not need to create one in advance, once the load completed, the hierarchy should automatically generated there. Is my understanding correct?
    2. Before loading the hierarchy, do I need to load the master data of external characteristics in the hierarchy first? Here in my example, the sales hierarchy has 2 external characteritics (Country and region) in the hierarchy. Do I need to load some data first?
    3. My 'Preview' function in the infopackage is gray so that I can not test the data loading. Why is it gray?
    Information like file name, file dir, file type(csv), seperator should be correct there.
    Can anybody help me take a look into that? Many thanks for your time in advance!
    Tim

    Hi ctsiszidane:
    There are some other SAP Notes that can help you solve the problem.  Depending on your Support Package level check which of them is applicable.
    Note 659461 - RSAR 682: Syntax error in template RSTMPL9A, row 246
    Note 605690 - Escape characters are not processed correctly
    Note 620152 - Syntax error in RSTMPL9A during data loading from a file
    Regards,
    Francisco Milán.

  • Too many syntax errors after upgrade to ECC 6.0

    Hello,
    We have made a test upgrade from 4.6C to ECC 6.0. OS --> AIX 5.3; DB --> DB2 8.2. After upgrade we have a lot of syntax errors, why? Anybody has the same problem? Do I must to check all my programs?
    Thanks.
    Martin

    Hello, here there is an example in Z program, but I have seen in no Z programs too with includes or userexits in the second example.
    Thanks.
    Martin.
    first example:
    Error in the ABAP Application Program                                                                               
    The current ABAP program "GBT10CO0" had to be terminated because it has        
    come across a statement that unfortunately cannot be executed.                                                                               
    The following syntax error occurred in program "ZGGBR000 " in include "ZGGBR000
    " in                                                                          
    line 279:                                                                      
    ""SYST-MODNO" must be a character-type data object (data type C, N, D, "       
    "T or STRING) ."                                                               
    second example:
    Error in the ABAP Application Program                                                                               
    The current ABAP program "SAPLGBL5" had to be terminated because it has       
    come across a statement that unfortunately cannot be executed.                                                                               
    The following syntax error occurred in program "GBT10FI0 " in include "GBT10FIB
    " in                                                                         
    line 1288:                                                                    
    "The FORM "SEND_CMPLX_DATA_015" does not exist."

  • Error in SUM: MAIN_NEWBAS/XPRAS_AIMMRG: Syntax Error in SAPLSUU6

    Pinging Boris Rubarth on what looks to be a minor bug with SUM 1.0 SP12 patch 12. The symptoms and resolution are pretty much identical to that described in Note 2093666 (Syntax Error in SAPLSUU6), except that according to the Note the error was corrected with SUM sp12 patch 6.
    The upgrade stopped with a number of errors in phase MAIN_NEWBAS/XPRAS_AIMMRG, essentially that job RDDEXECL terminated for post-import methods:
    /SAPSRM/PDO_MD_L_U_AFTER_IMP_I for /SAPPSSRM/CTRL
    /SAPSRM/V_SWITCH_AFTER_IMPORT for /SAPSRM/V_SWITCH
    /SAPPSSRM_BASE_AFTER_IMP for /SAPPSSRM/VC_HT
    /SAPSRM/PDO_MD_L_U_AFTER_IMP for /SAPSRM/V_ITPRO
    Digging into the job logs for RDDEXECL I saw that it was short dumping due to a syntax error in program SAPLSUU6, include LSUU6TOP: Type VSUSR_USBAPILINK is unknown. This is just as described in the Note.
    The Note says that in SUM SP12 with a patch level earlier than 6, the fix is to logon to client 000 as DDIC and execute report RSSCD_CHECK_GEN to regenerate change documents, then repeat the phase. With SUM SP12 patch 6 or greater, simply repeating the phase should fix it.
    Repeating the phase alone did not fix it, but running RSSCD_CHECK_GEN did. This was on patch 12, currently the latest. So, the workaround/fix from the Note still works, but the bug seems to still exist in SUM for a few of these after-import methods.
    This was an upgrade from SRM 5.0 to SRM 7.02 sps14 (i.e., including Basis 731 sp14). I ran SUM in 'Single System' Mode. The platform is Windows 2012 R2, SQL Server 2012 sp2 cu5.
    Otherwise, everything ran well. There was another slight hiccup in the same phase (after I resolved the one above) in which 'example' BAdI implementations are activated by the upgrade, but I think this might be more specific to SRM.
    Note to everyone else -- the discussion is not marked as a question because I have in fact resolved the issue for my system as described and moved on (the upgrade is complete and successful).
    Cheers,
    Matt

    Oops, there is one other small bug. The feedback form doesn't seem to exist. Clicking the link on the 'summary' page of the tool opens the URL http://<host>:4239/eval/EvalForm.html but results in a "Not Found" error.

  • Syntax error in program RK2CIDEA, include RK2CIDEA, line 5614

    Dear All
    Good Evening!
    I'm trrying to generate the operating concern in ECC5 Ides, but system is displaying following error.
    <i>"<b>Program RK2CIDEA contains a syntax error in include RK2CIDEA. The error occurred in line                                                5614. Thefollowing message describes the error."</b></i>
    I also implement  the solution of  Note 778704 - Syntax error in generated report RK2CXXXX.
    but still system displaying the same error.
    operating conceren " IDEA" is Red ( No Active)
    Please guide me!
    Thanks

    Good Evening!
    Thanks for reply!
    I implement the solution of "778704" , but function module that is given in this solution giving me return code "8" ( export Prameter subrc = 8)
    also I implement the solution of Note 143557 - Line item list: Integration FI/CO document. but still having the same problem.
    <b>Syntax error in program RK2CIDEA  " Field "CE0S001" is unknown"</b>
    Any advise more......
    Thanks

  • ICR: program FBICRC_GENERATE_CUST with syntax error

    Hi,
    in our Development system, the auto config program for ICR "FBICRC_GENERATE_CUST" is not working due to syntax error. It works in testsystem and productive system but not in development.
    Anyone experienced the same issue i.e. short dump when running FBICRC_GENERATE_CUST ?
    The following syntax error occurred in program "FBICRC_GENERATE_CUST " in
    include "FBICRC_GENERATE_CUST_F03 " in
    line 51:
    "The data object "LS_FBICRC01000" does not have a component called "HID"
    "E_DCURR"."
    Error analysis
        The following syntax error was found in the program FBICRC_GENERATE_CUST :
        "The data object "LS_FBICRC01000" does not have a component called "HID"
        "E_DCURR"."
    Thanks
    Stephane
    TRIUMPH ASIA

    HI  Eli,
    actually the problem only occurs after we implemented OSS note 1172591 with the SAP delievered transport P3EK049760
    So before having this transport: FBICRC_GENERATE_CUST  works fine
    AFTER the transport P3EK049760 contained in OSS note 1172591  -> syntax error.
    The field "hide_dcurr" is missing in table FBICRC01000
    Cheers
    Stephane

  • Syntax error in menubar css

    I was looking at the css for the the horizontal menu bar in
    the Spry framework prerelease 1.5 and found that a 'float' was
    spelled incorrectly. the below snippet was cut and pasted directly
    as I found it. It is possible that it was an added typo by me
    though I am uncertain as I did not modify the original intentional
    if that is the case.
    The error in question would the '\' in the float portion, so
    it reads fl\oat
    I thought i would bring this up as if it was not me then it
    should be addressed.
    [code]
    @media screen, projection
    ul.MenuBarHorizontal li.MenuBarItemIE
    display: inline;
    f\loat: left;
    background: #FFF;
    [/code]
    additional info: download date - July 29th 2007

    Hi,
    That is not a syntax error. At the beginning of that css rule
    it is a comment saying:
    /* HACK FOR IE: to stabilize appearance of menu items; the
    slash in float is to keep IE 5.0 from parsing */
    The float property was wrote like this on purpose. In fact
    that is the hack :).
    Diana

  • Why am I getting a syntax error on the /head line in DW CC?

    I am getting a syntax error in DW CC.  Other threads have indicated this was a bug in CS6 but had been fixed in CC.  That leads me to believe it's my fault, but I can't figure it out.  Can anyone help based on the information I've pasted below?  Thanks!
    <!doctype html>
    <!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]-->
    <!--[if IE 7]>    <html class="ie7 oldie"> <![endif]-->
    <!--[if IE 8]>    <html class="ie8 oldie"> <![endif]-->
    <!--[if gt IE 8]><!-->
    <html class="">
    <!--<![endif]-->
    <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Untitled Document</title>
    <link href="boilerplate.css" rel="stylesheet" type="text/css">
    <link href="style.css" rel="stylesheet" type="text/css">
    <link href="jQueryAssets/jquery.ui.core.min.css" rel="stylesheet" type="text/css">
    <link href="jQueryAssets/jquery.ui.theme.min.css" rel="stylesheet" type="text/css">
    <link href="jQueryAssets/jquery.ui.accordion.min.css" rel="stylesheet" type="text/css">
    <link href="jQueryAssets/jquery.ui.tabs.min.css" rel="stylesheet" type="text/css">
    <!--
    To learn more about the conditional comments around the html tags at the top of the file:
    paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
    Do the following if you're using your customized build of modernizr (http://www.modernizr.com/):
    * insert the link to your js here
    * remove the link below to the html5shiv
    * add the "no-js" class to the html tags at the top
    * you can also remove the link to respond.min.js if you included the MQ Polyfill in your modernizr build
    -->
    <!--[if lt IE 9]>
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <script src="respond.min.js"></script>
    <script src="jQueryAssets/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script src="jQueryAssets/jquery-ui-1.9.2.accordion.custom.min.js" type="text/javascript"></script>
    <script src="jQueryAssets/jquery-ui-1.9.2.tabs.custom.min.js" type="text/javascript"></script>
    <!--The following script tag downloads a font from the Adobe Edge Web Fonts server for use within the web page. We recommend that you do not modify it.--><script>var __adobewebfontsappname__="dreamweaver"</script><script src="http://use.edgefonts.net/adamina:n4:default.js" type="text/javascript"></script>
    </head>
    <body>
    <div class="gridContainer clearfix">
      <div id="div1" class="fluid">
        <header id="header" class="fluid">
          <p><img src="Images/Logos/insidejoplinlogo.png"  alt=""/></p>
            <nav id="mainnav" class="fluid"> <ul class="fluid fluidList mainnavlist"> <li class="fluid mainnavitem zeroMargin_desktop"><a href="Index2.html" title="Inside Joplin Home" target="_self">Home</a></li><li class="fluid mainnavitem"><a href="news.html">News</a></li><li class="fluid mainnavitem"><a href="entertainment.html">Entertainment</a></li><li class="fluid mainnavitem"><a href="announcements.html">Announcements</a></li><li class="fluid mainnavitem hide_mobile"><a href="galleries.html">Galleries</a></li><li class="fluid mainnavitem hide_mobile"><a href="aboutcontact.html">About/Contact</a></li>  </ul> </nav>
        </header>
        <article id="indexguts" class="fluid">    <article id="indexarticle" class="fluid">
          <h4 class="fluid articleH4 zeroMargin_mobile">Latest News</h4>
          <p> </p>
         <div id="Accordion1">
            <h3><a href="#">Section 1</a></h3>
            <div>
              <p>Content 1</p>
              </div>
            <h3><a href="#">Section 2</a></h3>
            <div>
              <p>Content 2</p>
              </div>
            <h3><a href="#">Section 3</a></h3>
            <div>
              <p>Content 3</p>
              </div>
          </div>
        </article><article id="article1" class="fluid">
          <h4 class="fluid articleH4 zeroMargin_mobile">Latest Entertainment</h4>
          <p> </p>
          <div id="Accordion2">
            <h3><a href="#">Section 1</a></h3>
            <div>
              <p>Content 1</p>
              </div>
            <h3><a href="#">Section 2</a></h3>
            <div>
              <p>Content 2</p>
              </div>
            <h3><a href="#">Section 3</a></h3>
            <div>
              <p>Content 3</p>
              </div>
          </div>
        </article><article id="article2" class="fluid"><h4 class="fluid articleH4 zeroMargin_mobile">Latest Announcements</h4>
        <p> </p>
          <div id="Tabs1">
            <ul>
              <li><a href="#tabs-1">Obituaries</a></li>
              <li><a href="#tabs-2">Weddings</a></li>
              <li><a href="#tabs-3">More</a></li>
              </ul>
            <div id="tabs-1">
              <p>Content 1</p>
              </div>
            <div id="tabs-2">
              <p>Content 2</p>
              </div>
            <div id="tabs-3">
              <p>Content 3</p>
              </div>
        </div>
        </article><article id="indexbotleft" class="fluid">This is the content for Layout Article Tag "indexbotleft"</article><article id="article3" class="fluid">This is the content for Layout Article Tag "indexbotleft"</article></article><aside id="mainsidebar" class="fluid">This is the content for Layout Aside Tag "mainsidebar"</aside><aside id="mainsidebar2" class="fluid">This is the content for Layout Aside Tag "mainsidebar2"</aside><article id="indexbotrot" class="fluid">This is the content for Layout Article Tag "indexbotrot"</article>
        <footer id="footer" class="fluid">
        <nav id="footernav" class="fluid">
         <ul id="footernavlist" class="fluid fluidList"> <li class="fluid footernavlistitem zeroMargin_mobile"><a href="Index2.html">Home</a></li><li class="fluid footernavlistitem hide_mobile"><a href="news.html">News</a></li>
          <li class="fluid footernavlistitem hide_mobile"><a href="entertainment.html">Entertainment</a></li>
          <li class="fluid footernavlistitem hide_mobile"><a href="announcements.html">Announcements</a></li>
           <li class="fluid footernavlistitem zeroMargin_desktop zeroMargin_mobile"><a href="galleries.html">Galleries</a></li>
           <li class="fluid footernavlistitem zeroMargin_mobile"><a href="aboutcontact.html">About Us</a></li> 
            <li class="fluid footernavlistitem zeroMargin_mobile"><a href="mailto:[email protected]">Email</a></li> <li class="fluid footernavlistitem zeroMargin_mobile"><a href="www.facebook.com/insidejoplin" target="new">Facebook</a></li></ul> 
           </nav>
           <article id="footerarticle" class="fluid"><img src="Images/Logos/insidejoplinlogo.png"  alt=""/></article>
        </footer>
      </div>
    </div>
    +
    <script type="text/javascript">
    $(function() {
              $( "#Accordion1" ).accordion();
    $(function() {
              $( "#Accordion2" ).accordion();
    $(function() {
              $( "#Tabs1" ).tabs();
    </script>
    </body>
    </html>

    Well Jon, the code is very simple... it's generated by DW's form check... and, as i said, it happens with unfailing regularity the minute it's put in to a template generated child.
    This is what the code on the page looks like:
    <head>
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Title Here</title>
    <meta name="Keywords" content="some keywords here" />
    <meta name="Description" content="Description here" />
    <script type="text/javascript">
    function MM_validateForm() { //v4.0
      if (document.getElementById){
        var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
        for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=document.getElementById(args[i]);
          if (val) { nm=val.name; if ((val=val.value)!="") {
            if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
              if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
            } else if (test!='R') { num = parseFloat(val);
              if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
              if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
                min=test.substring(8,p); max=test.substring(p+1);
                if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
          } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
        } if (errors) alert('The following error(s) occurred:\n'+errors);
        document.MM_returnValue = (errors == '');
    </script>
    <!-- InstanceEndEditable -->
    </head>
    And, whammo: "There is a syntax error on line xx. Code hinting may not work until you fix this error."
    And, the error always highlights the closing </script> line.
    The script itself is fine:
    1. If one puts it into an external js file, there's no problem
    2. If one puts it in the body section, there's no problem
    3. If one puts it in the template, there's no problem
    Also, if one removes the closing </script> tag, the error goes away
    The problem only happens in a child generated by a template and in the location I've illustrated. Apparently, this is a problem a lot of users are facing...

  • Method expression syntax error in jsp jsf 2.0 eclipse

    hi i made a simple bean jsp project, n ussed el to call methods in backing bean n show some text on the basis of method called....
    the project works perfectly fine, but theres a small issue, that eclipse jsp editor marks the expression as red n shows err.. the proj deploys fine on tomcat, n even works fine with expected results...
    wat should i do to fix that err show by eclipse...
    using eclipse helios with wtp 3.2, tomcat 7, jsf 2.0, el-api n el-impl 2.2 version jars in tomcat lib.... n latest jstl n standard jars...
    eg of jsp call -      <h:outputText value="#{myJsfBean.fetchCourseName(studentBean.courseId)}" />
    backing bean fn -
    public String fetchCourseName(Integer iCourseId){
              String theCourseName="";
              for(CourseBean aCourseBean:courseBeanList){
                   if(aCourseBean.getCourseId().equals(iCourseId)){
                        theCourseName=aCourseBean.getCourseName();
                        break;
              return theCourseName;
    jsp editor show err - Multiple annotations found at this line:
         - Syntax error in EL
         - Expression must be a value expression but is a method
         expression
    for "#{myJsfBean.fetchCourseName(studentBean.courseId)}" part of the expression
    its a trivial issue i think but annoying,, tried to search alot cudnt fix it....
    plz help

    my guess is that the project is not setup as being a JEE6 project and is being validated it as if it is a JEE5 application; the ability to be able to call methods with parameters through an EL expression is a new feature of JEE6 (or to be more precise: the el 2.2 API).
    Perhaps you can specify in your project properties that this is in fact a JEE6 project? Eclipse Helios should support JSF 2.0 out of the box.

  • Syntax Error - INCLUDE Report "%_HR9010" Not Found

    I have an HR ABAP program(Query Generated) that works in Enterprise and is now being testing in the ECC 6.0 test environment and is getting an syntax error. The syntax points the line in the code where a custom infotype is declared with the infotypes syntax. Example:
    Infotypes:
    9010
    syntax error reads:
    'include report"%_HR9010" not found.
    Why am I getting that syntax error? The syntax error does not occur on standard sap infotypes, 0000, 0001, 0002. It appears to be failing on custom infotypes.  The Structure definition is there, the table definition is there and there are thousands of records in the table and it can be read by other programs with no problem. What piece is missing, could it be something to do with Infosets, whatever they are?

    Hi Murali,
    Please excute the report RPUMS40CCI. This report is to generate infotype includes and additional structures required for not only custom but also standard infotypes.
    In the selection screen provide the infotype number and select checkboxes 'Generate infotype include'
    and 'Generate additional structure'.
    Note: "RPU40CCI" is only for infotypes which starts with number '9*'.
    Thanks & Regards
    Santhosh
    Edited by: SS on Feb 12, 2009 1:21 PM

Maybe you are looking for