I do not understand this code

that means "window.parent.document.forms".

is there a way to know what mean without having the rest of the code?

Alert ('Aviso!');
Window.parent.document.Forms [0].edAlgo.Select ();
Window.parent.document.Forms [0].edAlgo.Focus ();

It is a JavaScript question, not a question of ColdFusion, but I'll try to answer anyway.

window = self.

parent = self is a child window's parent window that gave birth to oneself.

document = document object (the code) model.

Forms [0] = first shape in an array of forms.

Window.parent.document.Forms [0] = (parent) window form opening.

. adAlgo.select () = form element select 'adAlgo '.

. adAlgo.focus () = place cursor on the form (focus) element "adAlgo".

It seems that it is a part of the validation of the form; If something in adAlgo is not correct, place the cursor there so that the user knows that the value must be corrected.

It's a full proposal, of course.

HTH,

^_^

Tags: ColdFusion

Similar Questions

  • Can not understand ADF code example

    Hi all
    I am trying to learn the tutorial Oracle ADF, but I do not understand this loop:

    public Integer getNextLineItem() {}
    int maxLineNo = 0;
    for (ServiceHistories
    {:GetServiceRequests().getServiceHistoriesCollection())} SVH
    If (svh.getLineNo ()! = null) {}
    int testLineNo = svh.getLineNo () .intValue ();
    If (testLineNo > maxLineNo) {}
    maxLineNo = testLineNo;
    }
    }
    }
    return ++ maxLineNo;
    }

    Hello

    It is always best to display the required information, while displaying issues.

    1. version JDeveloper.
    2. the link to the tutorial that you use.

    The initial appearance, the code finds a row in the ServiceRequests table (as a collection) and gets the linenumber column. Check its value and returns the line COMP + 1 max.

    Arun-

  • I do not understand this step "we can assume any MAC address we want by finding the key that controls the NIC we want to change.

    Hello
    anyone ever did in Winxp with success. I do not understand this step

    «We can assume that any MAC address, we want by finding the key that controls the NIC we want change, put in a value chain called "NetworkAddress" and affecting the MAC address we want to use formatted as a hexadecimal 12-digit number (example: 000000000001).»

    It is a part of the "Windows 2000/XP/Vista: The Hard Way.

    from this link
    http://www.irongeek.com/i.php?page=security/changemac

    Concerning

    original title: change MAC address

    Hello

    I suggest to refer to this thread and follow the steps in this thread and check if that helps:

    http://social.technet.Microsoft.com/forums/en/w7itpronetworking/thread/697bf48c-A226-4315-8875-2bbeddf16db2

    The steps in this link are for Windows 7 and they are valid for Windows XP.

    It will be useful.

  • I do not understand this behavior using Expression of Table common Recuersive

    I haven't used the RCTE much, but I'm using it each time as possible to better understand. Unfortunately, this one left me speechless.
    WITH test_data as
      ( select  'Bob' nm,  11 grp,  1 rnk  from dual union all
        select  'Ray' nm,  12 grp,  1 rnk  from dual union all
        select  'Joe' nm,  12 grp,  2 rnk  from dual union all
        select  'Liz' nm,  13 grp,  1 rnk  from dual union all
        select  'Jan' nm,  13 grp,  2 rnk  from dual union all
        select  'Lea' nm,  13 grp,  3 rnk  from dual union all
        select  'Sam' nm,  14 grp,  1 rnk  from dual union all
        select  'Ozy' nm,  14 grp,  2 rnk  from dual union all
        select  'Fae' nm,  14 grp,  3 rnk  from dual union all
        select  'Lee' nm,  14 grp,  4 rnk  from dual
      )
    , recurs ( grp, lst, rnk, nm  ) AS
    ( 
    SELECT  grp, nm, rnk, nm
      from  test_data
    where  rnk=1 
    --and grp = 14
    UNION ALL
    SELECT  t.grp
        ------------------------------------------------------------------------------------- 
        -- Toggle the commenting of the next two lines to see the error ----------------------
        --, r.lst || ', ' || t.nm          --- This is the line that I would like to have work
        -- Instead, using the next line, to limit the length of the string concatenation, but the result is wrong
        , SUBSTR( r.lst, 1, 2000) || ', ' || t.nm
        ------------------------------------------------------------------------------------- 
        , t.rnk
        , t.nm
      FROM test_data t
        JOIN recurs r ON ( t.rnk = r.rnk + 1 
                         AND t.grp = r.grp)
    )
    SELECT recurs.*, LENGTH ( nm )  
    FROM recurs
    ORDER BY grp, rnk;                      
    If I Uncomment a line (and comment out the line that accompanies it, at the same time), the error will be:
    ORA-01489: result of string concatenation is too long
    And by running the query of how it is demonstrated, this returns:
           GRP LST                  RNK NM  LENGTH(NM)
    ---------- ------------- ---------- --- ----------
            11 Bob                    1 Bob          3
            12 Ray                    1 Ray          3
            12 Ray, Joe               2 Joe          3
            13 Liz                    1 Liz          3
            13 Liz, Jan               2 Jan          3
            13 Liz, Jan, Lea          3 Lea          3
            14 Sam                    1 Sam          3
            14 Sam, Ozy               2 Ozy          3
            14 Sam, Ozy, Fae          3 Fae          3
            14 Sam, Ozy, Lee          4 Lee          3
    
    10 rows selected.
    Note that 'rnk = 4' record in "grp = 14". The value of "E" is outside the "lst".

    Can someone make sense this for me?

    It works, explicitly express the result to varchar2 (4000) in the anchoring of the union query.

    SQL> WITH test_data as
      2    ( select  'Bob' nm,  11 grp,  1 rnk  from dual union all
      3      select  'Ray' nm,  12 grp,  1 rnk  from dual union all
      4      select  'Joe' nm,  12 grp,  2 rnk  from dual union all
      5      select  'Liz' nm,  13 grp,  1 rnk  from dual union all
      6      select  'Jan' nm,  13 grp,  2 rnk  from dual union all
      7      select  'Lea' nm,  13 grp,  3 rnk  from dual union all
      8      select  'Sam' nm,  14 grp,  1 rnk  from dual union all
      9      select  'Ozy' nm,  14 grp,  2 rnk  from dual union all
     10      select  'Fae' nm,  14 grp,  3 rnk  from dual union all
     11      select  'Lee' nm,  14 grp,  4 rnk  from dual
     12    )
     13  , recurs ( grp, lst, rnk, nm  ) AS
     14  (
     15  SELECT  grp, cast(nm as varchar2(4000)), rnk, nm
     16    from  test_data
     17  where  rnk=1
     18  --and grp = 14
     19  UNION ALL
     20  SELECT  t.grp
     21      -------------------------------------------------------------------------------------
     22      -- Toggle the commenting of the next two lines to see the error ----------------------
     23      , r.lst || ', ' || t.nm          --- This is the line that I would like to have work
     24      -- Instead, using the next line, to limit the length of the string concatenation, but the result is wrong
     25      --, SUBSTR( r.lst, 1, 2000) || ', ' || t.nm
     26      -------------------------------------------------------------------------------------
     27      , t.rnk
     28      , t.nm
     29    FROM test_data t
     30      JOIN recurs r ON ( t.rnk = r.rnk + 1
     31                       AND t.grp = r.grp)
     32  )
     33  SELECT recurs.*, LENGTH ( nm )
     34  FROM recurs
     35  ORDER BY grp, rnk;
    
           GRP LST                                   RNK NM  LENGTH(NM)
    ---------- ------------------------------ ---------- --- ----------
            11 Bob                                     1 Bob          3
            12 Ray                                     1 Ray          3
            12 Ray, Joe                                2 Joe          3
            13 Liz                                     1 Liz          3
            13 Liz, Jan                                2 Jan          3
            13 Liz, Jan, Lea                           3 Lea          3
            14 Sam                                     1 Sam          3
            14 Sam, Ozy                                2 Ozy          3
            14 Sam, Ozy, Fae                           3 Fae          3
            14 Sam, Ozy, Fae, Lee                      4 Lee          3
    
    10 rows selected.
    
  • I do not understand this statement "It is a good idea to keep track that uses a bunch of Audio channels selected in the arrange window, unless you actively play or record on a software Instrument."

    It's a good idea to keep track that uses a bunch of Audio channels selected in the arrange window, unless you actively play or record on a software Instrument.

    Which no longer applies in Logic Pro X 10.2.3. In old versions of logic, selecting a range with a software instrument automatically would make this instrument in "Live" mode, which means that the instrument has begun to transform any MIDI in sound with a minimum of delay. This direct mode becomes an instrument need CPU power (on a single processor) and peut overload the audio engine. It is a waste of CPU if there is no direct game. Then select an audio track would ensure that No instrument is in direct mode. Now (LPX 10.2.2 or more) in direct mode can be turned on or off on a track, chosen or not - it is the R button on the track header.

  • Can not understand this issue with the layout - please help

    Hello

    I have a problem with the page layout in the header of my site portion.  I would like the Facebook icon, the text "Write us", "Reservations welcome!" text and phone number all rinse just like on the picture below.

    whatiwant.jpg

    No matter what I do the text "Write to us" is not the right move.

    whatigot.jpg

    I don't know what I'm not doing correctly so I ask some fresh eyes to take a look at the code CSS (here).  The tags I'm tweaking are:

    #et-social-icons {float: right; margin: 20px 0px 0px 0px ;}}

    #et-social-icons one {make-size: 14px; color: #581b1a ;}}

    #email - us {margin: 60px banner 0px 0px 0px; padding-left: 40px ;}}

    #email - we a {make-size: 14px; color: #581b1a ;}}

    #reservations p {margin: 0px 0px 30px 0px; do-size: 14px; police-weight: 800; color: #581b1a ;}}

    The header html/php code is here:http://codeviewer.org/view/code:383 has

    Try the css below. I'm not sure where you want to put as there seems to be a lot of css files associated with the page. We really need to finish the css cascade.

    #email - us {}

    text-align: right;

    }

    {#et-social-icons}

    text-align: right;

    padding: 0;

    }

    #reservations p {}

    text-align: right;

    margin: 0;

    padding: 0;

    }

  • Win 95/98 and xp - download fractal program = works ok; Download program OK vista; try to run = "vista does not support the mode full-screen" I do not understand this. What can we do to make this porogram work?

    the downloaded program title is taken from the site spanky. the title is frain204 zip

    Have you checked with the person or the company that produces the show? Whereas it is for Windows 95, 98 and XP, it may well not be compatible with Vista.

    "spud-u-like" wrote in the new message: * e-mail address is removed from the privacy... *

    the downloaded program title is taken from the site spanky. the title is frain204 zip

  • can not understand this type of exxtension...

    These all files are video files...
    by mistake I deleted these files, but when I got the file extension was the change...
    How to solve this permanent... ???

    Hello

    The selected file is a video made with Windows Phone, so try to rename the file and provide an .mp4 extension, and press enter. Now try to open the file with video app in Windows 8.
    Hope this helps, good luck :)
  • Adobe first pro does not start this code appears (0xc000001d)

    Help, please! I uninstalled and reinstalled this program that I really want to cancel this subscription

    Hi Reyes,

    Update first Pro CC 2015 (9.2).

    Thank you

    Kevin

  • I'm buying the elements of Adobe 12 phothop and I get the error message saying that a/c has been entered for another country. Please log out and log in with an existing a/c for this country.   I do not understand this message.  I registered with th

    Has anyone else had this problem with trying to buy Adobe photshop.

    Hi Ozziegirl,

    Please check the Doc: How to complete a purchase when I get an incorrect error 'country'?

    Kind regards

    Rave

  • can you please help me understand this regexp

    Dear experts,

    I got the code of the Web site only.

    But I am not able to understand.

    I know its very basic question and I need to us in the form of documentation.

    Please help understand this code

    
    
    with data_cell as (
                       select  q'~[{"id":"1666","issueId":"ezsats:10000:1418145284747","sapId":"1101854","name":"INDIRA DEVU MD PC","createdBy":"Someone, Adam","dateAdded":"2014/12/09"},  {"id":"1667","issueId":"ezsats:10000:1418145284747","sapId":"1125031","name":"IL INDIRA DEVU MD PC","createdBy":"Someone, Adam","dateAdded":"2014/12/09"}]~' cell
                         from  dual
                      )
    select  rtrim(regexp_replace(cell,'.*?"name":"([^"]*).*?}.','\1;'),';')
      from  data_cell
    /
    
    
    () The subexpression (a.k.a. a submatch or group) 
     and subexpressions may be nested to any depth.
     Parentheses (subexpresions) also capture the matched element into a variable that may be used as 
     a backreference. 
      (aka grouping or submatching) and their use as backreferences.
    The following is a set of iteration metacharacters (a.k.a. quantifiers) that can control the number of times the preceding character is found in our searches. 
    The iteration meta characters can also be used in conjunction with parenthesis meta characters.
    . The . (period) means any character(s) in this position, for example, ton. will find tons, tone and tonneau but not wanton because it has no following character.
    ? The ? (question mark) matches when the preceding character occurs 0 or 1 times only, for example, colou?r will find both color (u is found 0 times) and colour (u is found 1 time).
    * The * (asterisk or star) matches when the preceding character occurs 0 or more times, for example, tre* will find tree (e is found 2 times) and tread (e is found 1 time) and trough (e is found 0 times).
    + The + (plus) matches when the preceding character occurs 1 or more times, for example, tre+ will find tree (e is found 2 times) and tread (e is found 1 time) but NOT trough (0 times).
    

    Hello

    Like John said, if you want to talk about the suggestion of someone, then it makes more sense to respond to this proposal in the same thread.

    Try to split the term complicated part smaller, easier to understand, like this:

    Select rtrim (regexp_replace (cell

    , '.*?'        || -any text (as low as possibble)

    "« nom » : »" ||

    '('          || -- \1 is ...

    '[^"]*'  || -0 or more characters, but without quotes

    ')'          || -end \1

    '.*?'        || -any text (as low as possibble)

    '}.'            -a hug right, followed by any 1 character

    , '\1;'

    )

    , ';'

    )

    of data_cell

    ;

    This makes it more clear what you first do replaces

    x 1 "name": "y' 'x 2}.   with a little

    There

    where x 1 and x 2 can be anything, except that you do not want 'something' to include another instance of the model that you are replacing.  That's why you should use

    .*?  instead of simply

    .*

    The '?' after ' *' makes No greedy, i.e. when there is a game of choice, as little as possible.  (The default value for the regular expressions must be greedy, or match as much as possible.)

    Note that this solution assumes there is exactly 1 "name" element in each set of braces.  For example, if you have a string like:

    "[{'name': 'A', 'name': 'B', 'name': 'C', 'name': 'D'}, {'foo': 'bar'}]' he returned.

    ' ONE; [{'foo': 'bar'}] "The solution more complicated that I posted in response on the original thread #3 returns

    ' ONE; B; D"

    Note also that none of them not what you asked.

  • can someone explain this code

    Hello, when I look at this code, I do not understand a code, can someone explain this code?
    Thank you very much!!!

    The creation of a 'method' for a vector object (in the old style of class definition), which gives it a method with an argument in degrees rotate.

    It replaces the vector existing x and properties of y (in the part "with (this)" code) based on the angle that was passed.

    I don't know if it gives correct results, because I don't check the math/trig, but it is the interpretation of what I see. What exactly do you want explained more in detail?

  • I do not understand file history

    What is that thing in the history of the files all about?  All the explanations I've found are so shallow and does not explain what he actually did.  What are all of the advanced options and how they do it?  Why can not I just have a complete and detailed description of how to use it?

    I put it up to send files on a network drive.  There are about 100 GB of photos, music and documents in my libraries.  He sat there for two days, saying: it was market back them and whenever I checked to what extent she had progress was pathetic.  What is it meant to be so slow?  Why can't have just a progress indicator to show what he does?

    Historical files seems to take 80 GB to save backups to about 40 GB of files, even if I did not bring any changes or the file structure, and this is the case when it is only about to half way through all my backup files.  It must make a complete backup of base before trying to do things smart version?

    I don't want you to save hundreds of versions of files, my destination drive is not large enough for this.  I want to save a version and leave it at that.  I have a 200 GB backup drive and 100 GB of data to go inside.

    Microsoft is trying to make it intuitive and simple, by simply not explain it in detail.  But when he doesn't have what you want and you do not understand this policy is of no use.

    Can anyone point a complete and detailed guide decent?  Maybe someone can help answer some of my ignorant questions above?

    Thank you

    Historical files would probably meet your needs.  It is not a copy of a versioned file if this file has not changed, so it would indeed give you one copy of this file.  Of course if you have modified the source file, it would keep the two if you can "go back".

    If you don't want that kind of thing of time machine, you can actually do what you want with a programmed control.  Some people use the robocopy command, but I'm not too familiar with it, and I prefer the simpler xcopy command.  For example, this command copies all the files in the Documents folder on the hard disk in E:, overwrite files already on E: (so replace it with the latest version).  The other options I used are described in the screenshot below:

    xcopy C:\Users\Shawn\Documents /s /v/c/i/q/y/z per day

    You can put this in Task Scheduler and tell him to repeat every night at 04:00 or something your backup is never more than one day old.

  • Im getting this error code: 80080005 and dt000 but I do not understand why or how he got that way please help?

    Original title: help please if you can

    Im getting this error code: 80080005 and dt000 but I do not understand why or how he got that way please help?

    Hi LesaW,

    ·         Exactly when you receive this error code?

    Microsoft has released a new "Fix it" solution that should automatically solve your problems with Windows Update. Click on the link below and follow the instructions.

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058

    I hope this helps.

  • Windows Update driver Fresco Logic USB Hub rot caused the pilot to read device status: the drivers for this device are not installed. (Code 28).

    Windows Update driver Fresco Logic USB Hub rot caused the pilot to read device status: the drivers for this device are not installed. (Code 28). The Roll Back button is not active. Where can I get the previous driver that came with my system. ASUS N53S Windows 7. Thank you very much.

    Hello

    Thanks for posting in the Microsoft Community.

    I understand your annoyance that you cannot update the driver hub USB rot. Please follow the steps below to help you to solve the problem.

    I would like to inform you that a Code 28 error is caused by a driver missing for that piece of hardware.

    There are all sorts of reasons that a driver could not be installed for a device, but your troubleshooting the problem will be the same regardless of the root cause.

    • Remove or reconfigure newly installed unit.
    • Restore the version before your driver update.
    • Use system restore to undo recent changes in Device Manager.

    Step 1: Roll back the driver to the version before your update.

    If you are having problems with your computer or device after upgrading sound driver, you can restore to an earlier device driver. If you are having problems with your computer or device after upgrading sound driver, you can restore to an earlier device driver. If you are having problems with your computer or device after upgrading sound driver, you can restore to an earlier device driver. If you are having problems with your computer or device after upgrading sound driver, you can restore to an earlier device driver. Check out the link below to make back the driver:

    http://Windows.Microsoft.com/en-in/Windows/restore-driver-previous-version#1TC=Windows-7

    When Windows 7 starts up again, it will load with the device driver of this material that you had previously installed.

    I suggest you to uninstall the driver from hub to rot Fresco Logic USB Device Manager and install the most recent on the manufacturer's Web site.

    Tips for solving common driver problems:

    http://Windows.Microsoft.com/en-us/Windows7/tips-for-fixing-common-driver-problems

     

     

    Hope this information is useful. Feel free to get back to us for further questions or problems related to the Windows operating system.

    Thank you.

Maybe you are looking for