Unterminated String Constant error

I am getting this error on clicking any of the record in the tree list view
Anyone is aware of this issue with OTM
Thanks
Gajananp

Post the HTML/JS code generated by the JSF and we will be able to pinpoint the cause much more quickly.

Similar Messages

  • Help unterminated string constant error?

    I have been working with after effects and I was trying to make a wiggle effects, I watched a tutorial about how to do it, I followed everything correctly, but I got an error.. Can anyone help me out, I entered this as expression (it was in video description)
    minAudio = 0;
    maxAudio = 100;
    minStretch = 90;
    maxStretch = 120;
    audioLev = thisComp.layer("Sound Keys").effect("Sound Keys")("Output 1”);
    s = linear(audioLev, minAudio, maxAudio, minStretch, maxStretch);
    [s,s]

    Well ...
    1. This is the InDesign forum ...
    2. You may have cropped the image to not include your entire screen.
    3. Using the ESTK editor, you could have seen this with the syntax highlighting,
    and finally 4. the error message tells you what line it is on.
    The very last double quotation mark is a curly one, not a straight. Strings in Javascript may only use straight quotes.

  • Unterminated String Constant error generated by JSF

    I'm getting the error in javascript and not being able to figure it out. It is caused by <h:outputLink> tag trying to load HTML page in IE6 browser.
    I'm attaching this page and hopefully someone would come up with a solution. Thanks a lot in advance.
    <head>
    <script type="text/javascript">
    function doPopup(value){
    popup = window.open("mqClientSetting.faces?applid="
    + value,"popup","height=605,width=620,toolbar=no,menubar=no,"
    + "scrollbars=yes");
    popup.focus();
    </script>
    <link href="styles.css" rel="stylesheet" type="text/css"/>
    <title>MQ Browser</title>
    </head>
    <table class="mqHeader">
    <tbody>
    <tr>
    <td><img src="/MqBrowser/IBM_logo.gif" /></td>
    <td><img src="/MqBrowser/shakehands.jpg" /></td>
    <td><img src="/MqBrowser/ABN_logo.gif" /></td>
    </tr>
    </tbody>
    </table>
    <hr>
    <body>
    <form id="j_id_id17" name="j_id_id17" method="post" action="/MqBrowser/mqClientApplications.faces" enctype="application/x-www-form-urlencoded">
    <input type="hidden" name="j_id_id17" value="j_id_id17" />
    <input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id35:j_id36" />
    <div style="overflow:auto; width:100%; height:400px;" align="center">
    <table class="borders">
    <caption class="mqchanCaption">ABN AMRO business MQ applications</caption><thead>
    <tr>
    <th class="mqchanHeader" scope="col">Application</th>
    <th class="mqchanHeader" scope="col">Description</th>
    </tr>
    </thead>
    <tbody>
    <tr>
    <td><a href="# onclick="doPopup('
    CRIS');return false;">
    CRIS</a></td>
    <td>cris
    </td>
    </tr>
    <tr>
    <td><a href="#" onclick="doPopup('
    GLOBAL NETTING');return false;">
    GLOBAL NETTING</a></td>
    <td>TF
    </td>
    </tr>
    </tbody>
    </table>
    </div>
    </form>
    </body>

    <a href="#" onclick="doPopup('
    CRIS');return false;">
    <a href="#" onclick="doPopup('
    GLOBAL NETTING');return false;">Remove those linebreaks.
    This is likely just custom code and not generated by JSF (at least, I never heard of a Javascript doPopup() function in JSF). If it is actually generated by JSF, then rise a bugreport at the site of the component manfacturer.

  • When you run Muse 2014 get an error unterminated string constant. Reinstalling does not help. System: Win8.1RU. Help!!!

    When you run Muse 2014 get an error unterminated string constant. Reinstalling does not help. System: Win8.1RU. Help!!!

    Is this occurring on launch? Can you post a screenshot? This isn't an error I recall being reported before.

  • Unterminated string literal error every time firefox opens a page.

    Every time firefox opens a new page, the error pops up. It says Javascript error at the top of the error window - and the error is "unterminated string literal. It very annoying, some pages have multiple instances of the error window popping up on top of each other. I reloaded the program, no changes. I am ready to give up and go to Chrome (which does not have the error)

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    If it works in Safe Mode and in normal mode with all extensions (Firefox/Tools > Add-ons > Extensions) disabled then try to find which extension is causing it by enabling one extension at a time until the problem reappears.
    Close and restart Firefox after each change via "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: Firefox > Quit Firefox; Linux: Firefox/File > Quit)
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Unterminated String constant javascript error while handling textarea in ja

    hi,
    my code is -->
    <textarea class = "ipfield" rows="2" cols="80" name = "ruleDesc" id = "ruleDesc" onchange="setIsEdited()"><c:out value="${ruleDesc}" escapeXml="false"/></textarea>
    on click of cancel it should be reseated to previously present in ModelAnd View(MAV) object
    code is document.getElementById('ruleDesc').value = '<c:out value="${ruleDesc}" escapeXml="false"/>';
    but m getting javascript error while setting tht one
    i view tht source in IE.
    that is because of
    it looks like ->
    document.getElementById('ruleDesc').value = 'this is the data from database
    ok ?'
    if there is \n in database it will go to next line because of that *'* after document.getElementById('ruleDesc').value is not completed
    can u please help me about that problem.
    thanx in advance.

    Actually seeing as we are talking javascript at this point, the correct escape would be to escape the \n character. ie produce it as the characters \ and n.
    I would recommend using [StringUtils.escapeJavascriptString|http://commons.apache.org/lang/api-release/org/apache/commons/lang/StringEscapeUtils.html#escapeJavaScript(java.lang.String)] from the [apache commons|http://commons.apache.org/lang/]
    Cheers,
    evnafets

  • Build a querystring within class file throws js unterminated string literal

    Hello all,
    I have a page that is partially built from within a method.
    String theLink ="FeedFilePusher";//My servlet
                        itemGeoLink = "<a href='#' onclick=top.alertMe('"+theLink+"')>CLICK</a>";The above works fine.
    The problem is that I need to pass a querystring to this servlet.
                        String theLink ="FeedFilePusher?title=" + itemTitle + "&summary=" + itemDesc + "&link=" + entry.getLink() + "&updated=" + itemDate;
                        itemGeoLink = "<a href='#' onclick=top.alertMe('"+theLink+"')>CLICK</a>";When I add the querystring values it throws a unterminated string literal error from within firefox.
    I tried to encode the ? and the & but that didnt work.
    Any ideas on how to do this?
    Here is the simple javascript function called alertMe.
    function alertMe(url)
        document.getElementById('mapframe').src = url;
        closeBubble();
    }TIA!

    Check if the resulting link has any ' or accented letters (����). That sometimes causes that error (at least i've seen it like.. 1000000 times writing spanish applications lol)
    Also, the URL.encode() method might help.

  • Generating javascript from method ...getting unterminated string literal er

    Hello all,
    I am attempting to generate several links on a jsp that are generated by a method in my class file. Each link has an onmouseover event that will display a popup box that I got from dynamicdrive.com.
                    sb.append("<a href='#' onclick=openChatWindow('");
                    sb.append(roomName.getName()+"')  onMouseover=showmenu(event,"+getRoomOccupants(connx,roomName.getName())+") onMouseout=delayhidemenu()>");
                    sb.append(roomName.getName());
                    sb.append("</a><br><br>");The above code generates an "invalid xml syntax" error, the resultant html code viewed in firefox's js dubug window is:
    <p align="left">
    69 <h5>Available Chat Rooms</h5><br><a href='#' onclick=openChatWindow('aroom') onMouseover=showmenu(event,<p align=left><b>Empty</b></p>) onMouseout=delayhidemenu()>aroom</a><br><br><a href='#' onclick=openChatWindow('room2') onMouseover=showmenu(event,<p align=left><b>Empty</b></p>) onMouseout=delayhidemenu()>room2</a><br><br>
    70 </p>I also tried to add apostrophes within the mouseover event like so:
                    sb.append("<a href='#' onclick=openChatWindow('");
                    sb.append(roomName.getName()+"') onMouseover=showmenu(event,'"+getRoomOccupants(connx,roomName.getName())+"') onMouseout=delayhidemenu()>");
                    sb.append(roomName.getName());
                    sb.append("</a><br><br>");Now I get an "unterminated string literal" error and the resultant html code is:
    <p align="left">
    69 <h5>Available Chat Rooms</h5><br><a href='#' onclick=openChatWindow('aroom') onMouseover=showmenu(event,'<p align=left><b>Empty</b></p>') onMouseout=delayhidemenu()>aroom</a><br><br><a href='#' onclick=openChatWindow('room2') onMouseover=showmenu(event,'<p align=left><b>Empty</b></p>') onMouseout=delayhidemenu()>room2</a><br><br>
    70 </p>I know this is a syntax error but I cant figure it out.
    TIA!

    Try adding double quotes around the handler bodies. Example
    onMouseOver="showmenu(event, '....');"The forum syntax highlighter does not show any single quote mismatches.

  • Target="_blank  Error unterminated string literal

    Hello,
    I have used a example from Patrick Wolf and it won't work.
    http://www.inside-oracle-apex.com/opening-url-in-new-window/
    I need a pop_up window after pushing the button:
    Target is a: URL
    1- URL Target: http://www.google.nl/" target="_blank -- Don't work (Error unterminated string literal)
    2- URL Target: http://www.google.nl/ -- Works
    What is wrong(see number 1)?
    Thanks at advance.
    Walter

    Jari,
    It didn't work.
    On the rightside from my button I have now the next text : Google')">
    With Error- pointer on ' before <a:
    Fout: unterminated string literal
    Bronbestand: http://apex-o/pls/apex/f?p=160:190:8048856061349970::::FSESSION,FORMID:10752014578,
    Regel: 1, Kolom: 20
    Broncode:
    javascript:redirect('<a href=
    when I change 'Optional URL Redirect' field 'URL Target' to
    <a href=http://www.google.nl/ target=_blank'></a>
    I have the next Error:
    Fout: syntax error
    Bronbestand: http://apex-o/pls/apex/f?p=160:190:8048856061349970::::FSESSION,FORMID:10752014578,
    Regel: 1, Kolom: 66
    Broncode:
    javascript:redirect('<a href=http://www.google.nl/ target=_blank'></a>')
    It still not work. Do you have a solution.
    Walter

  • SIT (nidll) Unterminated String Error

    Good day,
    I'm trying to build a model DLL in Simulink using NI SIT 4.0. The model builds using GRT and ERT (no auto config) fine (warnings galore but they are expected - unconnected inputs/outputs).
    When trying to build using nidll.tlc (either just autocoding or autocoding and linking to a DLL) I get an error which stops the build process:
    ### TLC code generation complete.
    ### Generating TLC interface API.
    ## SIT 4.0 Modifying PMS.c file
    Error: Inside: EXPRESSION Line: 8 Column: 76
    File: C:\SimulationInterfaceToolkit\ModelInterface\tmw\R14\..\nidll_codegen.tlc Line: 508 Column: 57
    Unterminated string
    Error: Inside: EXPRESSION Line: 8 Column: 105
    File: C:\SimulationInterfaceToolkit\ModelInterface\tmw\R14\..\nidll_codegen.tlc Line: 508 Column: 57
    Unterminated string
    Error: Inside: EXPRESSION Line: 8 Column: 77
    File: C:\SimulationInterfaceToolkit\ModelInterface\tmw\R14\..\nidll_codegen.tlc Line: 508 Column: 57
    syntax error
    Error: Inside: EXPRESSION Line: 8 Column: 76
    File: C:\SimulationInterfaceToolkit\ModelInterface\tmw\R14\..\nidll_codegen.tlc Line: 508 Column: 57
    Unterminated string
    ### Real-Time Workshop build procedure for model: 'PMS' aborted due to an error.
    I am confused as to which file it is referring to when it has the error.
    nidll_codegen.tlc - At the locations given is either the middle of text or nothing after a comment.
    PMS.c - looks incomplete (as expected) with a lot of whitespace and the locations reference nothing or a valid line of code (nothing to do with a string). All strings in this file are terminated. As this is the file being generated I doubt it is this file causing issues
    For reference all other C files and headers are created fine (sub units). We are using:
    MATLAB 7.4.0 (R2007a)
    NI SIT 4.0
    MS VC++ 6.0
    Any ideas most welcome and received with thanks!
    Regards,
    Rich

    Hi Richard,
    I know you have already verified you can built a Generic Real-Time model, however did you run the model without creating a make-file?
    In the log, an error message that results is a problem with the simulink model first and fore most. Have you determined what all the warnings are related to?
    Are you sure there is not a problem in the Simulink model?
    Please can you answer these questions and I will see what I can do for you.
    Regards
    JamesC
    NIUK and Ireland
    It only takes a second to rate an answer

  • Simple javascript error unterminated string

    I am getting error message unterminated string.
    document.location.href='getname.cfm?buffer=#buffer#';">
    Any idea. thankx

    looks like you have a doublequote after your semi-colon?
    you might also want to enclose the #buffer# variable in a
    URLEncodedFormat() function.
    location.href =
    'getname.cfm?buffer=#URLEncodedFormat(buffer)#';

  • Unterminated  string error

    I get unterminated string error and not ideal how to fix it <p><form>
                            <c:forEach var="year" items="${sessionScope.studentUpdate}">
    <input type="button" value="show information" onclick="openNewInsert('PaymentInfor?search=<c:out value="${year.student_id}"/>')">
                      </c:forEach></p></form>

    if I only have <input type="button" value="show information" onClick="openNewInsert('')"> it did not show the Unterminate error , even I just use
    <input type="button" value="show information" onClick="openNewInsert('Hello.jsp')">, but when I add PaymentInfor?search=<c:out value="${year.student_id}"/> it get error
    ...I still don't get it

  • What is the difference between String Constant and Empty String Constant

    What is the difference between string constant which does not contain any value and the Empty string constant?
    While testing a VI which contain a normal string constant in VI analyzer, it gives error to change string constant with the empty string constant?
    Please Reply
    prabhakant
    Regards
    Prabhakant Patil

    Readability.
    Functionally, they are the same. From a coding standpoint, the Empty String Constant is unambiguous.
    It is empty and will always be; good for initialization. Also, because you can not type a value into and Empty String Constant, someone would need to conciously replace it to set a 'default' value that is something other than NULL.
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • Help! DLL's replying with strings give errors

    Hi ,
    I use the Call Library node to call a DLL function I wrote in C
    void test (char Text[50])
    strcpy(Text, "This is a test\0\n");
    Next, I configured the Call Library Function as follows:
    Parameter RETURN TYPE: Type = Void;
    Parameter ARG1: Type = String; String format = C String Pointer;
    (Which leads to Function prototype: void test(CStr arg1) )
    The function executes just fine, but when I close the VI, I get an
    APPLCATION ERROR! ("The instruction at '0x123456' referenced memory at
    '0x123456'. The memory could not be read"). I guess this is when the DLL
    is unloaded, but what am I doing wrong?
    I am Using LabVIEW 5.1.1 & Win NT 4.0
    Please help!
    Patrick Pol
    The Netherlands

    Thanks Greg,
    I wired a string constant containing at least 50 characters to the input of the
    Library node, and that got rid of my crashing-problems.
    Patrick Pol
    Greg McKaskle wrote:
    > I believe that your problem here is that you told the C compiler that there
    > were 50 characters reserved for the function to write in. A caller of this
    > function will need to allocate storage for the DLL function to scribble into,
    > or this will be a possible crash/corruption.
    >
    > The same thing is true of LV. The caller, in this case, LV has no idea
    > how much space to allocate for the DLL call. You will need to do this
    > on the diagram using a constant, a control, or some other function that
    > produces a string large enough to store the data into.
    >
    > Greg M
    cKaskle

  • Htmlconvertor gives "unterminated string" in generated Javascript?

    The code generated by the htmlconvertor.exe program gives the following:
    however, IE says "unterminated string or constant on this line, particularly the NAME="VirtualVisIR" [the culprit]. Has anyone else had this problem - what is the solution?
    Thanks
    <SCRIPT LANGUAGE="JavaScript"><!--
        if (_ie == true) document.writeln('<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = 976 HEIGHT = 520 NAME="VirtualVisIR"           codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,0"><NOEMBED><XMP>');
        else if (_ns == true && _ns6 == false) document.writeln('<EMBED
             type="application/x-java-applet;version=1.4"
                CODE = "VirtualVisIR_Main.class"
                ARCHIVE = "virtualvisir.jar"
                NAME = "VirtualVisIR"
                WIDTH = 976
                HEIGHT = 520
                scriptable ="true"
             scriptable=false
             pluginspage="http://java.sun.com/products/plugin/index.html#download"><NOEMBED><XMP>');
    //--></SCRIPT>

    you need to remove all the line breaks after the EMBED tag... in other words it needs to be one long line like the document.writeln is for the OBJECT tag... i guess it's a bug in the htmlconverter...
    cheers!

Maybe you are looking for

  • Setting environment variable CONFIGROOT

    Hi I want to find the msg store for a particular user account so i'm planning to use hashdir command utility and the requirement for the same is given below Requirements: Must be run locally on the Messaging Server. Make sure that the environment var

  • Error message when installing Snow Leopard

    When i try to install snow leopard it says "the mac OS X installation couldn't be completed" please help here is the second half of the installer log May 12 13:37:06 localhost ReportCrash[150]: Process:         Mac OS X Installer [135] May 12 13:37:0

  • Metadaten in Adobe Bridge (CS 2)

    In der Vorschau von Adobe Bridge wird das Originaldatum in der Exifdatei der Kamera genau 2 Stunden später angegeben. Also statt z.B. 12:11 wird 14:11 angezeigt. Die Originalzeit wird dafür in den Metadaten als Änderungsdatum angegeben (Änderungsdatu

  • BAPI or Function Module for inserting record in any " Org. Mgmt" Infotype

    Hi All, I am working on HR-ABAP. I wanted to know the name of the <b>BAPI </b>or the <b>Function Module.</b> that can be used to insert the records in any of the <b>Organization Management</b> Infotype, particularly in the <b>Planned Compensation</b>

  • Sine waves?

    I am having a problem with a ridiculously simple issue. I need a sine wave - a flat tone that does not change in volume. The sub synth seems to be the best software sound, but it fades gradually as it endures. I have messed with the equalizer, compre