Identifying the child in removeChild action

I am creating a selection of checkboxes that are supplied from XML. These checkboxes are to provide additional details to a background picture and therefore they each have a unique name and an eventlistener to add the extra details to the background picture. Depending on other buttons clicked on the stage, the list of checkboxes could change for the same background picture. I have a selection of 5 different background pictures all of which have a different list of checkboxes. I therefore want to load the checkboxes dynamically.
When a button is clicked to change the background picture, I want to remove all the checkboxes associated with that picture and display a new set for the new picture.
My problem is trying to identify the list of checkboxes to delete them from the stage. Can anyone help.
My coding to set up the checkboxes is this
var OptionList:XMLList  = new XMLList;
function ParseOptions(OptionInput:XML):void  { // called on load of XML and adds the check boxes
    OptionList  = OptionInput.Options;
     var xValue:int = 14;
     var yValue:int = 578;
     var format:TextFormat=new TextFormat();
    format.size=9;
    format.color=0x000000;
    format.font="Arial";
    CBCount=OptionList.length();
    CBArray=new Array;
     for (var i:int = 0; i < OptionList.length(); i++)
    CB = new CheckBox()
    CB.x = xValue;
    CB.y = yValue;
    CB.width = 110;
    CB.setStyle("textFormat",format);
    CB.label = OptionInput.Options.OptionName.text()[i];
    CB.addEventListener(MouseEvent.CLICK, ChangeLayer);
    CB.name= OptionInput.Options.SailImageAddress.text()[i];
    this.addChild(CB);
    var OptionElement:XML = OptionList[i];
    yValue+=20;
    if (i==7){
        xValue=140;
        yValue=578;
    } // end if
} // End for
} //End Function
and here is my code to try and remove them which is not working. (The check for !=null is because I remove checkboxes before adding them and first time through there will always be a problem)
function removeOptions(OptionInput:XML):void {
    if (OptionInput!=null) {
    for (var i:int = 0; i < OptionList.length(); i++)
    var CB:CheckBox=CheckBox(this.getChildByName(OptionInput.Options.SailImageAddress.text()[i])) ;
    if (CB !=null){
    this.removeChild(CB);
    } // End for
    } // end if optoninput
I am not sure that I am even tackling the  remove options in the correct manner. Has anyone got any suggestions how I can do it?

What you might try instead is to assign each CB instance into an array as they get created.  Then you should be able to just walk thru the array when it comes time to remove them from the display, popping them out of the array as you go to empty it.

Similar Messages

  • TablePopin: Identifying the row where an action of a popin occured

    Hi,
    i want to use the TablePopin UI-element. The popin can be opened for more than one row at the same time. In the popin some actions might occur (like actions of buttons etc.) My problem is how to identify the row where the action occured. I saw a solution in the wiki using some modifcation of the actions ( https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/how%2bto%2bimplement%2btablepopin ). It works quite good. However, it will become a pain if you have not only one table but various tables with popin-elements and if you have not only one action but various actions. So, i wonder if there is any easier way to identify the specific row an action occured.

    hi
    please go through this link
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/how%2bto%2bimplement%2btablepopin
    Regards
    Ruturaj

  • Error while loading an child movieclip if the child has any action script

    Hi
    I am developing an application where I need to load a child.swf . All works fine when I load the mc but as soon as I add Action Script (lets say trace("test")) to the Child.swf I get a Error #1009: Cannot access a property or method of a null object reference. On the addChild line.
    Code
    trace("Toothpaste click");
    var mLoader:Loader = new Loader();
    var mRequest:URLRequest = new URLRequest("Child);
    mLoader.load(mRequest);
    mcContainer.addChild(mLoader);

    Sorry.Thanks
    Typo on the forum.
    I can load the child.swf see the image/text in the child  displayed in the parent but as soon as I add as3 to the child page I receive the above mentioned error. If I run the child.swf from the IDE or by itself everything works fine .
    trace("Toothpaste click");
    var mLoader:Loader = new Loader();
    var mRequest:URLRequest = new URLRequest("Child.swf");
    mLoader.load(mRequest);
    mcContainer.addChild(mLoader);

  • How to identify the component in an action

    Hi, here is my scenario:
    I have multiple tree components in a page and all nodes of them are associated with an action. And I need to identify the id of the tree, from where the action is triggered. But it seems that I cannot pass any parameters into the action. Is there anything like event to let me dynamically identify the tree id where the node clicked belongs to? Using ActionListener?
    thanks,

    Please see
    http://developers.sun.com/prodtech/javatools/jscreator/reference/techart/2/tree_component.html
    Note this sample does not work for portlet.

  • How to identify the current lead selection is child or parent in rec node

    Hi
    I am using a recursive node to populate a table with TreeByNestingTableColumn as master column. Now my problem is how do I identify if the current selected row in the table is a child or parent? When I get the lead selection value, I find that its the same for the parent and the child. I am setting the isLeaf and hasChildren boolean properties appropriately as false and true for parent and true and false for child. But since the lead selection is returning the same the below rsTableElement always gives me the parent, I always get those parameter values as that of parent. I am writing this inside the onleadSelect event of the table.
    IRsTableElement rsTableElement = (IRsTableElement) wdContext.nodeRsTable().getElementAt(wdContext.nodeRsTable().getLeadSelection());
    In this scenario how do I know if the current selection is made on a child?
    Appreciate for all help and any code snippets.
    Thanks,
    KN.

    Hi KN,
    I guess you want to check if the node that you selected is parent or child.. This can be achieved by using getTreeSelection() method of IWDNode.
    If you write following code in your lead selection action, you can determine the if it is a parent or child node.
    wdComponentAPI.getMessageManager().reportSuccess(wdContext.nodeRsTable().getTreeSelection() +"");
    the output will be something like
    <ViewName>.RsTable.0.ChildRsTable.1.ChildRsTable.0.. depending upon which node you have selected.
    That way you can find out if it is a parent or child node.
    Abhinav

  • How to identify all the child tables referencing a master table

    Hi,
    How to identify all the child tables referencing a master table.
    Could you please help me...
    Thanks in advance...

    Hi!
    You may use this query:
    SELECT master.table_name, child.table_name
    FROM   user_constraints master, user_constraints child
    WHERE  master.table_name IN ('REGIONS')
      AND  master.constraint_name = child.r_constraint_name
    /yours sincerely
    Florian W.

  • Unable to identify the exchange protocol of the message (sync AS2 MDN)

    Hi,
    We got the following error:
    Description: Unable to identify the exchange protocol of the message
    StackTrace:
    Error -: AIP-50080: Exchange protocol identification error
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1367)
         at oracle.tip.adapter.b2b.msgproc.Request.postTransmit(Request.java:2370)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1813)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:968)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1152)
         at oracle.tip.adapter.b2b.xmlgwIntg.XMLGWIntegration.raiseOutboundMessage(XMLGWIntegration.java:168)
         at oracle.tip.adapter.b2b.xmlgwIntg.Outbound.onMessage(Outbound.java:297)
         at oracle.jms.AQjmsListenerWorker.dispatchOneMsg(AQjmsListenerWorker.java:316)
         at oracle.jms.AQjmsListenerWorker.run(AQjmsListenerWorker.java:129)
         at java.lang.Thread.run(Thread.java:534)
    Here is the Wire message (sync MDN)
    =======================
    Message-ID=<23033756.391232032071968.JavaMail.SYSTEM@INUBITTEST>
    Subject=Your ORDERS AS2
    [email protected]
    Content-Length=1347
    MIME-Version=1.0
    Server=Apache
    Date=Thu, 15 Jan 2009 15:07:52 GMT
    Content-Type=multipart/mixed;      boundary="----=_Part_53998_23619909.1232032071968"
    [email protected]
    ------=_Part_53998_23619909.1232032071968
    Content-Type: text/plain; charset=UTF-8; name=test.txt
    Content-Transfer-Encoding: 7bit
    Content-Disposition: attachment; filename=test.txt
    Message-ID: <17080722.371232032071906.JavaMail.SYSTEM@INUBITTEST>
    MIME-Version: 1.0
    Content-Type: multipart/report; report-type=disposition-notification;
         boundary="----=_Part_53997_14786767.1232032071906"
    AS2-Version: 1.1
    AS2-From: test_AS2
    AS2-To: as2me
    ------=_Part_53997_14786767.1232032071906
    Content-Type: text/plain; charset=us-ascii
    Content-Transfer-Encoding: 7bit
    MDN for Message ID: <33156:4:0:137@as2me>
    From: as2me
    To: test_AS2
    Received on: Thu, 15 Jan 2009 16:07:51 +0100
    Status: processed
    Comment: This is not a guarantee that the message has
    been completely processed or unterstood.
    ------=_Part_53997_14786767.1232032071906
    Content-Type: message/disposition-notification
    Content-Transfer-Encoding: 7bit
    Reporting-UA: inubit Integration Server
    Original-Recipient: rfc822; test_AS2
    Final-Recipient: rfc822; test_AS2
    Original-Message-ID: <33156:4:0:137@as2me>
    Disposition: automatic-action/MDN-sent-automatically; processed
    Received-Content-MIC: 5kFOLMXOUurpm6DUTA8IMRj5gcs=, sha1
    ------=_Part_53997_14786767.1232032071906--
    ------=_Part_53998_23619909.1232032071968--
    ============================
    The communication with our TP is going well, we are able to send, receive messages over AS2 and send back MDN, but we are not able
    to receive their MDN.
    Edit:
    It seems that after the latest MLR patch, the error changed to [IPT_HttpSendError] HTTP encounters send error :. Premature EOF encounter but the roots seem to lead to the problem with MDN as B2B is sending the message a couple of times now and gives the mentioned EOF error.
    Please advise,
    Thank you
    Edited by: Kamil Zadora on Jan 30, 2009 3:44 AM

    Hi Ramesh,
    Yes, agreement uses AS2 IDentifiers. Incoming messages are recognized correctly, and we send back sync MDN that is correctly received by our TP. They also recieve our messages correctly although Oracle B2B does not recognize the MDN from them. I think that this causes that, now after applying the latest MLR patch, B2B tries to send it around 6 times and gives the Unexpected EOF error.
    Thank you for your help in advance,
    Kind regards,

  • SingleSelectionBean is not rendering the child bean to the right

    Hi,
    I'm using JDeveloper 10.1.2. I am using singleSelectionBean as the tableSelection clhild of a table. And I have a button as the child of the singleSelectionBean. But the singleSelection is not rendering the button to the right side of the control bar. Which it should do automatically. Can somebody explain why it is not doing so for me?
    Thanks.

    Oracle Security patches applied to Oracle-Application-Server-10g/10.1.3.5.0 .
    APEX version is Application Express 4.0.1.00.03
    The APEX application after the patch was applied on OAS was raising Error (Getting Http-400 Bad Name In The Request: Not A Legal Plsql Identifier ).
    Implemented metalink Doc ID 1327343.1 to resolve this error.
    Created a new procedure without parameters which calls the original procedure using parameters. Changed the DAD.conf to reflect the new Procedure
    for the variable PlsqlDefaultPage instead of the format PlsqlDefaultPage f?p=AppID:PageID.
    Apparently, there is this custom login screen which is called On-Load before Header on the Default Page 71 like this. And instead of rendering page 71 gives out the error.
    begin
    if app_security_pkg.is_user_authenticated(null,null)
    then
    wwv_flow_custom_auth_std.login( p_uname => v('APP_USER_NAME')
    , p_password => null
    , p_session_id => v('APP_SESSION')
    , p_flow_page => :app_id||':71'
    end if;
    exception
    when others then
    dbms_output.put_line(sqlcode);
    end;

  • Template changes will not propogate out to the child web pages in the defined site.

    I have a user in my organization who regularly makes changes to a dreamweawer template in order to universally change content on pages that are internal to her office.  The site that serves her office has been defined in dreamweaver (we're running dreamweaver CS4).  Normally, after saving the template changes on her way out of the dw session, she would be asked whether or not she wanted to propagate her template changes out to all of the child web pages (.htmls) in her site.  This has stopped happening and sure enough she can see that the change doesn't exist on the child pages.  Does anyone know why this might have happened, how to restore that prompt for propagation or, most importantly, how she can get those changes propagated to the child pages?

    That may be an eventuality, particularly assuming I'm never able to work on this fulltime...which is likely. =)  Anyway, thanks so much for the link.  We'll try this again.  Hopefully, you'll be able to read it.  Even if it's clear, it may still just be clearly ugly, but please let me know what you think.  Thanks!:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- begin page information comments section.
    Replace the entries below to match your pages
    File:          /templates/intranet_full.dwt
    Date:          06/30/2005
    Author:          Page author / developer name
    Description:
    template for the census intranet
    Sponsor / Contact:
    Modification History: (initials, modification, date changed)
    JRJ, Template created, 06/30/2005
    end of page information comments section.-->
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/geo_template.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <!-- InstanceBeginEditable name="doctitle" -->
    <title></title>
    <meta name="author" content="" />
    <meta content="Geography Division, main page" name="Keywords" />
    <meta content="Main Geography Division Home Page" name="Description" />
    <link rel="Main Geography Division Home page" href="http://www.geo.census.gov/" />
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <link href="../asset/css/cwwintranet.css" rel="stylesheet" type="text/css" />
    <link href="../asset/css/cwwintranet_print.css" rel="stylesheet" type="text/css" media="print" />
    <link href="../asset/css/cww-geo.css" rel="stylesheet" type="text/css" />
    <!-- InstanceEndEditable -->
    <!-- InstanceParam name="contact" type="text" value="" -->
    </head>
    <body>
    <!-- Start - This will allow 508 Compliance for header skipping -->
    <!-- ************************** begin censusintranet_header  ************************** -->
    <div id="zcwwImageHeader">
         <a href="#main" tabindex="0"><img id="SpacerImage" border="0" src="../asset/img/spacer.png" width="1" height="1" alt="Press enter to skip horizontal navigation bar." /></a>
         <img src="../asset/img/banner_img.png" width="390" height="50" alt="" id="zcwwImageRight" />
         <a href="http://cww.census.gov/" tabindex="1"><img src="../asset/img/inside_census.png" alt="Image with the text: inside census" width="360" height="39" border="0" id="zcwwImageLeft" /></a>
    </div>
    <div id="zcwwBlueNavHeader">
         <ul>
              <li><a tabindex="2" href="http://cww.census.gov/menu.asp?catcode=2">About Census</a></li>
              <li><a tabindex="3" href="http://cww.census.gov/menu.asp?catcode=3">Forms &amp; Publications</a></li>
              <li><a tabindex="4" href="http://cww.census.gov/menu.asp?catcode=4">IT &amp; System Support</a></li>
              <li><a tabindex="5" href="http://cww.census.gov/menu.asp?catcode=5">Management Resources</a></li>
              <li><a tabindex="6" href="http://cww.census.gov/menu.asp?catcode=6">Safety &amp; Security</a></li>
              <li class="znoBorder"><a tabindex="7" href="http://cww.census.gov/menu.asp?catcode=7">Work Life &amp; Career</a></li>
         </ul>
    </div>
    <div id="zcwwSearchHeader">
         <ul>
              <li><a tabindex="14" title="A to Z Index" href="http://cww.census.gov/AtoZIndex.asp">A to Z</a></li>
              <li><a href="http://cww.census.gov/faq/">FAQ</a> </li>
              <li class="znoBorder"><a tabindex="15" href="http://cww.census.gov/sitemap.asp">Site Map</a></li>
         </ul>
         <form class="zcwwSearchForm" action="http://cww.census.gov/search.asp">
              <input name="radiobutton" type="radio" class="zcwwSearchText" id="employeeRadio" tabindex="8" value="employee" />
              <label for="employeeRadio">Employee</label>
              <input name="radiobutton" id="searchRadio" type="radio" value="Intranet" class="zcwwSearchText" tabindex="9" checked="checked" />
              <label for="searchRadio">Intranet</label>
              <label for="searchText"><input tabindex="10" id="searchText" name="textfield" type="text" value="" size="15" class="zcwwSearchText" /></label>
              <input tabindex="11" name="Search" type="submit" id="Search" value="Search" class="zcwwGoButton" />
         </form>
         <form name="DivisionForm" action="http://cww.census.gov/cwwDivisionNav.asp" method="post" class="zcwwSearchForm">
              <span style="position:absolute;left:0px;top:-500px;width:1px;height:1px;overflow:hidden;" class="reader">For the following combo box, to make a selection, press enter then alt plus
         down arrow and use the up and down arrows.</span>
              <label for="zDivisionList"><select class="zcwwSearchText" tabindex="12" id="zDivisionList" name="zDivisionList" onchange="window.location='http://cww.census.gov/cwwDivisionNav.asp?zDivisionList=' + form.zDivisionList.options[form.zDivisionList.selectedIndex].value;">
                   <option value="http://cww.census.gov/Directorate_Division.asp">Go to Directorate or Division</option>
                   <option class="zcwwSelectA" value="http://cww.census.gov/Directorate_Division.asp">Directorates</option>
                   <option class="zcwwSelectB" value="11">Assoc Dir for Administration  &amp; CFO (ADACFO)</option>
                   <option class="zcwwSelectB" value="4">Assoc Dir for Communications (ADCOM)</option>
                   <option class="zcwwSelectB" value="46">Assoc Dir for Decennial Census (ADDC)</option>
                   <option class="zcwwSelectB" value="52">Assoc Dir for Demographic Programs (ADDP)</option>
                   <option class="zcwwSelectB" value="36">Assoc Dir for Economic Program (ADEP)</option>
                   <option class="zcwwSelectB" value="28">Assoc Dir for Field Operations (ADFO)</option>
                   <option class="zcwwSelectB" value="21">Assoc Dir for Information Technology &amp; CIO (ADIT)</option>
                   <option class="zcwwSelectB" value="64">Assoc Dir for Strategic Planning &amp; Innovation (ADSPI)</option>
                   <option class="zcwwSelectB" value="1">Office Of The Director (DIR)</option>
                   <option class="zcwwSelectA" value="http://cww.census.gov/Directorate_Division.asp">Divisions</option>                           <option class="zcwwSelectB" value="15">Acquisition (ACQ)</option>
                   <option class="zcwwSelectB" value="16">Administrative &amp; Customer Services (ACSD)</option>
                   <option class="zcwwSelectB" value="14">Administrative &amp; Management Systems (AMSD)</option>
                   <option class="zcwwSelectB" value="50">American Community Survey Office (ACSO)</option>
                   <option class="zcwwSelectB" value="17">Budget Division (BUD)</option>
                   <option class="zcwwSelectB" value="40">Chief Economist (CES)</option>
                   <option class="zcwwSelectB" value="41">Company Statistics (CSD)</option>
                   <option class="zcwwSelectB" value="22">Computer Services (CSVD)</option>
                   <option class="zcwwSelectB" value="6">Congressional Affairs Office (CAO)</option>
                   <option class="zcwwSelectB" value="33">Customer Liaison Office (CLO)</option>
                   <option class="zcwwSelectB" value="65">Data Integration Div (DID)</option>
                   <option class="zcwwSelectB" value="47">Decennial Management (DMD)</option>
                   <option class="zcwwSelectB" value="51">Decennial Statistical Studies (DSSD)</option>
                   <option class="zcwwSelectB" value="48">Decennial System &amp;  Contracts Management Office (DSCMO)</option>
                   <option class="zcwwSelectB" value="55">Demographic Statistical Methods (DSMD)</option>
                   <option class="zcwwSelectB" value="53">Demographic Surveys (DSD)</option>
                   <option class="zcwwSelectB" value="38">Economic Planning &amp; Coordination (EPCD)</option>
                   <option class="zcwwSelectB" value="39">Economic Statistical Methods &amp;  Programming (ESMPD)</option>
                   <option class="zcwwSelectB" value="10">Equal Employment Opportunity Office (EEO)</option>
                   <option class="zcwwSelectB" value="31">Field (FLD)</option>
                   <option class="zcwwSelectB" value="18">Finance Division (FIN)</option>
                   <option class="zcwwSelectB" value="43">Foreign Trade (FTD)</option>
                   <option class="zcwwSelectB" value="49">Geography (GEO)</option>
                   <option class="zcwwSelectB" value="44">Governments (GOVS)</option>
                   <option class="zcwwSelectB" value="54">Housing &amp;  Household Economic Statistics (HHES)</option>
                   <option class="zcwwSelectB" value="13">Human Resources (HRD)</option>
                   <option class="zcwwSelectB" value="24">Information System Support &amp; Review Office (ISSRO)</option>
                   <option class="zcwwSelectB" value="27">Information Technology Security Office (ITSO)</option>
                   <option class="zcwwSelectB" value="25">Lan Technology Support Office (LTSO)</option>
                   <option class="zcwwSelectB" value="45">Manufacturing &amp;  Construction (MCD)</option>
                   <option class="zcwwSelectB" value="34">Marketing Services Office (MSO)</option>
                   <option class="zcwwSelectB" value="30">National Processing Center (NPC)</option>
                   <option class="zcwwSelectB" value="9">Office of Analysis and Executive Support (OAES)</option>
                   <option class="zcwwSelectB" value="56">Population (POP)</option>
                   <option class="zcwwSelectB" value="7">Public Information Office (PIO)</option>
                   <option class="zcwwSelectB" value="42">Service Sector Statistics (SSSD)</option>
                   <option class="zcwwSelectB" value="59">Statistical Research (SRD)</option>
                   <option class="zcwwSelectB" value="26">Systems Support (SSD)</option>
                   <option class="zcwwSelectB" value="29">Technologies Management Office (TMO)</option>
                   <option class="zcwwSelectB" value="23">Telecommunications Office (TCO)</option>
              </select>
              </label>
              <noscript>
              <input type="submit" tabindex="13" title="Go to Selected Directorate/Division/Office" class="zcwwGoButton" value="Go" />
              </noscript>
         </form>
    <a name="main" id="main"></a>
    </div>
    <!-- ************************** end censusintranet_header ************************** -->
    <table cellpadding="0" cellspacing="0" id="zcwwLayoutTable">
         <tr valign="top">
              <td id="zcwwLeftMenu">
                   <!-- Start - This will allow 508 Compliance for header skipping --><!-- End - This will allow 508 Compliance for header skipping  -->
          <h5><a href="http://www.geo.census.gov/">Geography Division</a></h5>
          <ul>
            <li><a
            href="http://www.geo.census.gov/branches.html">Branches</a> </li>
            <li><a
            href="http://cww.census.gov/roster/default.aspx?OrgCode=GEO&option=div">Roster</a> </li>
            <li><a
            href="http://portal.geo.census.gov:7778/portal/page?_pageid=0,1416&_dad=portal30_db&_schema=PORTAL30">Portal</a> </li>
            <li><a
            href="http://www.geo.census.gov/mis/">MIS</a> </li>
            <li><a href="../asset/documents/geo_4th_floorplan.pdf">Division Floor Plan</a></li>
            <li><a href="http://cww.acsd.census.gov/building/floorLayout.asp">Census Building Floor Plan</a></li>
            <li><a href="../asset/mailingaddress.html">Mailing Address</a></li>
            </ul>
            <!-- InstanceBeginEditable name="navBar" -->@@("")@@
            <h5><a href="../UOB/index.html">UOB</a></h5>
            <ul>
              <li><a href="../UOB/roster.html">Roster</a> </li>
                <li>Organization</li>
                <li class="leftmenu_ind"><a href="../UOB/batch.html">Batch and Interactive Update Section</a></li>
              <li class="leftmenu_ind"><a href="../UOB/coordination.html">Coordination Section</a></li>
                <li class="leftmenu_ind"><a href="../UOB/production.html">Production Section</a></li>
                <li><a href="../asset/img/uob_floorplan.pdf">Branch Floor Plan</a></li>
                <li><a href="../UOB/org_chart.html">Organizatonal Chart</a></li>
            </ul>
            <h5>Operations, Procedures, and Controls</h5>
            <ul>
                 <li><a href="../UOB/branch_web/bas.html">BAS</a></li>
              <li><a href="../uob/GATRES/userguide/index.htm">GATRES Documentation</a></li>
              <li><a href="../UOB/branch_web/Hwy_Rev.html">Highway Review</a></li>
              <li><a href="../UOB/luca.html">LUCA</a></li>
                <li><a href="../UOB/mafgor.html">MAFGOR</a></li>
                <li><a href="../UOB/msnerp.html">MSNERP</a></li>
                <li><a href="../UOB/pbo_msp_reconciliation.html">PBO MSP Reconciliation</a></li>
              <li><a href="../UOB/monthly.html">UOB Monthly Production Reports</a></li>
                <li><a href="http://www.geo.census.gov/wcb/production_control.html">Production Control Systems</a></li>
              <li><a href="../UOB/inactive.html">Inactive Projects Documents</a></li>
              <li><a href="../UOB/branch_web/FY2011_Projects.html">FY 2011 Projects</a></li>
            </ul>
            <h5>General Reference</h5>
            <ul>
                 <li><a href="../UOB/cfcc.html">CFCC-MTFCC Crosswal</a>k</li>
                <li><a href="../UOB/GATRES_Ready_Report.html">GATRES Ready Reports</a></li>
                <li><a href="../UOB/feature.html">Feature Update Rules</a></li>
                <li><a href="../UOB/MSP_Reshape.html">MSP and Reshape Consistency</a></li>
              <li><a href="../UOB/GATRES/userguide/Primary_Alternate Name Designation.htm">Primary/Alternate Name</a></li>
              <li><a href="http://prodas2.geo.census.gov:7778/prs_prodtran/eprs_welcome.welcome">Problem Referral System</a></li>
                <li><a href="../UOB/release.html">Release Notes</a></li>
              <li><a href="../UOB/branch_web/statecountyprefixchart.html">State/County Prefix Standards</a></li>
                <li><a href="../UOB/Training.html">Training</a></li>
            </ul>
            <!-- InstanceEndEditable -->
          <p> </p>      </td>
             <td id="zcwwContentArea"><!-- InstanceBeginEditable name="image" --><!-- InstanceEndEditable --> <br />
              <!-- InstanceBeginEditable name="body_2" --><!-- InstanceEndEditable -->
              <div class="clear"><hr />
               <p>Contact: <!-- InstanceBeginEditable name="contact" -->@@("")@@ <!-- InstanceEndEditable --><br />
              Last Revised: <!-- InstanceBeginEditable name="revise" --><!-- InstanceEndEditable --></p></div>               
      <!-- end content here -->       </td></tr>
    </table>
    <!-- end content here -->
    <!-- ************************** begin censusintranet_footer ************************** -->
    <div id="zcwwPageFooter">
    <img src="../asset/img/wordmark_cwwblue.png" alt="U.S. Census Bureau - Helping You Make Informed Decisions" width="210" height="32" id="zcwwImageFooter" />     
         <ul>
              <li><a href="http://cww.census.gov/">CWW</a></li>
              <li><a href="http://cww.census.gov/AccessiblilityStatement.asp">Accessibility</a></li>
              <li><a href="http://cww.census.gov/Contact.asp">Contact</a></li>
              <li><a href="http://cww.census.gov/roster/">Employee Lookup</a></li>
              <li><a href="http://cww.census.gov/Feedback.asp">Feedback</a></li>
              <li><a href="http://cww.census.gov/firewall.asp">Firewall</a></li>
              <li><a href="http://cww.census.gov/cwwpolicy.asp">Privacy Policy</a></li>
              <li class="noBorder"><a href="http://www.census.gov/">WWW</a></li>
         </ul>
    </div>
    <!-- ************************** end censusintranet_footer ************************** -->
    </body>
    <!-- InstanceEnd --></html>

  • Using PHP to identify the current page - by David Powers

    Hi There,
    I'm trying to write a script so I can identify the sub-pages under "Gallery" in my website
    Under Gallery I have more than hundred pages describing the photos but I want to identify them as the "Gallery" page.
    How do I achieve that?
    It would be tedious to write the "PHP if" statement for each photo link.
    I trust there is a simpler solution.
    In PHP solutions by David Powers, Ch.4 "Using PHP to identify the current page"
    The script is:
    <?php $currentPage = basename($_SERVER['SCRIPT_NAME']); ?>
    <ul id="nav">
      <li><a href="index.php" <?php if ($currentPage == 'index02.php') {echo 'id="here"';} ?>>Home</a></li>
      <li><a href="journal.php" <?php if ($currentPage == 'journal.php') {echo 'id="here"';} ?>>Journal</a></li>
      <li><a href="gallery.php" <?php if ($currentPage == 'gallery.php') {echo 'id="here"';} ?>>Gallery</a></li>
      <li><a href="contact.php" <?php if ($currentPage == 'contact.php') {echo 'id="here"';} ?>>Contact</a></li>
    </ul>
    Let's say that the gallery pages contains hundreds of links gallery like gallery/photos1.php, gallery/photos2.php, gallery/photos3.php, gallery/photos4.php, gallery/photos5.php, gallery/photos6.php, gallery/photos7.php etc...
    How would I identify the sub-pages so when we are there Gallery is highlighted?
    Thank you!
    Best,

    Hello Siddhardha,
    To get the details of a process you need to use Locator class from BPEL api. You can locate your process by listInstances method which accepts WhereCondition parameter used to build a query on process instances. Once you've found the process you were looking for you can use getAuditTrail method to retrieve audit trail of a given instance. You can also use setStatus() method from a BPELX java exec tag within your process and later retrieve it from instance handle by getStatus method.
    A sample snippet to retrieve instance handles to all child processes of a given process:
    StringBuffer sb = new StringBuffer();
    Locator locator = new Locator(domain,domainpassword);
    WhereCondition wc = new WhereCondition();
    String query = sb.append(SQLDefs.AL_ci_root_id).append(" = ? ").toString();
    wc.append(query);
    wc.setLong(1,parentInstance);
    IInstanceHandle[] ih = locator.listInstances(wc);
    You can read more about querying processes on http://blogs.oracle.com/matt/2006/06/27?print-friendly=true
    Radoslaw

  • How do I identify parent/child relationship

    How do I identify parent/child relationship in Designer?

    turn your object into a symbol, and place multiple instances of it on the artboard, when you edit the symbol all instances will update.

  • How to identify the ID of a particular object in personalization?

    Hello,
    I am getting into deeply in the personalization of the page:
    /oracle/apps/pos/supplier/webui/ByrAddCntctPG
    I have to implement some actions on check box "Create User Account for this Contact".
    How can I do it?
    How can I identify the ID of the check box in question?
    Thanks a lot.
    Ladis.

    Find the region on the page and the item name (which shows as prompt). You can easily notice this on the Personalize Page.
    Another simple way is to have Region level personalization enabled and click on the Personalize region link under the region and directly personalize the item.

  • Identify the exchange protocol of the message

    Hi,
    I have created a business action, a Trading partner and deployed a Agreement for a partner. On the other side, i have a jsp which post message through HTTP protocol.
    Whenever i try to post a Message to the B2B through the jsp, the Error status reports page shows me the error as,
    "Unable to identify the exchange protocol of the message".
    Has anyone faced a similar problem?

    Hi Nandagopal,
    I tried to find the b2b.log, but it was not available in the path, oracle_home\ip\logs\b2b. But there were some error in the log.xml, which i have mentioned below,
    AIP-50080: Exchange protocol identification error
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:972)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:1851)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:1783)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:1741)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:454)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:326)
         at java.lang.Thread.run(Thread.java:534)
    java.lang.NullPointerException
         at oracle.tip.adapter.b2b.msgproc.DbAccess.insertMsgTblRow(DbAccess.java:436)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateWireBusinessToErrorState(DbAccess.java:4442)
         at oracle.tip.adapter.b2b.engine.Engine.handleInboundException(Engine.java:3092)
         at oracle.tip.adapter.b2b.engine.Engine.handleExceptionBeforeIncomingTPA(Engine.java:2983)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:973)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:1851)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:1783)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:1741)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:454)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:326)
         at java.lang.Thread.run(Thread.java:534)
    AIP-50031: B2B adapter general error: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateWireBusinessToErrorState(DbAccess.java:4495)
         at oracle.tip.adapter.b2b.engine.Engine.handleInboundException(Engine.java:3092)
         at oracle.tip.adapter.b2b.engine.Engine.handleExceptionBeforeIncomingTPA(Engine.java:2983)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:973)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:1851)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:1783)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:1741)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:454)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:326)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.msgproc.DbAccess.insertMsgTblRow(DbAccess.java:436)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateWireBusinessToErrorState(DbAccess.java:4442)
         ... 9 more
    Wat do i need to do for getting the b2b.log. I cud not find the ui.log also. Can u pls explain?

  • Identifying the time spent on each step in Proxy Service?

    Hi Everyone,
    Is there anyway to identify how much time each step in proxy service is taking?
    I am using OSB 10.3.1
    Thanks & Regards
    Himanshu

    Yes there is.
    Open sbconsole.
    Go to operations tab on your proxy service, select Monitoring, enable it by selecting the checkbox.
    Then, in the section on alerts, you would see a drop down having three values - Service Level, Pipeline Level, Action Level (or maybe activity level, have forgotten). Select the Action Level.
    Run your proxy service for the desired time.
    In the sbconsole dashboard, you should be able to see the Metrics of each action within the proxy service. It is most probably found in the last tab of monitoring page within OSB Dashboard.
    Hope this helps.

  • Cascading LOVs (v4) and retaining the child value

    I've implemented the default delivered implementation in version 4 (4.0.2.00.07 to be exact) of cascading LOVs. Working fine except for one thing...after refresh of a child LOV, the previously selected value is wiped out even when it's still a valid value in the child LOV. If it's an invalid value, I can understand that it would be wiped out, but if it's still valid, I'd like it to be retained.
    Example...let's say I have these two select-lists (parent and child).
    P100_PARENT
    P100_CHILD
    P100 Child's SQL references P100_PARENT:
    where b.child = NVL(a.parent,b.child)
    Optimize refresh is also set to 'No' because I need the child to refresh to all children selections when parent is null.
    In short, the parent is optional. If Parent is null, show all child options regardless of Parent. If Parent is defined, show only the child options for the parent.
    So when parent is null, I get all child options (OK). I pick one.
    If I go to parent and change it to a specific value that IS the parent of the child I chose, my expectation is the child select list should refresh (it does) but if my chosen value is still in the list, it should scroll to it and select it. Instead, it wipes it out.
    To put some values into the example...
    Let's say parent values are:
    A
    B
    C
    null
    Let's say child values are numbers such that valid values are:
    1 through 10 when parent is A
    11 through 20 when parent is B
    20 through 30 when parent is C
    1 through 30 (any child value) when parent is null.
    So I have a null parent LOV value and the child shows me 1 through 30 (OK). I pick 15.
    I change the parent to 'B'. Child list refreshes (OK). But while 15 is still a valid value in the list, it is not selected again (my value is wiped out). I still want it to have '15' selected.
    Any workaround? Is this a bug? Enhancement opportunity?

    Hi Matt,
    have you had a look at Skill Builders "Save Value on Cascade" dynamic action plug-in? See http://skillbuilders.com/oracle-apex/Application-Express-APEX-Consulting-Training.cfm?tab=free-plugin-downloads
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

Maybe you are looking for