How to pass the content with in the cell in the table of rules xml

Hi all the Scripting Guys,.

I created a table using rules xml with 3 numbers of the cells where first cell contains some data and so on, but following the cell first line may of does contain all the data so in that cell of second data line moved to the first cell and thired data line moved to the second cell that is very worried about me since the second cell in each row must be in the second cell only.

For Instance -: Required to output

Title NUMPAGE Topic
Title46The subject
50Another topic
54Object
Title60Another topic
64The subject

I get script - put it:

Title NUMPAGE Topic
Title46The subject
50Another topic
54Object
Title60Another topic
64The subject

myRuleSet = new Array ( new ProcessSec,
           new ProcessPara,
           new ProcessSecHead,
           new ProcessArt,
           new ProcessPG,
           );
with(myDocument){
    var elements = xmlElements;
     __processRuleSet(elements.item(0), myRuleSet);
      } 

function ProcessSecHead(myXPath){
    this.name = "ProcessSecHead";
    this.xpath = myXPath; 
    this.apply = function(myElement, myRuleProcessor){
   with(myElement){
            __skipChildren(myRuleProcessor);
              var myNewElement = myContainerElement.xmlElements.item(-1).xmlElements.add(app.documents.item(0).xmlTags.item("Cell"));
     myElement.move(LocationOptions.atBeginning, myContainerElement.xmlElements.item(-1).xmlElements.item(-1));
     }
    return true;
    }  
}
function ProcessPara(){
    this.name = "ProcessPara";
    this.xpath = "//para"; 
    this.apply = function(myElement, myRuleProcessor){
            var myNewElement = myContainerElement.xmlElements.add(app.documents.item(0).xmlTags.item("Row"));
        return true;
    }  
}

function ProcessArt(){
    this.name = "ProcessArt";
    this.xpath = "//para/aug"; 
    this.apply = function(myElement, myRuleProcessor){
        with(myElement){
            __processChildren(myRuleProcessor);
            var myNewElement = myContainerElement.xmlElements.item(-1).xmlElements.add(app.documents.item(0).xmlTags.item("Cell"));
            myElement.move(LocationOptions.atBeginning, myNewElement);   
        }
        return true;
    }  
}
function ProcessPG(myXPath){
    this.name = "ProcessPG";
    this.xpath = myXPath; 
    this.apply = function(myElement, myRuleProcessor){
        with(myElement){
            __skipChildren(myRuleProcessor);
            var myNewElement = myContainerElement.xmlElements.item(-1).xmlElements.add(app.documents.item(0).xmlTags.item("Cell"));
            myElement.move(LocationOptions.atBeginning, myNewElement);
        }
        return true;
    }  
}

All would be greatly appreciated

Mac

Oops, I apologize. I misunderstood the requirement.

And this example shows us why the rules XML in InDesign is not the most practical approach...

Beforehand, for each , we went to the top parent and found a and copied in.

But we did only want to do this for the first .

But convert us all the , , and

the knots in the table cells later, we therefore need to insert a space reserved for this place to avoid having a problem. (If not, we could hardcode the number of the column for and the
lymph and prepopulate the nodes of the table...).

So I'll offer several changes to the fragmentary manuscript, thus you can intergrate them and learn what is happening:

First of all, let's change these helper functions to return a null value in the event that they do not find a child node, rather than return the node parent. This means that it is easier now to test their return values in case of not finding something, that is a case that we know today:

// Handy subtree functions
function firstChildTag(node, tag) {
    var i, e = node.xmlElements;

    for (i=0; i=0; i--) {
        if (e[i].markupTag === tag) {
            return e[i];
        }
    }
    return null;
}

Then, we must be able to copy nodes in particular places. Before we used it copied copyFromToChild() who always has nodes in the context node. But we need to be more general, copy the tags. We'll create a version that allows us to specify the destination:

// Apply from() to the context node to get
// a source node. Apply to() to the
// context node to get a destination node.
// Copy the source node in the specified
// location (how) to the destination node.
var copyFromTo = makeRule("copyFromTo",
function (element, ruleProcessor, from, how, to) {
    var copy;

    // __processChildren(ruleProcessor);
    copy = from(element).duplicate();
    copy.move(how, to(element));
    __skipChildren(ruleProcessor);
    return XMLmm.stopProcessing;
});

