How to test ajax parent container ?

Hi all Spryer,
I have a main page with many different categories and the
page use the Spry.Utils.updateContent to refresh a main DIV
container where i display some HTML content.
Till here, no pb but..
I would like to find how to make a redirection to the main
page with the main container if someone call directly one of an
html page who don't have to be displayed outside the main DIV
container.
I hope my question is quite clear. Sorry for mistakes
SOf from france

The inheritance chain looks something like this:
Submit Button->ToolBar->ControlBar->RichTextEditor
So, in keeping with your original approach, you could just go
up the parent chain a couple more times to get to the
RichTextEditor.
event.target.parent.parent.parent.text should get you to the
TextArea and...
event.target.parent.parent.parent.id should get you your
id

Similar Messages

  • How to test the rule if multiline container is passing to the task?

    Hi Experts,
                      I am working on leave workflow. I have to get the approvers based on no of days of leave and leave type. I am getting these details in ITEMS_TAB internal table. I am passing this table to a rule. Now my problem is when I tried to simulate the rule I am not getting any input screen to enter the data.
    ITEMS_TAB is an internal table type of   "PTREQ_ITEMS_WF_TAB_FLAT".
    In the rule I have created a container by selecting the radiobutton "ABAP Dict. Data Type" and entered the above reference parameter is it right way?
    Is it possible to test the rule independently if I use multiline container as import parameter in my rule?  If so can anybody please tell me how to test the rule?
    Thank You.
    Srija.

    Hi Pavan,
                     Thank you.
                     To copy the values I am not getting any input screen to input the values. I observed one thing that the type that I am referring in the Rule is a deep structure. Is this is the reason that I am not getting the input screen to enter the values?
    I tested by creating aother rule by taking a field for that rule I am getting the input screen to simulate the Rule.
    Can you please suggest if the rule will not work then what I have to do? without the rule how can I get the agents?
    Thank you.
    Srija

  • How can i centre two side by side divs vertically so they both are in the centre of there parent /containing div?

    How can i centre two side by side divs vertically so they both are in the centre of there parent /containing div? One of the divs is larger than the other so i would want the smaller one to centre inside a parent div like so:
    Grey= parent/container (Width of both orange and red div)
    Orange= Div 1
    Red= Smaller div- centralised (hopefully)

    If you wanted to go completely "Not for IE8 or lower" and use some of the often overlooked viewport units, it could be very responsive to browser resizing...
    <!doctype html>
    <html lang="en-us">
    <head>
    <meta charset="utf-8">
    <title> VW, it's not just a car for Mac users...</title>
    <style>
         -moz-box-sizing:border-box;
         -webkit-box-sizing:border-box;
         box-sizing:border-box;
    #gray {
        background-color:gray;
        width:80vw;
        margin:0 auto;
        height:40vw;
        font-size:2vw;
    #red {
        width:50%;
        height:50%;
        background-color:red;
        margin-top:12.5%;
        float:left;
    #orange {
        background-color:orange;
        width:50%;
        height:100%;
        float:left;
    </style>
    <!--[if lt IE 9]>
    <link href="IE-only.css" rel="stylesheet" type="text/css">
    <![endif]-->
    </head>
    <body>
    <div id="gray">
        <div id="orange"></div>
        <div id="red"></div>
    </div>
    </body>
    </html>

  • How do i test a record containing status E0008 and not containing status I0002

    hello all,
    how do i test a record containing status E0008 and not containing status I0002  for a given WBS Element....
    the data(like pspnr, posid and objnr from table PRPS are avialable in internal table it_prps)....

    Hi,
    You can check the received table from the function module as per your condition.
    loop at it_prps.
         call function STATUS_READ and pass objnr
              "suppose tables parameter data is in table itab
         Read table itab with key STAT = 'E0008'. "check for E0008
           if sy-subrc = 0.
              read table itab with key stat = 'I0002'. "if E0008 exists then check for I0002
                   if sy-subrc = 0.
                       "both status E0008 & I0002 exists so delete this record from it_prps
                        delete it_prps.
                   else.
                       "only status E0008 exists.
                   endif.
         endif.

  • How to get the parent of a component in fx?

    Here is an example:
    Index.fx:
    Stage {
        title: "Online book library";
        width: 1024
        height: 768
        scene:Scene {
        fill: Color.WHITE
        content: [
           banner ,
           login = Login{translateX:715 translateY:135}
    };Login.fx:
    var logOn : Button = Button {
            translateX:25 translateY: 170
            text: "Log On"
            font: Font {size:11 name: "Verdana Bold"}
            action: function() {
                showHello();
    function showHello(){
       // add a label in index.fx whose text is "welcome!";
        }I want to show something on the index.fx but I don't know how to get the parent from the child component?
    In Flex, we use parent or parentApplication, Is there a similar function in JavaFX?

    Reusing the same Tile example, I had no problems, I suppose I was doing wrong the first time:
    def IMAGES_WIDTH = 100;
    def IMAGES_HEIGHT = 100;
    var COLUMN_NB = 3;
    var ROW_NB = 3;
    var scene: Scene;
    var previews: Container;
    Stage
      title: "Test of Tile layout"
      scene: scene = Scene
        width: 500
        height: 500
        fill: Color.LAVENDER
        content:
          previews = Tile
            hgap: 10
            vgap: 10
            layoutX: bind (scene.width - previews.width) / 2
            layoutY: bind (scene.height - previews.height) / 2
            columns: COLUMN_NB
            content: for (i in [ 1 .. COLUMN_NB * ROW_NB ])
              ImageView
                id: "IV{i}"
                image: Image
                  url: "{__DIR__}clock.gif"
                  width: IMAGES_WIDTH
                  preserveRatio: true
                onMousePressed: Hide
    function Hide(evt: MouseEvent): Void
      println("{evt.node} ({evt.node.id}) - {evt.node.parent}");
      var nm: Node = evt.node.parent.lookup("IV5"); // Middle node
      nm.visible = false;
      var ntl: Node = evt.node.parent.lookup("IV1"); //Top left node
      (ntl as ImageView).viewport = Rectangle2D { height: IMAGES_WIDTH/2, width: IMAGES_WIDTH/2 };
      (evt.node.parent as Tile).hgap = 20; // Strange effect, but works
    }

  • How to get the parent window in sub-child controller class in javafx?

    how to get the parent window in sub-child controller class in javafx?

    You can get the window in which a node is contained with
    Window window = node.getScene().getWindow();Depending when this is invoked, you might want to check the Scene is not null before calling getWindow().
    If the window is a stage that is owned by another window, you can get the "parent" or "owner" window with
    Window owner = null ;
    if (window instanceof Stage) {
      Stage stage = (Stage) window ;
      owner = stage.getOwner();
    }

  • How to test the UDA or Attribute of an ancestor member

    Hi everybody !I would like to know how to test the UDA or attribute (I can use both) of the ancestor (or the parent of the parent) of the current member please ?(the current member is on level 0 et the ancestor is on level 2).I tryed some syntax but any result :(Thanks very much for your help... JaspePS : Sorry for my "bad" english, i'm french...

    You can try using this IF conditional statement:if (@count (skipnone, (@uda (dimName, myUDA) and @ancest (@currmbr (dimName), -2))) == 1)where:dimName is the dimension of the level 0 member you are testingmyUDA is the UDA you are testingWhat this does is it counts the number of members that meet two criteria. First, it must have the UDA you specify and, second, it must be an ancestor of the current member at a specified level.If the current member has a level 2 ancestor with the UDA, it should return one member.

  • How to test XI project..

    1.How to test xi projects?
    2.then how to test our scenario? Is there any testing tool is available to test the scenario?
    3. What is CCMS? how it is useful in XI ?
    Thanks in advance
    Rakesh

    Hi Rakesh,
    +1.How to test xi projects?
    2.then how to test our scenario? Is there any testing tool is available to test the scenario?+
    XI is about messaging. So the way to test an XI implementation would be to test the messaging. Two options for doing that...
    1. Test the implementation without the Application systems. The plain J2SE adapter really comes in handy here. You can use it to send an XML file to the Integration Server, check whether it is getting through the pipeline as intended (which means the routing, the mappings, etc), and let it pop out to a file somewhere. You can check all the steps the message has gone through from the XML monitor (sxmb_moni).
    2. Test the actual implementation with the application systems. For this you would use the testing tools of the application itself.
    I do not know of any automated tools for testing XI configuration, or any way of testing it without actually sending a message across.
    What is CCMS? how it is useful in XI ?</b> 
    I can give you some info regarding CCMS, but the rest will try finding out and let you know soon. Mean while pls go through this info on CCMS.
    When CCMS is not configured you can only do individual monitoring.
    To configure the same you must decide which system is to be the central system for the SCR.
    To know what SCR is and to know more about it please go through this link.
    https://help.sap.com/saphelp_nw04s/helpdata/en/1e/ec9e38f0d92936e10000009b38f8cf/content.htm
    After doing the same please follow these steps.
    Log on to the system that is to contain the central repository.
    - Choose CCMS ® Configuration ® Alert Monitor, or call transaction RZ21.
    - Choose Technical Infrastructure ® System Repository ® Set Repository Role.
    - The system displays the Set Repository Role in Central System Administration screen. Choose Central Repository.
    And also go through the following links. This I guess will help you solve your problem and I guess it answers your question.
    https://help.sap.com/saphelp_nw04s/helpdata/en/e5/15a0380d134f6fe10000009b38f8cf/content.htm
    /people/sap.india5/blog/2005/12/06/xi-ccms-alert-monitoring-overview-and-features
    /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i
    Regards,
    Abhy
    Message was edited by: Abhy Thomas

  • IFrame(child container) still visible after closing the title window(parent container)

    Hi All ,
    I have created a sample project using a link button which when clicked opens up an TitleWindow which has an iframe and a text area in a hbox
    When you execute the application ,
              Click the link button
              The Popup window opens up showing the title window with the close button
              Click the close button of the title window
              The Title window is removed and the iframe and the text area are not visible
    Do this a couple of times
    You can notice that the iframe is still visible even when the title window is closed
    Can someone explain me how this issue can be resolved and also explain me why the iframe(child container) is still visible when the title window(parent container) is not visible. 
    Main Application file
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
        width="100%" height="100%" creationPolicy="all"
        xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical" creationComplete="init()"
        xmlns:containers="containers.*">
       <mx:Script>
       <![CDATA[
           import mx.managers.PopUpManager;
           import containers.PopUpBrowser;
           public function doRequest():void
                    var requestPopup:PopUpBrowser = PopUpManager.createPopUp(this, PopUpBrowser) as PopUpBrowser;
                    PopUpManager.addPopUp(requestPopup,this);
                    requestPopup.x = 220;
                    requestPopup.y = 50;
       ]]>
       </mx:Script>
       <mx:Text fontSize="14" fontWeight="bold" text="Click the link button below to open the Title Window" />
       <mx:Spacer height="100"/>
       <mx:LinkButton label="Click me" fontSize="16" fontWeight="bold" click="doRequest()"/>
    </mx:Application>
    PopUpBrowser.mxml Component
    <?xml version="1.0" encoding="utf-8"?>
    <mx:TitleWindow
        xmlns:mx="http://www.adobe.com/2006/mxml"
        close="removeMe()"
        showCloseButton="true"
        styleName="myTitleWindowStyle"
        width="850" height="500"
        title="Klout User Profile"
        paddingTop="1" paddingBottom="1"
        paddingLeft="1" paddingRight="1"
        xmlns:generic="com.serendio.voom.components.generic.*"
        xmlns:flexiframe="http://code.google.com/p/flex-iframe/"
        horizontalScrollPolicy="off"
        verticalScrollPolicy="off" >
        <mx:Script>
            <![CDATA[
                import mx.managers.PopUpManager;
                public function removeMe():void
                    PopUpManager.removePopUp(this);
            ]]>
        </mx:Script>
        <mx:HBox width="100%" height="100%">
        <flexiframe:IFrame source="http://www.google.com" id="iFrame" width="50%" height="100%"/>
        <mx:TextArea text="Open and close the title window few times and watch the iframe remain visible even when the title window is closed"
             fontSize="14" width="50%" height="80%"/>
        </mx:HBox>
    </mx:TitleWindow>
    Thanks,
    Ajantha

    Hey,
    This is working fine for me with the current 4.5 Flex, Firefox 3.6.12, IE8. On what browser you are getting this error.
    Thanks,
    Jayagopal.

  • How do I enable parent paths in Visual Studio 2013?

    I am converting a classic ASP site to a Visual Studio 2013 MVC. When I run the ASP code inside of the Visual Studio 2013 debugger I get the following error message. How can I enable parent paths in 2013? 
    Active Server Pages error 'ASP 0131'
    Disallowed Parent Path
    /prospect/contact/contact_search.asp, line 33
    The Include file '../menu_inc/contacts.inc' cannot contain '..' to indicate the parent directory.
    

    I discovered the answer myself.  Here is how I did it.
    I opened Task Manager and saw that Visual Studio was running processes of IISExpress for the web server functionality.
    I clicked on Start and entered IISExpress to find out where it was installed. To my surprise, but an obvious choice, it was located in documents.
    I opened the C:\Users\Mike\Documents\IISExpress\config folder then opened Notepad as an administrator.  I then opened the applicationhost.config file and under the <system.webServer> element there is an <asp> element. I modified it
    to read. <asp scriptErrorSentToBrowser="true" enableParentPaths="true">
    I then opened by MVC solution and ran the Classic ASP program without any problems.  Everything works!

  • How to Test BPM

    I have a scenerio where i have used BPM.
    i think ihave probelem in BPM as i am not geting result.
    Please tell me how to test BPM

    Troubleshoot: BPM(Integration processes)
    First of all follw these steps to,these are general prerequisites of running Integration Process(BPM)
    1) Check the definition of the integration process in the process editor (Integration Process -> Check).
    The output area in the Tasks view must not contain any error messages.
    2) Check that Auto-Customizing of the Business Process Engine was fully executed and that no errors occurred (transaction SWF_XI_CUSTOMIZING):
    The status indicator for all entries must be green.
    3) Check whether the RFC queues indicate failed or pending requests that may involve the Business Process Engine (transactions SM58, SMQ1, SMQ2).
    If these Queue are not registered, Your MEssage Could be stuck there also.
    Then you need to go to tcode
    smq1/smq2 :outbound/inbound
    And execte them maually to relase the messages stuck
    4) Check that the contents of the XI runtime cache are up-to-date (transaction SXI_CACHE).
    The status indicator for the XI runtime cache must be green.
    Then check whether Runtime version was created successfully or not...
    1) Determine the number of the workflow that was created for the integration process:
    a. Search for the message in message monitoring (transaction SXMB_MONI).
    b. Read the number of the workflow from the Queue ID column.
    If this column displays the entry XBQO$PE_WS90100008, for example, then the workflow number is WS90100008.
    2) Check in the XI runtime cache whether the runtime version was created correctly:
    a. Display the XI runtime cache (transaction SXI_CACHE).
    b. Double-click Integration Processes/Business Process.
    c. In the Task column, search for the workflow by using the number you determined in the previous step.
    The return code must be 0. If this is not the case, check the activation log for detailed error messages that will help you analyze the problem further.
    With Regards,
    Raju.
    Please give points if useful

  • Disposing a parent container

    I have a panel (which contains buttons) which is added in another panel and this another panel is also added in another tab container and the tab is in a JFrame. Now, in panel which contains buttons, there is a button- CLOSE. Now,how can I dispose the parent (may be grand parent) container- JFrame from that class of panel (button panel).

    HA HA...........but if the parents dont have the capability to save themselves and give the child a means to kill them..what to do? I just want to know HOW CAN A CHILD DO THAT so that I can take some measures for saving the parents....lol..

  • How to select a web container in Identiy Manager IDE 8.1 (8.1.0.20080630).

    Hello.
    I'm testing Identity Manager IDE 8.1.0.20080630.
    How to select a web container ?
    If registered one Server in NetBeans and select it, however such GlassFish v3 and others is resterd, I could not choose which one.
    Anybody solved this issue?
    thanks.

    Please refer
    http://www.netbeans.org/kb/60/web/customer-book.html

  • How to test dispatchaction ?

    Hello all,
    I'm using cactus and strutstestcase to test my struts classes (actions and forms)
    I'm having a problem with testing DispatchAction.
    I know how to test simple Action but I don't know what strategy i should apply to test DispatchAction classes.
    I spent hours googling and i did'nt found any interesting answer.
    Any idea or web page where i get help?
    kind regards,

    Disclaimer
    The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
    Liability Disclaimer
    In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
    Posting
    My guess is, most real practice is to not set the values.
    The issue is, such policing can very easily impede legitimate traffic, and unless you have a good analysis, you might not be able to determine the high water mark.  Even if you have a good benchmark, the high water mark might legitimately differ tomorrow.
    It's true, you can probably police some legitimate traffic without a too adverse effect, but that too requires careful analysis.  I.e. exactly where is the "too much" division?
    Ideally, and in theory, you set such policers to avoid complete meltdown of your network, but that too is difficult to predetermine.
    What you could try is searching the Internet for various opinions of how these values should be configured.

  • Float clearing for parent container - DW doesn't display

    When I use one of the methods of float clearing for a parent container that has other floated elements inside of it, it seems to work fine in FF and IE. But it never shows up properly in DW design view. Instead, it just continues to show the parent container as collapsed.
    Is there some setting in DW that I can change to make it display properly? It's difficult to really know what's going on when it displays like this.
    Thanks...
    -Jesse

    JesseLY wrote:
    Thanks, Osgood. Here's a link to a test page.
    http://www.jesseyoung.com/tests/float_test/
    It displays fine in FF and IE, but shows the outer container as collapsed in DW design view.
    -Jesse
    Hi Jesse
    Change overflow: auto; to overflow: hidden; on the 'wrapper' css as below. This method will only work in DW CS4 design view.
    If you have a previous version of DW then you'll need to use the <br style="clear: both;"> method in the code if you want to see the correct rendering in Design view (see below)
    #wrapper {
    border: 5px solid purple;
    padding: 10px;
    overflow: hidden;
    width: 700px;
    background-color: white;
    Insert the <br> after the last floated element (as below)
    </div><!-- end floatLeft -->
    <br style="clear: both;" />
    </div><!--end wrapper -->
    Incidentally you appear to have an 'unpaired' </div> tag at the end of the code .

