Browser problem to display a value in the field "display only".

I'm trying to display a value in the "Display" section only when AJAX select list is changed. This works fine in IE but not in Firefox. I created the test below page on the site of the APEX. Any ideas are appreciated.

http://Apex.Oracle.com/pls/OTN/f?p=54577:1

workspace: stone
username:[email protected]
password: apex_demo

Thank you
Surya

Hi Surya,

I replaced x (node) .innerText = pValue; by $s (textNode, pValue); and it seems to work.

Kind regards
Jonathan

Tags: Database

Similar Questions

  • Is it possible to display the dynamic value in the ToolTip? I tried: this.assist.toolTip.value = this.rawValue; for a text field 'property MouseEnter', but it does not display the current raw value. It displays a previous raw value of the field... Guilty

    Is it possible to display the dynamic value in the ToolTip?

    I tried:

    this.assist.toolTip.value = this.rawValue; for a text field on 'ownership' MouseEnter

    but it does not display the current raw value. It displays a previous raw value of the field...

    I wrote 'YYYY', but is not displaying on the first mouseEnter event

    Capture_1.JPG

    When I show event mouseEnter for the 2nd time it gives good value.

    Capture_2.JPG

    Now, I changed the "BBBB" value but the first mouseEnter event it displays the value previous i.e. "YYYY."

    Capture_3.JPG

    I found the solution. I wrote the script ("this.assist.toolTip.value = this.rawValue ;") on 'property MouseEnter' but the need to write the script to the "Output" of the field event. ")

    Thank you.

  • a problem in passing multiple values in the loop settings for

    Hi all

    I am facing a problem in passing multiple values in the loop settings for.


    EX:

    CREATE or REPLACE PROCEDURE (pr_id OUT NUMBER) HAVE


    tab type is table of NUMBER;

    TEMP_TAB TAB;

    BEGIN

    Select the COLLECT LOOSE pr temp_tab pr_id;

    I'm in 1.TEMP_TAB. loop of COUNTING

    PR_ID: = temp_tab (i);

    end loop;

    END TEST;

    OUTPUT:-

    pr_id = 234578


    in the example above, I'm only a value as an out parameter. but I send you PR_ID of the loop.
    why I don't get all the values that the parameters.please offer a solution for me.

    Thank you my friend.

    More clarification, let's look at your code...

    -- create a procedure and have a single numeric out variable
    CREATE OR REPLACE PROCEDURE TEST ( pr_id OUT NUMBER ) AS
      -- declare a type as an array of numbers
      type tab is table of NUMBER;
      -- declare a varianble of that array type
      TEMP_TAB TAB;
    BEGIN
      -- query all the values from the table into the array
      select pr_id BULK COLLECT INTO temp_tab from pr;
      -- loop through each value in the array
      for i in 1..TEMP_TAB.COUNT loop
        -- set the value of the single OUT parameter, OVERWRITING any previous value it has
        PR_ID := temp_tab(i);
        -- loop around to the next value
      end loop;
      -- end the procedure with the final value of PR_ID
    END TEST;
    
  • How to extract the value of the field in variable

    I want to be able to read the value of the field out of the browser and store in a variable for I can manipulate it. I tried several methods, that which no I can't find the proper syntax. My last is the following:

    . . Solve ("postal code", "/ip/", Source.DisplayContent, 1);

    I assumed that the Group should be able to draw from this, but it does not solve. I think my problem is the regular expression or index (that I had with the null value). Any help would be greatly appreciated as I have a tight deadline to achieve. Thank you.

    -John

    Hi John,.

    Why are you using web.window? Surely, you would use web.element?

    Concerning

    Wayne.

  • How can we access the value of the field in a line removed in the buffer of the component?

    In the PeopleSoft component buffer when it removes a parent row children lines are also deleted, therefore, not possible to access the value of the field of these lines.

    Example: If we have RECORD1 at level 1 and RECORD2 (which contains the INCIDENT_NBR field) at level 2.

    If a row is deleted at level 1, level 2 lines are also deleted, but before delete, I need access to the value of INCIDENT_NBR and make sure no line (s) not many for this value in a third record record RECORD3.

    If any line exist in the RECORD3 record an error message should appear in the case otherwise the delete process can go.

    I put the peoplecode in RECORD2. INCIDENT_NBR. SavePreChange (at the record level) because this control must be carried out in all cases for all the component where my RECORD2 record is used.

    When I display the value of the field I always get a null (00000000 digital).

    It is possible that in PL/SQL within a trigger, but unfortunately in this case, I can not catch the error produced by RAISE_APPLICATION_ERROR (-20000, 'Suppression of an incident not allowed when there are dagnostics'); in Peoplecode.

    Does anyone know if there is a way to get the values of the fields in the deleted lines?

    Thank you

    A rowset object has two properties

    ActiveRowCount

    All lines of lines in an exclusive set of deleted rows

    Number of lines

    All lines of a set of lines included the deleted rows.

    So I would say, to loop through all lines and check for deleted rows and make any desired logic, something like:

    For & i = 1 to & rs. Number of lines

    & line = & rs. GetRow (&i);)

    If & row. IsDeleted then

    & rec = & rank. GetRecord (1);

    & fld = & rec. GetField (FIELD. YOURFIELD);

    / logical necessary * /.

    End - If;

    -End;

  • How to pass item values to the fields in Page #2 Page 1

    Hello

    On the first page, I have two points and a single button.
    Point n ° 1 P1_PROJECT_NAME display text (escape special characters, does not save the State)
    Article #2 P1_PROJECT_ID hidden and protected
    Button #1 create redirect page 2

    When the user clicks on the Create button, 2nd page opens with the form for creating detailed project which includes the two following fields.
    #1 P2_PROJECT_ID a text field
    #1 P2_PROJECT_NAME a text field

    I want to change the P1_PROJECT_ID value to the field of P2_PROJECT_ID and P1_PROJECT_NAME to the P2_PROJECT_NAME field.
    How can I do this?

    Thank you
    Guy

    Guy,

    If you change your button and go to the "URL redirection Option" section you will find two fields: 'Put on these elements' and 'with these values.
    Simply enter your values in these two fields separated by commas, in the same order.

    Kind regards

    --
    Paulo Vale
    http://Apex-notes.blogspot.com

  • How to find duplicates of a field value? For example - in a field, I have values like {123,345,346,123}, now I want to remove the duplicate value in the field so that my output looks like {123,345,346}

    How to find duplicates of a field value? For example - in a field, I have values like {123,345,346,123}, now I want to remove the duplicate value in the field so that my output looks like {123,345,346}

    If it's an array you want to deduplicate then here is a script [for use in the Script Processor] I prepared earlier:

    var result = new Array();

    var added = new Object();

    If (input1 [0]! = null)

    {

    for (var i = 0; i)< input1[0].length;="">

    {

    var point = input1 [0] [i];

    If (! added [item])

    {

    added [item] = 1;

    result [result. Length] = item;

    }

    }

    }

    Output 1 = result;

    Kind regards

    Nick

  • Question: Is it possible to query a record datacard on the value of the field (REST API)?

    Hi everyone :-)

    URL: / data/Objetpersonnalise / {id}? count = {number} & page = {page} &Search = {}, & orderBy = {orderBy} & lastUpdatedAt = {lastUpdatedAt}

    Can we get a result based on a search query on the value of the field?

    Thank you!

    ADI

    Hello Adi,

    You should be able to query the value of a CDO field via the name of the database field.

    Example: CDO field "City" is the name of the city of '1 '.

    Your query: / data/Objetpersonnalise / {id}? Search = Ville1 = Berlin

  • The data specified in the request is invalid. The value of the field id package is not a MultipleLiteral, but the field is defined as MultiValued

    We have a property in a component software which is an array. the value is [""]

    In the blueprint I am sitting a value property ['vim', 'emacs'] defalult

    When I ask this plan and change the values of foo, bar, I get this error

    The data specified in the request is invalid. The value of the field id package is not a MultipleLiteral, but the field is defined as MultiValued

    someone knows why this happens?

    I'm runnign vra7.0.1

    Strangely, it works if

    Overridable is set to NO

  • Get the value of the field notes.

    Hi all

    I just started with powercli.

    I want to set and get the value of the field notes.

    Put in it, is done by, virtual Set-machine - VM "Name VM" - Description "text1 text2 etc." - confirm: $false

    But how to get the value of the field notes? I it could be done like: Get-VM-name 'VM ' | Get-Annotation CustomAttribute - Description

    However, I get an error:

    Get-Annotation: 08/07/2012 11:11:28 Get Annotation found Cu

    stomAttribute with the name "Description".
    On line: 1 char: 44
    + Get - Vm "klj - bastionhost | Get-Annotation < < < <-CustomAttribute description
    n
    + CategoryInfo: ObjectNotFound: (Description: String) [Get-annotated
    tion], VimException
    + FullyQualifiedErrorId: Core_ObnSelector_SelectObjectByNameCore_ObjectNo
    tFound, VMware.VimAutomation.ViCore.Cmdlets.Commands.GetAnnotation

    kim look

    You can get the field notes VM with:

    Get - VM | Select-Object - Property Name, Description

  • The value entered does not match the value in the field

    I have a simple form on the page, a field callculates a percentage based on the values entered in 2 other fields, works very well, but then all the entries on the form generates this message "the entered value does not match the value in the field".

    Also, you can remove a tab stop of the fields?

    Just happened again.

  • Change the number of decimal places according to the value of the field

    Hello world

    I'm doing a form using Adobe Acrobat.

    I want a field that usually has only 2 decimal places, to have 4 decimal positions ONLY when necessary.

    Example: If the value of the field is 3.53 that's fine, but if the value is 3,5346 I want to show him this.

    I played around field properties and I realized that I need to use a custom format script. I don't know where to start, however. Can you point me in the right direction?

    Thank you in advance.

    I just threw together quickly and did not test, take is as a general guide. It is intended to be placed in a JavaScript to the document level and called from custom Format script of the field. You can not put it simply everything as the script to Format because of the way that Acrobat behaves when you do.

    The point of the script is to calculate the number to use as the first parameter to the AFNumberFormant function, which is that Acrobat uses when configuring a digital format. I couldn't think of a clever name for the function, so I leave it to you:

    function fmt1() {
    
        // Set the minimum number of digits to the right of the decimal
        var min = 2;
    
        // Get the field value, as a string
        var val = event.value;
    
        // Round to the nearest 10-thousand of a cent
        var rn = util.printf("%.4f", val);
    
        // Replace any trailing zeroes with nothing
        rn = rn.replace(/[0]+$/, "");
    
        // Get the number of characters after the decimal
        var num = rn.split(".")[1].length;
    
        // Set to the minimum if appropriate
        if (num < 2) num = 2;
    
        // Use built-in formatting function
        AFNumber_Format(num, 2, 0, 0, "\u20ac", true);
    
    }
    

    Call it like that in the case of the field Format:

    fmt1();
    

    If this isn't a calculated field, but the one who interacts with a user, you'll want to add a function with the swing, something like:

    function keystroke1() {
    
        AFNumber_Keystroke(2, 2, 0, 0, "\u20ac", true);
    
    }
    
  • Problem of setting a value for the hidden item click on the button with processes action or pl/sql dynamic

    Apex 4.1

    Oracle 11g

    I have a page which consists of a main and several sub-regions area.  I have a pl/sql process in after the header SET_DISPLAY(:P400_DISPLAY:='MAIN';))

    Three subregions have a contional show where P400_DISPLAY = STORE.  It works in the hiding of the sub regions.

    Now, I want to change the value P400_DISPLAY to the STORE to show the subregions when I hit a button.

    I tried to create a dynamic action for the click on the Add button, but get the following error:

    The selected button uses a model of 'button' that does not contain the #BUTTON_ID substitution string #.

    I went to the models and found:

    Substitution strings

    Top

    Substitution strings are used in sub models to reference the value of the components. This report details use of string substitution for this model.
    Substitution string Referenced De Description
    #LINK #.YesModelTo be used in an attribute "href".
    #JAVASCRIPT #.NO.To be used in an "onclick" attribute
    #LABEL #.YesModelButton label
    #BUTTON_ATTRIBUTES #.NO.The attributes button
    #BUTTON_ID #.NO.ID generated button will be ID either the static button if defined, or if not will be a generated ID internally in the format 'B ' | [Internal ID of the button.

    I then tried to create a page process, pl/sql,: P400_DISPLAY: = 'STORE '; If the button is pressed.  The action of the button is submit page. However, it does not change the value of P400_DISPLAY and the subregions are hidden.

    Suggestions please on how to fix the template or change the value of P400_DISPLAY?

    The question of the root, it's that, even if you change the value of the element of your page, it is not visible to other areas of the page until it is in the session. Thus, any other action based on the value of the element of your page. the visibility of a control, a report based on the value of the item, etc. will be affected by changing the value of the item page until it has been changed in the session. Even after that, items are stored in the session, then you must do something to influence the revalued value. To see the effect of this, observe that your page will load and assesses the value of the element of your page, it sees which is the "MAIN" and mask areas. However, he didn't reassess after that.

    Then; your choices for this value set at the session are send the page, or use JavaScript to set the value in the session. If you use the latter, you will have to do extra work to make visibility tests be re - run, so, let's stick with the submit method.

    What you did above sounds correct to do this but, there are a lot of decisions, that you might have done that may have caused things to do not occur in the correct order.

    First of all, we will confirm that what I describe above is your problem. From the development environment, load the page, click on the button to change the value and submit. Now, click on the link marked the Session. He is always at HAND? If the answer is "Yes"; That's your problem.

    Let's start with your calculation after the header. You set it to * only * run if the current value of the element of your page is null? If this isn't the case, it's your problem.

    Load the Page-> Item set to 'Hand' by calculation-> click on the button--> Item set to STORE-> Submit-> Page Load-> point by calculating the value 'hand '.

    See the problem?

    Assuming that's not the question, you have created a branch to the same page, right? What is your process for the branch point? Is it * after * Validation, computation etc.? Because if not, you are not changing the value before that didn't get to submit.

    I bet that's the first question, but take a look at these.

    See you soon,.

    -Joe

  • Change the default value for the field selection at run time

    I would like to know how can I keep persistent information in Sib. My problem is I want to change the default value of the choice field when running so that when the user starts the application again, it can retrieve the new default value.

    store values can be done using the persistence framework.
    See Persistable, PersistantObject and PersistantStore in the API.

    You can call setSelectedIndex on an objectchoicefield.

  • Can set the default value in the field with the rule

    I have a rule to set the xWebStartDate to dateCurrent(), but it does not work. I disabled all other rules, so there is no conflict. This rule is only to try to fix the date of xWebStart, nothing else.
    'Use the activation of rule condition' is checked. I selected 'Action of use' and 'check in Selected. I have added the xWebStartDate field and I have a default custom
    < $dprDefaultValue dateCurrent () = $ >
    Thus, it is for content that already exists and someone is to check in a new revision.
    I know that my rule works, because I added the dDocAuthor field and set it to "infOnly" and that works. This problem occurs if the action is updated also. But for check-ins again, I put the xWebStartDate to dateCurrent successfully.

    Update: it's existing content, which already has a xWebStartDate. The rule must replace the existing value.

    Edited by: ironarm February 1, 2013 17:58

    In your case, you cannot use default value for the new revisions, because your content is already a value for the metadata field.

    Alternative:
    (1) change your rule
    (2) on the general tab, check "Use activation Condition rule" and click Edit
    (3) in 'Edit Activation Condition' window, click on the tab "side effects".
    (4) add the following...

    <$if isCheckin $> [[%or you can also use (IdcService and IdcService like "CHECKIN_SEL_FORM")%]]
        <$xWebStartDate=dateCurrent()$>
    <$endif$>
    

Maybe you are looking for