It must also be able to add an empty tag in the other nodes in . Maybe in hindsight I should have just made a new node outside the subtree us work and then copied that every time with the function copyFromTo() above. But instead, I expanded addNode() (which is currently used to create rows in the table) to not take a fixed destination, but rather a function that returns a destination, so that the destination can then be compared to the context node:

// Create a new node at parent. Doesn't do
// anything with the XPath context node.
var addNode = makeRule("addNode",
function(element, ruleProcessor, where, tag) {
    var parent = where(element);

    if (parent) {
        parent.xmlElements.add(tag);
    }
    return XMLmm.continueProcessing;
});

Now, we can replace the first transformation rule (which allows to copy into all the s) article by another who works on each and copy to the beginning of the first brother according to . Note that the XPath specifier is "//section/section-head" rather than "/ / section" because we do not want to operate on the copy that we have inside the tree. Otherwise, we get double nodes.

// For each , that it is a direct child of a 
, // copy it inside the first child. // Next, move each
node to the end of the , // placing it after the node. __processRuleSet(root, [ copyFromTo( "//section/section-head", function(n) { return n; }, LocationOptions.AT_BEGINNING, function(n) { return firstChildTag(n.parent,tags["para"]); }), moveFromTo( "//para", function(n) { return firstChildTag(n, tags.article); }, LocationOptions.AT_END, // This is more general than we need to be; we're moving // to "the end", but the end of WHAT? It need not be the // , it could be some other node. function(n) { return n; }) );

Now, we need to deal with the other s that have no in them. I'm not proud of it, we could probably do better. And would certainly be easier without XML rules. Or if we had the position() XPath function:

// This is kind of gross.
// For each , if it does not contain a ,
// add a  to it. This adds it to the *end*
// of the 's chilld list.
__processRuleSet(root, [
      addNode("//para", function(n) {
          if (!firstChildTag(n, tags["section-head"])) {
             return n;
         } else {
             return null;
         }
      }, tags["section-head"]),
      moveFromTo(
          "//para",
          function(n) { return firstChildTag(n, tags["section-head"]); },
          LocationOptions.AT_BEGINNING,
          function(n) { return n; })]);

Oh, and finally, we have changed the way that worked addNode(), so adjust the another call to addNode for a function instead of an explicit node:

So in the latest set of rules, change to:

addNode("//para", function() { return table; }, tags.tr),

It works for you?

Tags: InDesign