Maybe you are looking for

  • Time Machine Slow - Snow Leopard

    I have been using time machine for almost a year with no problems, but today it started taking forever to back up. There is plenty of space on the external drive, but after about 5 minutes it has only backed up 21 KB out of 79GB! I used disk utility

  • ApEx 4 to Excel download - Numbers end up as Strings

    Hello, We are developing reports in ApEx 4. Some users will be downloading them to Excel to further play with the data. We are formating some number fields (Sales, quantities, etc.) using 99,999,999,999.99 or 999G999G999G999G990D00. Everything is gre

  • Keep being asked security prompts?

    On any device (Ipad, Iphone 4S, Windows desktop), when purchasing any item (Ibook, Itunes, app store), I keep getting asked for username and to supply 3 security questions. I provide questions/answers, but can never get past that screen. A large blac

  • Elements 12 installation problems on macbook pro

    I'm trying to install photoshop elements 12 on my macbook pro and it gets to about 1 minute left in the installation process, and then it kicks out the installation disc and says there was an error in installing.  What do I do?  I've tried the same t

  • Assigning IP to an "IP-less DAG". Should I expect downtime?

    Hi I have installed multiple exchange 2013 multirole servers on windows 2012 R2. I was excited about the concept of "DAGs without IPs".  So I implemented that instead of traditional DAG windows failover clustering that must have IP address(es). So it