Code behaves differently when run in debugger

var he:Array = handControl.getHumanInfo(ha, handNumber);
while (he.length != 0)
humanInfo.push(he.shift());
This snippet is part of a large flash project I am working
on. The program works fine by itself, but when I try to step
through it in the debugger, it sometimes crashes, depending on
where I put a breakpoint. If I put the breakpoint on the first line
of code above, I can step into the function getHumanInfo(), trace
it, and step back out, and everything is fine. But if I only put a
breakpoint somewhere inside the getHumanInfo() function, all of a
sudden when I step out of that function, the variable 'he' is
undefined, and so the while loop never ends.
This makes no sense to me. The code is either good or bad, it
shouldn't behave differently based on where I put the breakpoint.
The getHumanInfo() function always creates a new array and
passes it back, so there is no reason 'he' should be undefined.
This has happened many times when I've tried to use the flash
CS3 debugger -- is there a known issue that this sounds like? I'm
so fed up I'm ready to stop using the debugger altogether.

I ran the program without the debugger and put some trace()
statements in, just to make sure. Everything works fine without the
debugger. So it seems to me it has to be a debugger issue. Has
anyone heard of a similar issue?

Similar Messages

  • Java application behaving differently when run from netbeans

    Hi,
    When i run my program from netbeans it receives packets from ip addresses which are not in my subnet
    but when i run it from outside netbeans it doesn't receives packets from ip addresses which are not in my subnet.
    Can anybody explains why my application is showing different behavior when run from netbeans and when run independently?
    Thanks.

    Bingo! My script started the rmiregistry and continued on to start the servers. Apparently, it was too quick. I put a 10 second delay after the rmiregistry startup and all is working as it should.
    Thanks for your help. You get the Duke dollars if I can figure out how that works.

  • Code behaves different when SWF is in browser as opposed to stand alone player, why?

    In ActionScript, I have some code that dispatches a
    MOUSE_OVER event when a tween is complete. I am using Tweener for
    the tween. On my Mac OSX machine, I preview the SWF file in a stand
    alone player spawned from my Flash IDE, and the event is dispatched
    and the behavior works as expected, but when I preview the SWF file
    as embedded in a MacOSX browser, the event is not dispatched. On a
    Windows machine, however, the event is dispatched both in a stand
    alone player and within the embedded SWF file in a browser. The
    problem seems to come particularly from the Mac OSX player.
    Has anybody ever experienced this? Is the OSX implementation
    of the Flash player different in a stand alone and browser setting?
    Here is the code that I am using:

    HMMM! Verrrrrry interesting.
    Yes file size is an issue, it's a large project.
    Exterenally host it?
    Where could I go and do that?
    I'm not familiar with this process.  Can you please tell me exactly how it works? 
    And....that means both servers need to be up and running?  Kinda sounds a bit shakey.   This project needs to be strong and stand alone to go here and there.  Durable.   
    I feel safer if its all in one piece.  Bam.
    You know, I noticed "FAST" and "BEST" does not make a difference to file size or quality. 
    Could I be wrong?
    Thanks.

  • Executable behaving different when called f/Java

    I have an executable that is run from the command line which behaves differently when I run it from my application. The executable takes MP3s files as arguments and merges them together. When I use large files from within my app, it doesn't respond, but using the same files from the command line works fine. I was thinking it might be a memory thing, but the executable should get its own space seperate from the VM. Does anyone have any suggestions? Thanks!

    I do not have the source for the executable, so I wouldn't be able to pull lines out of there. It works from my Java app when I pass in smaller files, so I know I have the syntax correct, but with larger files it hangs. When I run the same thing from the command line with the larger files it runs like a champ. I was trying to use my task manager (I'm on Win NT) to look at memory usage since the only variable seems to be file size, but nothing seems to indicate it is a memory issue.

  • The same code behaving different in two files.

    The same code behaving different in two files.
    in pro*c file it is returning rows
    in sql file it is not returning any rows.
    please suggest me.
    regards,
    prasad.

    please find the code.
    sql_stmt := 'SELECT rNum, dpcCode, sID, hDate, fBlock, '||
    'lBlock, recQty, fID, fName, ' ||
    'tSeqNo, sType, tDate, fStatCode, pDate, recCount, r ' ||
    'FROM (SELECT rownum rNum, DPC_CODE_ORIG dpcCode, ' ||
    'SENSOR_ID sID, ' ||
    'to_char(HEADER_DATE, ''YYYYMMDDHH24MISS'') hDate, ' ||
    'FIRST_BLOCK_NUMBER fBlock, ' ||
    'LAST_BLOCK_NUMBER lBlock, ' ||
    'RECORD_QUANTITY recQty, ' ||
    'FILE_ID fID, ' ||
    'substr(FILE_NAME,1,30) fName, ' ||
    'TRACE_SEQUENCE_NO tSeqNo, ' ||
    'SENSOR_TYPE sType, ' ||
    'to_char(TRAILER_DATE, ''YYYYMMDDHH24MISS'') tdate, ' ||
    'NVL(FILE_STATUS_CODE, ''NL'') fStatCode, ' ||
    'to_char(PROCESSED_DATE, ''YYYYMMDDHH24MISS'') pDate, '||
    'NVL(RECIRCULATE_COUNT,0) recCount, ' ||
    'ROW_NUMBER() ' ||
    'OVER(ORDER BY TRAILER_DATE DESC, LAST_BLOCK_NUMBER DESC) r ' ||
    'FROM logfc10t ' ||
    'WHERE DPC_CODE_ORIG = :IN_DPC_CODE ' ||
    'AND SENSOR_ID = :IN_SENSOR_ID ' ||
    'AND (((TRAILER_DATE <= TO_DATE(:IN_TRAILER_DATE, ''YYYYMMDDHH24MISS''))' ||
    ' AND (LAST_BLOCK_NUMBER < :IN_BLOCK_NUMBER)) ' ||
    ' OR (TRAILER_DATE < TO_DATE(:IN_TRAILER_DATE, ''YYYYMMDDHH24MISS'')))) ' ||
    'WHERE r = 1 ';

  • Why does "Link Media" behave differently when used as a keyboard shortcut vs when right clicked???

    Not sure whether anyone else is encountering this, but the "Link Media" command behaves differently when right clicked as opposed to when used as a keyboard shortcut.
    When you right click to select that option for an offline file, you get only the corresponding disconnected source media. But when you execute "Link Media" via a keyboard shortcut, PP brings up a huge list of all other offline media. Why does it only do that when you use the keyboard shortcut for "Link Media" but not when you right click "Link Media".
    I'd like to get the Link Media command to behave via the keyboard shortcut the same way it behaves when right clicked. I don't want to have to deal with relinking a hundred other files, but just the single offline file I'm working on.

    Among the alternatives not mentioned... Using a TiVo DVR, rather than the X1; a Roamio Plus or Pro would solve both the concern over the quality of the DVR, as well as providing the MoCA bridge capability the poster so desperately wanted the X1 DVR to provide. (Although the TiVo's support only MoCA 1.1.) Just get a third-party MoCA adapter for the distant location. Why the hang-up on having a device provided by Comcast? This seems especially ironic given the opinions expressed regarding payments over time to Comcast. If a MoCA 2.0 bridge was the requirement, they don't exist outside providers. So couldn't the poster have simply requested a replacement XB3 from the local office and configured it down to only providing MoCA bridging -- and perhaps as a wireless access point? Comcast would bill him the monthly rate for the extra device, but such is the state of MoCA 2.0. Much of the OP sounds like frustration over devices providing capabilities the poster *thinks* they should have.

  • "UnsatisfiedLinkError:  make_statement" when run in debugger

    I have a problem retrieving a ResultSet from a REF CURSOR --
    apparently due to the JVM failing to locate requisite
    native code within Oracle.
    The problem is not in the code itself, but somewhere in the
    configuration / environment / debugger. I conclude this because
    the application runs perfectly outside the debugger (and
    has, for years).
    It fails only when the JVM attempts to locate a native method
    within Oracle, when running the application from an Eclipse debug
    launch configuration within the (newly acquired) Eclipse 3.0.1 debugger.
    I should mention that we also very recently upgraded to Oracle 9i.
    Therefore, I conclude the problem must be some kind
    of runtime classpath / library search path mis-resolution,
    or a java / oracle client code mis-match.
    But I cannot find the cause.
    WHAT I'VE ALREADY CHECKED / TRIED:
    (1) I have quadruple-checked the jar list within the 'Classpath'
    tab of the Eclipse's debug launch configuration dialog -- the
    classes12.jar, etc. are those we've been using successfully in
    the past.
    (2a) Rather than rely on the system Path variable, I resorted to
    explicitly specifying the -Djava.library.path as a VM option within
    the 'Arguments' tab of the same dialog, as well. The library search
    list specified within the Eclipse debug launch configuration is
    identical to the system Path variable used when the application
    is run outside the debugger. The behavior is the same regardless
    of whether -Djava.library.path is specified in the debugger, or not.
    (2b) I have modified the -Djava.library.path value specification
    with forward slashes rather than backslashes as file separators
    -- it made no difference. I also eliminated newlines -- it made
    no difference, either.
    RELEVANT ENVIRONMENT:
    WindowsXP
    WebLogic 6.1
    Oracle 9i (recent upgrade to this version; the Oracle server is installed)
    Eclipse 3.0.1
    OCI JDBC Driver
    THE CODE:
    theStatement.registerOutParameter (1, oracle.jdbc.driver.OracleTypes.CURSOR);
    if (inArgs != null)
    setInputFields ( theStatement, inArgs.iterator(), 2);
    theStatement.execute();
    // THROWS 'UnsatisfiedLinkError' FROM THIS LINE:
    theResultSet = (ResultSet) theStatement.getObject ( 1 );
    Enumeration returnItems = parseResults ( theResultSet );
    theStatement.close();
    THE ERROR THROWN:
    java.lang.UnsatisfiedLinkError: make_statement
    at oracle.jdbc.oci8.OCIDBAccess.make_statement (Native Method)
    at oracle.jdbc.oci8.OCIDBAccess.RefCursorBytesToDBStatement(OCIDBAccess.java:2373)
    at oracle.jdbc.driver.OracleStatement.getCursorValue(OracleStatement.java:3670)
    at oracle.jdbc.driver.OracleStatement.getObjectValue(OracleStatement.java:5792)
    at oracle.jdbc.driver.OracleStatement.getObjectValue(OracleStatement.java:5622)
    at oracle.jdbc.driver.OracleCallableStatement.getObject(OracleCallableStatement.java:698)
    at appA.common.ADBInterface.executeQuery(DBInterface.java:323)
    at appA.common.AEvent.initialize(AEvent.java:233)
    at appA.agent.mainDlg.main(AgentDlg.java:759)
    THE LIBRARY SEARCH PATH:
    (The same path is specified as the value for both as the system Path variable,
    and as the -Djava.library.path JVM argument.)
    -Djava.library.path="C:\oracle\ora92\bin;
    C:\oracle\ora92\jre\1.4.2\bin\client;
    C:\oracle\ora92\1.4.2\bin;
    C:\Program Failes\Oracle\jre\1.3.1\bin;
    C:\Program Files\Oracle\jre\1.1.8\bin;
    C:\Windows\system32;
    C:\Windows;
    C:\Windows\system32\wbem;
    C:\Program Files\appA\bin"
    ODD THING / CLUE?
    Strangely, if I simply move the 'C:\oracle\ora92\bin' directory later
    in the Library Search Path, the application continues to run
    fine outside of Eclipse, but from within Eclipse,
    the JVM now fails to locate the requisite ocijdbc9.dll and the
    application produces a different error:
    "java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path"
    The ocijdbc9.dll is present within C:\oracle\ora92\bin, so I would
    have expected the JVM to still be able to find it, despite simply
    moving the directory later in the search path.
    This must surely be telling me something I am simply too dense /
    distracted to pick up on.
    I cannot determine why the JVM fails to locate the make_statement
    native method when run from within the Eclipse debugging environment.
    Should I be looking at version changes to the classes12.jar attendant
    to the Oracle 9i upgrade?
    Any clues or help out there?
    ... KBaldwin

    Answering my own question:
    YES, it was correct to suspect a mis-match between the version of the Oracle jar files used to generate the class files and the Oracle .dll libraries.
    It turned out a buddy in the group changed the debugger configuration to use a special directory containing all the third-party jar files the app depends upon, for convenience. Unfortunately, he somehow picked up an old version of one of those jar files (classes12.zip) that came from some pre-Oracle 9i installation. Once I updated the directory to contain the Oracle 9i version of that jar file, the JVM was now able to locate the requisite code at run-time, and the debugger worked.
    Now the only mystery is why the hell the app ran fine outside the debugger, but I suspect the launch command is running a different application jar / class file set that was not built with the bogus old classes12.zip.

  • List Format Different When Run In Background...

    Hi Guys,
    When I run a report in the Foreground my List displays normally.  It is worth knowing that this list has 36 Columns (36 added to the Field Catalog).
    But, when I run it in the background (F9), it seems to "wrap"/"split" the columns...  The last few colums are sent to the next line so my field catalog is actually displayed over 2 lines!!!
    When running the Report in the background (F9) I did choose the "Properties" button and I set the Rows to be 65 and the Colums to be 255 under the "Format" Parameter.  This does not change anything...
    We recently upgraded to ERP6.0. I wonder if it is some kind of SAP Standard that changed???
    Please advise - Point will be rewarded for usefull awnsers.
    Christiaan

    Tks, But it is still not working.
    I think it is SAP Standard not to go over the 255 limit when run in the background.  My list DEFINATELY has more than the 255 limit...
    Here is my statement:
    REPORT /bsa/rp_purchaseorder_analysis MESSAGE-ID /bsa/mm LINE-SIZE 400.
    This does not work.  When I use F9, it gives a message : "Formatting is set to X_65_255".  I run this WITHOUT overriding and it does not work.  I also ran this overriding the settings...  I made the columns 400 and it did not work.
    I dont think it is possible????
    tks
    Christiaan

  • Window Size is different when running a 6i Form in 9i

    Hello,
    I was having a window size that has some window chopped off, when running the 6i developed Web form in 9i. I was running the form from my PC using the 9iAS Instance.
    Any info. is appreciated.

    Is your window getting chopped because of the size of the applet window? If so, change height and width parameters in formsweb.cfg, or pass them in the URL.

  • KE30 Report differs when run at two different times

    Hello,
    I have an issue where a KE30 report is executed for a closed period occuring more than 6 months ago.  When the report was run at the beginning of November, it had particular values for figures.  When the report was run at the beginning of November, for the same exact month, some of the values are the same while others are different.
    I drilled into the line items and sorted by Created On date to see if any documents were created from November to December, but unfortunately no documents were created. 
    I'm not sure where else to look, is there a historical view that I can drill into then do a comparison to determine where the difference is?  Any help would be greatly appreciated.

    Hi Johnnie
    I assume the important bit is the bit within the second fix:
    "New Forecast" = Consumption * "Bias %";
    The way you have your fix statement set up it is looking at level 0 members in your Appliances and Batteries dimensions (I'm reading your post as if they are separate dimensions). I assume your issue is that the one piece of data is at level 0 interesections of appliances and batteries but the other piece is not possibly at level 0 of one dimension and level 1 or higher of the other, Bias% being the one at the higher level?
    If that is the case then I think you need to look at a way of getting from the level 0 member to the correct intersection point(s).
    Have you had a look through the technical reference at functions like @PARENTVAL, @ANCESTVAL or the multidimensional options for the same @MDPARENTVAL and @MDANCESTVAL, it sounds like your formula needs to be something along the following lines
    "New Forecast" = Consumption * @PARENTVAL(Appliances, "Bias%");
    What the above would do differently to your original code would be to get the Bias % value from the parent of the current level 0 member of the appliance dimension being calculated. While this might not be exactly what your requirement is hopefully it will steer you in the right direction.
    Hope this helps
    Stuart

  • Code behaves differently inside/outside WLS 7.0.2

    I'm using the embedded LDAP server for directory testing. The following
    code runs happily outside Weblogic, but fails if run inside webligc(invoked
    through a servlet), any idea?
    Properties props = new Properties();
    props.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.jndi.ldap.LdapCtxFactory");
    props.put(Context.PROVIDER_URL, "ldap://host:7001");
    props.put(Context.SECURITY_PRINCIPAL, "cn=Admin");
    props.put(Context.SECURITY_CREDENTIALS, "weblogic");
    DirContext ctx = new InitialDirContext(props);
    Attributes attrs = new BasicAttributes(true);
    Attribute objclass = new BasicAttribute("objectclass");
    objclass.add("top");
    objclass.add("organizationalUnit");
    attrs.put(objclass);
    Context result = ctx.createSubcontext("ou=Fruits", attrs);
    WLS output when ran inside a servlet:
    javax.naming.directory.SchemaViolationException: [LDAP: error code 65 -
    Missing Attributes: [ou], Not Allowed Attributes
    : []]; remaining name 'ou=Fruits'
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2762)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2677)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2483)
    at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:696)
    at
    com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDir
    Context.java:317)
    at
    com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(Partial
    CompositeDirContext.java:246)
    at
    com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(Partial
    CompositeDirContext.java:234)
    at
    javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.
    java:174)
    at test.jndi.DirTest.testCreateSubContext(DirTest.java:93)
    at test.common.TestServlet.doGet(TestServlet.java:36)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:1058)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :401)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :306)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:5445)
    at
    weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:780)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3105)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2588)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)

    Hi,
    A guess would be that it may be referring different classes...
    HTH
    regards
    MS

  • Javascript written in Dreamweaver behaves different when inserted in Muse

    I have a simple javascript list that is written in Dreamweaver and works as expected but when I copy & paste that exact javascript into the -Object-insert html section in Muse the outcome is different.
    Is there a place I can go to research on what I need to do different for that code to behave properly in Muse? I am not understanding what I need to change or do different.
    Below is the code I got to work in Dreamweaver:
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>list</title>
    <script type="text/javascript">
    function fixTheList(){
    var msg = "";
    var msg = "";
    if (document.getElementById("appleQty").value > 0) {
    msg += "Apples   ";
    msg +=document.getElementById("appleQty").value;
    msg += "<br>";
    if (document.getElementById("orangesQty").value > 0) {
    msg += "Oranges   ";
    msg +=document.getElementById("orangesQty").value;
    msg += "<br>";
    if (document.getElementById("tangerineQty").value > 0) {
    msg += "Tangerines   ";
    msg +=document.getElementById("tangerineQty").value;
    msg += "<br>";
    if (document.getElementById("kiwiQty").value > 0) {
    msg += "Kiwis   ";
    msg +=document.getElementById("kiwiQty").value;
    msg += "<br>";
    if (document.getElementById("pearsQty").value > 0) {
    msg += "Pears   ";
    msg +=document.getElementById("pearsQty").value;
    msg += "<br>";
    if (document.getElementById("grapesQty").value > 0) {
    msg += "Grapes   ";
    msg +=document.getElementById("grapesQty").value;
    msg += "<br>";
    if (document.getElementById("canteloupeQty").value>0) {
    msg += "Canteloupes   ";
    msg+=document.getElementById("canteloupeQty").value;
    msg += "<br>";
    if (document.getElementById("strawberryQty").value>0) {
    msg += "Strawberry   ";
    msg+=document.getElementById("strawberryQty").value;
    msg += "<br>";
    document.getElementById("outputDiv").innerHTML = msg;
    </script>
    </head>
    <body>
    <div id="outputDiv">
    <table>
      <tr>
      <td>Item</td>
      <td>Quantity</td>
      </tr>
      <tr>
      <td>Apples</td>
      <td><input type="text" size="3" id="appleQty"></td>
      </tr>
      <tr>
      <td>Oranges</td>
      <td><input type="text" size="3" id="orangesQty"></td>
      </tr>
      <tr>
      <td>Tangerines</td>
      <td><input type="text" size="3" id="tangerineQty"></td>
      </tr>
      <tr>
      <td>Kiwi</td>
      <td><input type="text" size="3" id="kiwiQty"></td>
      </tr>
      <tr>
      <td>Pears</td>
      <td><input type="text" size="3" id="pearsQty"></td>
      </tr>
      <tr>
      <td>Grapes</td>
      <td><input type="text" size="3" id="grapesQty"></td>
      </tr>
      <tr>
      <td>Cantaloupe</td>
      <td>
      <input type="text" size="3" id="canteloupeQty">
      </td>
      </tr>
      <tr>
      <td>Strawberry</td>
      <td><input type="text" size="3" id="strawberryQty">
      </td>
      </tr>
      </table>
      <input type="button" value="Stack" onclick="fixTheList();">
    </div>
    </body>
    </html>

    Hello,
    Only difference I see is with the CSS properties of Input tag.
    You can define the style for these tag by adding few lines of code right below <title> tag in the code you are pasting in Object > Insert HTML.
    For an example you can add codes mentioned below
    <style type="text/css">
      input {
        border: thin solid #AAA2A3;
        margin-bottom: 7px;
        margin-left: 9px;
      </style>
    As per your requirement you can edit them.
    One more advice. Break your codes in to 3 part, Scripts tag, Style tag and Div tag in body.
    Insert Div tag in body in Object > Insert HTML
    Insert Scripts tag, Style tag in Page > Page Properties >Metadata > HTML for <head>
    This will help you avoid any unexpected behavior in preview when you have more stuff inserted in Muse Page.
    1. Script tag (Insert it in Page > Page Properties >Metadata > HTML for <head>)
    <script type="text/javascript">
    function fixTheList(){
    var msg = "";
    var msg = "";
    if (document.getElementById("appleQty").value > 0) {
    msg += "Apples   ";
    msg +=document.getElementById("appleQty").value;
    msg += "<br>";
    if (document.getElementById("orangesQty").value > 0) {
    msg += "Oranges   ";
    msg +=document.getElementById("orangesQty").value;
    msg += "<br>";
    if (document.getElementById("tangerineQty").value > 0) {
    msg += "Tangerines   ";
    msg +=document.getElementById("tangerineQty").value;
    msg += "<br>";
    if (document.getElementById("kiwiQty").value > 0) {
    msg += "Kiwis   ";
    msg +=document.getElementById("kiwiQty").value;
    msg += "<br>";
    if (document.getElementById("pearsQty").value > 0) {
    msg += "Pears   ";
    msg +=document.getElementById("pearsQty").value;
    msg += "<br>";
    if (document.getElementById("grapesQty").value > 0) {
    msg += "Grapes   ";
    msg +=document.getElementById("grapesQty").value;
    msg += "<br>";
    if (document.getElementById("canteloupeQty").value>0) {
    msg += "Canteloupes   ";
    msg+=document.getElementById("canteloupeQty").value;
    msg += "<br>";
    if (document.getElementById("strawberryQty").value>0) {
    msg += "Strawberry   ";
    msg+=document.getElementById("strawberryQty").value;
    msg += "<br>";
    document.getElementById("outputDiv").innerHTML = msg;
    </script>
    2. Style Tag (Insert it in Page > Page Properties >Metadata > HTML for <head>)
    <style type="text/css">
      input {
        border: thin solid #AAA2A3;
        margin-bottom: 7px;
        margin-left: 9px;
      </style>
    3. Div tag in body (Insert in Object > Insert HTML)
    <div id="outputDiv">
    <table>
      <tr>
      <td>Item</td>
      <td>Quantity</td>
      </tr>
      <tr>
      <td>Apples</td>
      <td><input type="text" size="3" id="appleQty"></td>
      </tr>
      <tr>
      <td>Oranges</td>
      <td><input type="text" size="3" id="orangesQty"></td>
      </tr>
      <tr>
      <td>Tangerines</td>
      <td><input type="text" size="3" id="tangerineQty"></td>
      </tr>
      <tr>
      <td>Kiwi</td>
      <td><input type="text" size="3" id="kiwiQty"></td>
      </tr>
      <tr>
      <td>Pears</td>
      <td><input type="text" size="3" id="pearsQty"></td>
      </tr>
      <tr>
      <td>Grapes</td>
      <td><input type="text" size="3" id="grapesQty"></td>
      </tr>
      <tr>
      <td>Cantaloupe</td>
      <td>
      <input type="text" size="3" id="canteloupeQty">
      </td>
      </tr>
      <tr>
      <td>Strawberry</td>
      <td><input type="text" size="3" id="strawberryQty">
      </td>
      </tr>
      </table>
      <input type="button" value="Stack" onclick="fixTheList();">
    </div>
    Regards
    Vivek

  • Why does terminal behave differently when logged in as different users?

    when I'm logged into my mba as my regular normal user, bash behaves normally;  but when I create a new user or use any user other than my default the behavior is different.  (might be bash or sh)
    Specifically, the tab autocomplete function works fine when I'm logged in as my regular user (tab-complete;  tab twice for all available selections/options).
    But on a newly-created user (also an admin) there is no tab complete, no 'tab twice, other options' etc. 
    Has anyone else seen this?
    I searched in this forum and found some instructions for creating an .inputrc file but I don't appear to have one on my default user so not sure why I would need this on the new user ?!?!?
    p.s. here are the instructions I found previously via a post on this forum:
    http://www.ernieflores.net/osx-page-4/how-to-enable-tab-completion-in-mac-os-x-t erminal/

    Done!  Thanks!
    https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/6/wo/iLhrfiEtEJtPFTt J8S23O0/23.83.28.0.9
    https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/6/wo/iLhrfiEtEJtPFTt J8S23O0/23.83.28.1.9

  • Applescript in Automator behaves differently when executed from inside Automator, or as an Automator application

    Hello everyone,
    I'm trying to execute an Automator workflow at startup, which I do by saving the workflow as an application, and adding it to the startup list, this works fine.
    My workflow works fine when executed from within Automator (ie clicking on the "Execute" button), but does not anymore when the Automator application is executed (ie. simply double clicking on my Automator file)
    I have narrowed it down to an Applescript inside my workflow which fails only when the application is executed from the finder (the step works fine from within Automator). The script automatically creates an ad hoc wifi network.
    The line which specifically fails is :
    set menu_extras to value of attribute "AXDescription" of menu bar items
    Anyone has any idea why executing the workflow from within automator, and executing it from the finder yield different results ?
    The crazy thing is that all this worked fine up until a few days ago, there might have been an update since (running Mavericks 10.9.2), but nothing game-changing.

    You will need to provide more than the one line of AppleScript you quote if you want a definitive answer.  (We can't even see which app you are addressing this to.)

  • 'create table..' statement behaves differently when alone or in a SP

    hello
    sorry for the title, I just couldnt think of a better description of the problem in very few words...
    the problem I have is:
    I created a stored procedure into the oracle db, and this procedure has the following code inside it:
    auxsql := 'create table tmp (id smallint, name varchar2(256))';
    execute immediate auxsql;
    - now this procedure I call from a java class, using a callable statement
    when I call the stored procedure, I get this message:
    ORA-01031: insufficient privileges (at the line containing the execute instruction)
    my dillema arises from the fact that if I change my callable statement to execute a query of the form:
    auxsql := 'create table tmp (id smallint, name varchar2(256))';
    execute immediate auxsql;
    - but executed as is, not embedded in a sp or something;
    - so if I change to execute simply this, all goes well....
    I would much appreciate if anyone knew at least where to start looking.
    Thank you,
    Silviu Lipovan Oanca
    p.s. for any further details, just say.
    Message was edited by:
    silviulipovan

    In all probability, the user that owns the stored procedure has the CREATE TABLE privilege through a role, not granted directly. In PL/SQL blocks (assuming definer's rights), only direct privilege grants are "visible", whereas straight SQL statements also "see" privileges granted through a role.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

Maybe you are looking for

  • How can I stop iPhoto from autosizing my pictures when I create a Book?

    ...I'm trying to create a Book in iPhoto and it keeps upsizing the pictures and cutting them off - cannot make them smaller to fit in all content

  • Displaying Report & Layout in a page

    On a BSP (created with Web Application Designer), I have a web report and a layout.Both are on the same page, one below other. This is done so that, the user can see the data from the report, make some decisions and then input values in the layout Th

  • What a bummer i need help

    my friend just gave me her old ipod nano, it's 4gb and i think it's the second gen. it's been working great for the past couple of days until a few hours ago. i left it connected to the usb cord, charging on my brother's laptop. i don't know if he me

  • Foto upload problem to facebook, ipernity, flickr

    I have a really strange problem when I try to upload fotos to Facebook, ipernity, flickr and other foto sites. when I upload a Foto from my camera Sony DSC-HX5V, then the foto is destroying while uploading. After the upload I see a foto but only the

  • Why cant i open more than one psd file in photoshop?

    when i try to open another psd while one is open i get "Another Adobe Photoshop CS6 is running Close Adobe Photoshop CS6 before running Adobe Photoshop CS6 Portable