Similar Questions

  • How to pass the Visa Resource Name parameter to labview dll in labwindows/cvi

    Hello world

    I build a dll of labview, the prototype is: double getchannelpower (double f, uintptr_t * VISAResourceName);

    I don't know how to go from VISAResourceName to this function.

    Is it related to the ViPSession paremeter in function viOpen(REES ViSession, rn ViRsrc, ViAccessMode am, ViUInt32 ti,ViPSession vi)?

    BRs,

    lotusky

    Hey, guys:

    I figured out how to pass the parameter.

    In labview, you must replace the control of visa with string control. In this way, the generated dll function at the entrance of the string type.

    I hope this will help others!

    lotusky

  • How to pass the session IMAQ to the Subvi

    Hello

    My experience with LabView is neither very good nor extended. I am a scientist and I'm with IMAQ data acquisition. My current problem is that the people who wrote the script is modular, versatile, or clear initially structured. So I try to reduce the ridiculous number of tests in a simple flowchart to a level that people can actually understand it... and to make the more versatile script for future experiments.

    I'm introducing quite a few subVIs to be executed repeatedly. However, I can't know how to pass the IMAQ session on the Subvi. I constantly get the error messages. In this case, I want to acquire images with OIDE_CollectFrame.vi controlled by OIDE_TrialPhaseCollect.vi. I couldn't understand how to assign the refnum IMAQ session class, either.

    It is probably a newbie question, but usually I program with LabView.

    Dennis


  • How to pass the value?

    Hello.. I'm creating an application of streaming, in which I have a list field in a screen like this...

    1

    --------

    2

    --------

    3

    --------

    and when the item 1 is selected means a url must be passed to the video player...

    I created the list field screen in a package and a video player in other package... but I do not know how to pass the value of the field from the list to the player... Help, please... its URGENT...

    You can get the index selected by the listname.getSelectedIndex () method and compare that value with Vector data (data store URL) .that you will give a correct value from the URL and pass it.

  • How to pass the value of the run-time file .sh by Oracle procedure

    I have a file test.sh that contain

    #1/bin/bash

    exp test/test@orcl file=/home/oracle/dump/test.dmp log=/home/oracle/dump/test.dmp grants = Y = index constraints Y = Y = (test) owner statistics = none

    Exit 0

    I craete a work called Create_job_proc in this work, I want to pass the value of job_action is the location of the file test.sh to

    /U01/home/Oracle/dump/test.sh and want to spend the test/test@orcl as a variable...

    Please suggest me... how to pass the value of Job_Action which will replace the .sh file content test/test@orcl to the value of the time of execution as scott/tiger@hr

    Thank you much Parth... It works perfectly...

    Thank you all for your help...

  • How to pass the album Live view mode Design while working on a fluid page? The drop down option isn't there as if it was on other pages.

    How to pass the album Live view mode Design while working on a fluid page? The drop down option isn't there as if it was on other pages.

    You can not.  If you want to work with FGLayouts, I recommend drop back to the Release of June 2014 CC before they took the Design of FGLayouts mode.

    You can get the version of June 2014 DW direct links below:

    Win: http://download.adobe.com/pub/Adobe/Dreamweaver/WIN/CC/Dreamweaver_14_LS20.exe

    Mac: http://download.Adobe.com/pub/Adobe/Dreamweaver/Mac/CC/Dreamweaver_14_LS20.dmg

    Solution #2: Modify your CSS FGLayout file by adding an X to the code as shown below.  This trick DW into thinking that it is a normal page, so you can use the new Design view.   NOTE: Do not change the CSS in design Panel.  Do it in Code view.  Record.  Close DW.  New launch DW.

    /*

    Properties Grid Dreamweaver fluid

    ----------------------------------

    DW-num-CLO-mobile: X4;

    DW-num-CLO-Tablet: 8;

    DW-num-OCOL-Office: 12;

    DW-gutter-percentage: 25;

    =====================================

    Nancy O.

  • How to pass the start settings in starting a virtual machine?

    How can I use PowerCLI to start a new Linux VM and the nucleus of some startup parameters?

    What would be more simple: (a) to make and use a virtual machine model, or (b) to boot from an ISO image, or (c) start with a Linux VM and the clone who?

    The basic Linux is RedHat on an ISO on the network (ISO can be on a local path running the PowerCLI script if necessary).  If a model would be easier then a diagram how to make one of my ISO would be great!

    RedHat Linux can be configured by passing parameters of the kernel startup, so kickstart configures the system, something like

    KS=/my/path/KS.cfg otherparams

    where KS.cfg says kickstart what to do.

    How to pass the start settings in the new virtual machine?

    (It is probably completely irrelevant, but I work with Xen using bash scripting and)

    $UUID = xe model vm-install = "RedHatLinux64bit."

    XE vm-param-set uuid = $UUID PV-args="ks=/my/path/ks.cfg '.

    XE-vm-beginning uuid = $UUID

    now, it must be implemented on ESX. To determine when the new VM is fuly configured, my scripts from kickstart wrote a semaphore to be detected by the bash script.)

    I know very little about ESX and PowerCLI details will be particularly useful if you please!

    Thank you!

    Enjoy your break

  • How to pass the ObjectType as input for search criteria

    Hi all

    I have the search function that takes input parameters and returns all matching rows. It is only forward. My problem is to have several types as an input parameter. This is the reason why I'm not able to pass the value of entry for these types.

    My Input Type table looks like this.

    CREATE OR REPLACE TYPE T_T_PARTY_REQUEST_CRITERIA
    AS THE T_O_PARTY_REQUEST_CRITERIA TABLE;
    /
    CREATE OR REPLACE TYPE T_O_PARTY_REQUEST_CRITERIA
    AS AN OBJECT
    (
    SYSTEM_IDENTIFER VARCHAR2 (50).
    PROCESS_TYPE VARCHAR2 (50).
    UPDATED_BY VARCHAR2 (50).
    STATUS VARCHAR2 (50).
    CHILD_REQUEST_INDICATOR VARCHAR2 (25).
    TRACKING_REQUEST_INDICATOR VARCHAR2 (25).
    REQUEST_TYPE VARCHAR2 (50).
    REQUEST_TYPE_CLASS_NAME VARCHAR2 (50).
    PARTY_KEY_IDENTIFIER T_T_PARTY_KEY_IDENTIFIER,
    ADDTN_IDENTIFIER_INFO T_T_ADDTN_IDENTIFIER_INFO
    )
    /

    Finally the two entries are type again.my question is how to pass the values of these two T_T_PARTY_KEY_IDENTIFIER and T_T_ADDTN_IDENTIFIER_INFO. I defined the last two types now.

    CREATE OR REPLACE TYPE T_T_PARTY_KEY_IDENTIFIER
    AS THE T_O_PARTY_KEY_IDENTIFIER TABLE;
    /

    CREATE OR REPLACE TYPE T_T_ADDTN_IDENTIFIER_INFO
    AS THE T_O_ADDTN_IDENTIFIER_INFO TABLE;
    /

    CREATE OR REPLACE TYPE T_T_ADDTN_IDENTIFIER_VALUES
    AS THE T_O_ADDTN_IDENTIFIER_VALUES TABLE;
    /

    CREATE OR REPLACE TYPE T_O_PARTY_KEY_IDENTIFIER
    AS AN OBJECT
    (
    PARTY_KEY_TYP_NM VARCHAR2 (50).
    PARTY_KEY_VALUE VARCHAR2 (50)
    )
    /

    CREATE OR REPLACE TYPE T_O_ADDTN_IDENTIFIER_INFO
    AS AN OBJECT
    (
    ADDTN_INFO_KEY_TYP_NM VARCHAR2 (50).
    ADDTN_IDENTIFIER_VALUES T_T_ADDTN_IDENTIFIER_VALUES
    )
    /

    CREATE OR REPLACE TYPE T_O_ADDTN_IDENTIFIER_VALUES
    AS AN OBJECT
    (
    ADDTN_RQST_VALUE VARCHAR2 (50).
    ADDTN_RQST_VAL_DT TIMESTAMP (6).
    NUMBER OF ADDTN_RQST_VAL_NUM (19: 2)
    )
    /

    I glued the request my function here. When I pass the value null in the entry for these 2 types my query works. otherwise, it's say no valid Identifier.First I tried with the first Type.

    I am passing the value that
    (PRKYTP. PRTY_KEY_TYP_NM = ITTPRC. PARTY_KEY_IDENTIFIER. PARTY_KEY_TYP_NM OR ITTPRC. PARTY_KEY_IDENTIFIER. PARTY_KEY_TYP_NM = 'ALL' OR ITTPRC. PARTY_KEY_IDENTIFIER. PARTY_KEY_TYP_NM IS NULL).

    Error is Error (34,147): PL/SQL: ORA-00904: "ITTPRC." "" "" PARTY_KEY_IDENTIFIER '. "" PARTY_KEY_TYP_NM': invalid identifier


    SELECT DISTINCT T_O_PARTY_REQUEST_IDENTIFIER (PR. IN BULK PRTY_RQST_ID) GATHER IN T_T_P_R_CRITERIA
    TABLE (CAST (I_T_T_PARTY_REQUEST_CRITERIA AS T_T_PARTY_REQUEST_CRITERIA)) ITTPRC;
    PRTY_RQST PR
    JOIN BUSN_APPLC ON BIAP BIAP. BUSN_APPLC_ID IS PR. BUSN_APPLC_ID
    JOIN INTN_STATS INSTS ON INSTS. INTN_STATS_ID IS PR. INTN_STATS_ID
    JOIN INTN_PROCES_TYP INTPTY ON INTPTY. INTN_PROCES_TYP_ID IS PR. INTN_PROCES_TYP_ID
    LEFT JOIN RQSTYP ON RQSTYP RQST_TYP. RQST_TYP_ID IS PR. RQST_TYP_ID
    JOIN ADDTN_RQST_INFO ADTINF WE PR. PRTY_RQST_ID = ADTINF. PRTY_RQST_ID
    JOIN ADDTN_INFO_KEY_TYP ADDKEY ON ADTINF. ADDTN_INFO_KEY_TYP_ID = ADDKEY. ADDTN_INFO_KEY_TYP_ID
    JOIN PRTY_KEY PRTKEY WE PR. PRTY_RQST_ID = PRTKEY. PRTY_RQST_ID
    JOIN PRTY_KEY_TYP PRKYTP ON PRTKEY. PRTY_KEY_TYP_ID = PRKYTP. PRTY_KEY_TYP_ID
    WHERE (BIAP. BUSN_APPLC_NM = ITTPRC. SYSTEM_IDENTIFER OR ITTPRC. SYSTEM_IDENTIFER = 'ALL' OR ITTPRC. SYSTEM_IDENTIFER IS NULL)
    AND (INTPTY. INTN_PROCES_TYP_NM = ITTPRC. PROCESS_TYPE OR ITTPRC. PROCESS_TYPE = 'ALL' OR ITTPRC. PROCESS_TYPE IS NULL)
    AND (PR. UPDT_BY = ITTPRC. UPDATED_BY OR ITTPRC. UPDATED_BY = 'ALL' OR ITTPRC. UPDATED_BY IS NULL)
    AND (INSTS. INTN_STATS_NM = ITTPRC. STATUS OR ITTPRC. STATE = 'ALL' OR ITTPRC. THE STATUS IS NULL)
    AND (PR. CHLD_RQST_IND = ITTPRC. CHILD_REQUEST_INDICATOR OR ITTPRC. CHILD_REQUEST_INDICATOR = 'ALL' OR ITTPRC. CHILD_REQUEST_INDICATOR IS NULL)
    AND (PR. TRACK_RQST_IND = ITTPRC. TRACKING_REQUEST_INDICATOR OR ITTPRC. TRACKING_REQUEST_INDICATOR = 'ALL' OR ITTPRC. TRACKING_REQUEST_INDICATOR IS NULL)
    AND (RQSTYP. RQST_TYP_NM = ITTPRC. REQUEST_TYPE OR ITTPRC. REQUEST_TYPE = 'ALL' OR ITTPRC. REQUEST_TYPE IS NULL)
    AND (RQSTYP. RQST_CLASS_NM = ITTPRC. REQUEST_TYPE_CLASS_NAME OR ITTPRC. REQUEST_TYPE_CLASS_NAME = 'ALL' OR ITTPRC. REQUEST_TYPE_CLASS_NAME IS NULL)
    - AND (ITTPRC. PARTY_KEY_IDENTIFIER IS NULL).
    - AND (ITTPRC. ADDTN_IDENTIFIER_INFO IS NULL).
    AND (PRKYTP. PRTY_KEY_TYP_NM = ITTPRC. PARTY_KEY_IDENTIFIER. PARTY_KEY_TYP_NM OR ITTPRC. PARTY_KEY_IDENTIFIER. PARTY_KEY_TYP_NM = 'ALL' OR ITTPRC. PARTY_KEY_IDENTIFIER. PARTY_KEY_TYP_NM IS NULL).

    someone can say is that this approach is correct. If this isn't the case, suggest me.

    I am passing the value that
    (PRKYTP. PRTY_KEY_TYP_NM = ITTPRC. PARTY_KEY_IDENTIFIER. PARTY_KEY_TYP_NM OR

    PART_KEY_IDENTIFIER here is a nested table. If you cannot join it like that.

    Try like this

    prkytp.prty_key_typ_nm in (select party_key_typ_nm from table(ittprc.party_key_identifier)) or
    

    Here is an example based on the EMP table.

    I created as a result of nested table.

    SQL> create or replace type my_emp_list as table of number(10)
      2  /
    
    Type created.
    
    SQL> create or replace type my_dept_obj as object(deptno number(10), emp_list my_emp_list)
      2  /
    
    Type created.
    
    SQL> create or replace type my_dept_tbl as table of my_dept_obj
      2  /
    
    Type created.
    

    I'm going to use the data of the table nested within a query to get the value of the emp table

     my_dept_tbl
     (
       my_dept_obj
       (
         10, my_emp_list(1,2,3,4,5)
       ),
       my_dept_obj
       (
         20, my_emp_list(6,7,8,9)
       )
     )
    

    The query would be like this

    SQL> select e.*
      2    from emp e
      3    join table
      4         (
      5           my_dept_tbl
      6           (
      7             my_dept_obj
      8             (
      9               10, my_emp_list(7839,7782)
     10             ),
     11             my_dept_obj
     12             (
     13               20, my_emp_list(7566,7369)
     14             )
     15           )
     16         ) t
     17      on e.deptno = t.deptno
     18     and e.empno in (select column_value from table(t.emp_list))
     19  /
    
         EMPNO ENAME  JOB              MGR HIREDATE         SAL        COM     DEPTNO
    ---------- ------ --------- ---------- --------- ---------- ---------- ----------
          7839 KING   PRESIDENT            17-NOV-81       5000          0         10
          7782 CLARK  MANAGER         7839 09-JUN-81       2450          0         10
          7566 JONES  MANAGER         7839 02-APR-81       2975          0         20
          7369 SMITH  CLERK           7902 02-APR-81       2975          0         20
    
    SQL> 
    
  • How to pass the value of the element from one form to another form?

    Hi all

    I need your help to complete this task.
    I have a form page named reserve form.i have some five fields selection list in the form of reserve, after I chose the first value from the selection list, I create a button in the form of reserve, when I click on the button create, it will open another form page named set form in this form page , I have a field selected, the list of values in configure the form depends on the values selected as a reserve, it means that I have to change the value of page of a form to another form.

    Please suggest a solution, how to pass the value?

    Thank you
    Robette.

    Check out the button create on Page 8.

    In the Action when the button is clicked, the configuration is

    The value of these P35_IT_PRODUCT
    With these values & P8_IT_PRODUCT.

    Kind regards

  • How to pass the parameters or values film double hollow?

    Hello

    I create a game in Flash 8 with 2 AS and I have some questions to ask.

    First of all, I'm stuck for 2 days to create a tower Laser beam to the target.

    I searched the internet for solutions but I can't really find one, so I'll try display of questions myself...

    First I tried to create, and the effectHolder in which each laser beam has been created, because it seems I can create only one line in each movieClip...

    _root.duplicateMovie(effectHolder_mc , "effectHolder_" + this, _root.getNextHighestDepth());
    v = a = _root["effectHolder_" + this];
    ray.onEnterFrame = function()
    {
    v.clear();
    v.lineStyle(1,0xFF0000,100);
    v.moveTo(this._x, this._y);
    v.lineTo(creep._x , creep._y);
    v.text = "True"

    }

    It's triggered eveytime, she was a target.

    With each turn that triggered a laser that I created, it became more than offset, so I tried selfdestructing after some time.

    this._alpha -= 10;

    if (this._alpha <= 0)

    {

         this.removeMovieClip();

    }

    But he did not actually work, so I tried another solution. I tried to give each MovieClip ("Laser"), duplicate code that creates the laser beam.

    onClipEvent(load)
    {
         this.fx = from._x;
         this.fy = from._y;
         this.tx = to._x;
         this.ty = to._y;
    }
    onClipEvent(enterframe)
    {
         _root.dmg.text = "From: " + fx + "," + fy + " To: " + tx + "," + ty; //I used this on a textbox to see if parameters are transmited. But they were all 'undefined'

            this.clear();
         this.lineStyle(1,0xFF0000,100);
         this.moveTo(from._x, from._y);
         this.lineTo(to._x , to._y);

         this._alpha -= 4;
         if (this._alpha <= 0)
         {
              this.removeMovieClip();
         }
                                 
    }

    The problem is that I did not know how to pass the coordinates of the tower and the target to the MovieClip so that it knows where to create the line.

    X++;
    duplicateMovieClip(_root.Laser, "Laser" + X, X,{from._x,from._y,to._x,to._y});         
    g = _root[_root.Laser + X];
    g.fx = from._x;
    g.fy = from._y;
    g.tx = to._x;
    g.ty = to._y;

    Please leave suggestions on how to send the parameters or values for the created clip, or an idea of the creation of this line ("beam") for each tower, without so much trolling.

    Thank you

    Chris

    What is the trigger of v's _alpha decrease?

  • How to pass the value of the item Application Javascript function.

    Hello

    I have the JavaScript in the properties attribute of the HTML Form element

    I'm on page 1 and passing the value of the item page P1_DEPT_NO. It is perferctly working very well and I am able to get the exact value of the element on the page
    onchange="javascript:function1($x('P1_DEPT_NO').value);"
    I'm on page 1 and passing the value G_DEPT_NO of the Application element .
    The problem here is, I don't get the point of Application inside the javascript function value.
    I tried to use alert(); and it gives me the undefined value
    onchange="javascript:function1($x('G_DEPT_NO').value);"
    I just want to know, How to pass the value of the Application in Javascript element.

    Thank you
    Deepak

    Deepak,

    I'm not a Javascript expert, but the suggestin I did was because the javascript is a case-sensitive... language and thats why onChange is not the same thing as onchange.
    Not sure if this is causing the problem.

    Application elements not associated with a page and have therefore no properties user interface.
    So, as mentioned in another post, the rendering would not work for the elements of the application.
    If it is for a single item, used only on this page, you might create a hidden page element and use it fo your goal

    If you want to keep watching objects application and AJAX, this page contains examples of using AJAX to solve problems like the one you mentioned.
    http://www.Oracle.com/technology/OBE/hol08/apexweb20/ajax_otn.htm#T1B

    Thank you
    Rajesh.

  • How to pass the IDS of lookup through weblink to the narrative report

    Hi all

    How to pass the ID lookup instead of the value in the choice list via the Web link that able to read this list of choice and based on the id id, he should go the narrative report dynamically (reports are named with the lookup id).

    Is is possible. ?
    How to get there. ?

    Thanks in advance...!


    concerning
    sowm

    Hi sowm,.
    What I understand, that values exist in analytics and not their IDs.Hence, you cannot display the ID in the reports. An alternative would be if your data integration team can fill a field with distinctive signs of the back-end database.

    PS: My apologies for late reply.

  • HOW TO PASS THE HEX OF THE MAIN PROGRAM VI ENUM, SUB VI ENUM VALUE

    HOW TO PASS THE HEX OF THE MAIN PROGRAM VI ENUM, SUB VI ENUM VALUE.

    HOW THEN IT WILL CHOOSE CORRECT ON SUB VI HEXAGONAL ENUM VALUES.

    Enum values are strings, you must first convert the hexadecimal value to a hexadecimal value chain represtation.

    Then that convert from the enum.

  • How to pass the vcs - e License? A server to Server B.

    Hello

    my company has a vcs test server.  and we buy the new server.

    I need to spend vcs again server.   I backup and deploy using the vmware ovf file.

    deploy the success. but new server vcs poster license error.

    How to pass the license of vcs?

    Of his assignment, it is not necessary to use both servers at the same time.

    If I see, if you move the virtual computer between two servers and you used local storage the

    Serial number will change...

    Please remember useful frequency responses and identify useful or correct answers.

  • I have one of my programs adobe on a mac pro, which is broken. How to pass the program over this i mac?

    I have one of my Macbookpros that has a broken screen. How to pass the program Adobe of it ti that I have Mac?

    Download/install the desktop application, connect and install applications subscription.

    https://helpx.Adobe.com/creative-cloud/help/download-install-app.html

Maybe you are looking for

  • last updated 10.10.5

    Hi all I'm a bit confused! (Not hard) I ran the last update and on my on this drop-down list box mac I tells me I am running version 10.10.5 yet, according to the list of updates installed on September 14, I have version 12.5.1 When I tried to downlo

  • Satellite A500-19W does not detect battery

    Hello I have a portable Satellite A500-19W which is 6 months old. I bought this laptop while I was in Egypt and now I've moved (Dubai) UNITED Arab Emirates. Lately my laptop started suddenly does not detect battery. To remedy this that I have to remo

  • Windows 7 error 0 x 80070091

    Hello I created a file regular and after a while, I tried to open it but its content was not available, as empty... I checked the properties to see if there was a hidden box checked: none; an error message came as erreor 0 x 80070091, please run CHKD

  • Re: Satellite A60-106 - deleting characters when you type

    Hi, hoping someone here can help me... Toshiba Satellite A60 106 running Windows XP missing characters when I type. If I type very slowly every key works fine. Many letters are removed to normal typing speed. This happens in all applications and does

  • Very unstable WIFI connection on Satellite A200 PSAE4E

    Just had my Equium A100 replaced with a satellite pro A200 and for some reason that I am fighting to get it connected to my wireless network. I had the old laptop connected properly and used channel 11 on my WAP. Now, after trying to connect my new l