Pass an event to outside nested iview (Flex 2.0)

Dear all,
As per note 1124906, the new Flex engine permit pass an event raised inside a nested iview to the outside iview.
I just installed the SP 14, PL 1 and I couldn't find how to use this feature.
Someone could help me?
Thanks.
Note 1124906:
New Visual Composer features for Flex 2.0, enabled by this patch, include:
Signal Names as Events: If you are working with nested iViews in a Flex-based model, you can use Out signals within the nested iView to expose EPCM events external to the nested iView, elsewhere in the same model. These signals can trigger transitions between layers and/or trigger events when received by the complementary In signals.

I've found the problem:
I forgot to select the correct compiler (FLEX 2) under Options menu.
Select the correct compiler and it will work fine
Regards,
Alessandro.

Similar Messages

  • How to combine data from different input forms outside a nested iView

    Hi,
    i try to combine data from different input forms in a single one.
    Because of space reasons in Flex compiling i already use nested iViews. Within these nested iViews its possible to use the 'combine' function to do this.
    But in the main iView I cant compose these function with other elements. I need to do this because of using these model in Guided Procedures with output parameters. These parameters I only get with a 'endPoint'. Unfortunatly its not possible to combine data from different input forms into the 'endPoint'.
    Is there any solution?
    Thanx
    Mathias

    Hi Scott,
    i tried this already and i also tried to map all parameters in the endpoint by drawing lines from the other forms and assign the 'empty parameters' by a formula.
    And when i create a collable object in GP and assign the VC iView, only the parameters of the parent-form (the form who trigger the event) are shown as output-parameters.
    Maybe any other ideas? I cant believe that such a simple thing is not possible?!?!
    In my opinion, thats a bug, that I'am not able to use the combine-operator in the main VC-iView. Whats your mind?
    greets
    mathias

  • Passing Data to Nested iViews

    Hi,
    I am trying to pass the data to nested iViews and not getting success.
    In my model I have 2 layers.
    Layer 1 - Input Form
    Layer 2 - Output Table and Nested iView
    This Nested iView I have made it a tabstrip. Now when I select any line item from the table I need to pass these line item values to the Nested iViews Tab1. I tried using the Signal Out in the Out port of the output table. Put in a Signal In in the Nested iView. I am not able to connect this SignalOut and Signal In.
    I read forums that the solution can be achieved through data store in the Nested iView and then connect the data store and Signal In. My problem is how will the Data Store and Signal In get the parameters.
    I also tried connecting the Out port of the Output table to the Signal In of the Nested iView but i am not able to do the mapping.
    Can someone pls help me here?
    Thanks,
    Nagarajan.

    Hi Nagarajan,
    I dont think you need a Signal Out here, you can directly link the output port of the table to the Input port of the nested iview and select the event as "SELECT".
    with the above setup in place, you need to assign all the fields with proper values in the connection links(both in the parent iView and nested iview). also check if you have created the field in the signal in and assigned it a value properly to the input port of the data service or query properly.
    Try this and let me know if this does not work.
    Regards,
    Rk.

  • Eventing between iView and nested iView

    I try to make an Event between an iView and an nested iView. I followed the instruction on page 164 in the reference guide and tried some other things, but it doesn´t work. I make an output Port on the one side, there i could select the fields to be displayed. But when I compose the Input Port , there are no field to see.
    So what make I wrong?

    Hello Marcus,
    the main thing about the desired eventing seems to be that when you have placed your data service in the nested iview you have to create a signal-in port<b> by pulling a data connection out of the input port of the data service</b> to create the input-port of your nested iView. Only this way, the port is filled with the input data of the data service.
    Back in your main iView you can connect the data flow to the newly created port of your nested iView the same way as you connect to a data service. You then should see the input fields of the data service that you placed in the nested iView and be able to assign values to the input fields.
    Hope that helps
    cheers
    Gerhard

  • Passing values to Nested iview

    Hi,
    My requirement is to display a input form and get the Customer ID from the user and when the user clicks a Pushbutton then the details(ex:customer name, customer address,etc.) of that corresponding customer id should be displayed in a table in a nested iview .
    Plz can anybody provide me a step by step solution.

    Hi,
    Please go through this link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9c/ffdb4269b2f340e10000000a1550b0/content.htm
    If helpfull ...please award points
    Thanks & Regards,
    P.Navakanth

  • Advantages of using nested iViews

    Hi All,
    Could anybody point out what are the major advantages of using nested iViews? Under what circumstances is the usage of nested iViews desired or recommended? Thanks!
    cheers
    Prachi

    Hi Prachi
    The nested iviews comes handy in case where in you model expects numerable UI elements or heavy UI screen.
    Nested iview is a way of achieving componentized models and also avoids re-work.
    You could avoid error like these:-
    "Error in compiling Flex application:
    Error: Branch between 8479 and 41869 around line 0 exceeds 32K span.
    If possible, please refactor this component.
    Failed to compile AAD8T3.mxml"
    This is the well known 32K limitation from Adobe Flex 1.x. The compiled applications are not allowed to be larger than 32K. That usually happens with larger models.
    Solution:-
    In order to solve this issue, you need to redesign your application and use nested iViews (basically splitting the model into multiple components)
    To instantiate you,go through this thread:-
    Re: Multiple input forms problem
    Regards
    Navneet

  • Controlling the execution of start points in different nested iViews

    Hi,
    I have an application in which a tabstrip displays a single nested iView within each tab.  Each of the nested iViews loads data via a BI Query data service.  A start point in each iView specifies the initial parameters to load the query data.
    I would like the start point for a particular iView to be executed only when the user selects the tab that contains that iView.  However, at the moment, when the application starts up, ALL of the iView start points are executed, resulting in a long wait.  There doesn't appear top be a way to check if a particular tab has been clicked by the user and then only execute the start point for the tab's iView based on this.
    I would appreciate any suggestions for implementing the above requirement.
    Regards,
    Mustafa.

    Hi KK,
    It seems there is no way to trigger events/actions from tab selections.  However, you can try the following workaround to simulate the same effect:
    [https://wiki.sdn.sap.com/wiki/x/iT0 |https://wiki.sdn.sap.com/wiki/x/iT0 ]
    The approach taken is to replace the tab strip with a series of buttons in a form which then control the visibility of nested iViews and trigger the appropriate queries.
    Regards,
    Mustafa.

  • Usage of Back button in Nested Iview

    Hi,
    I have redesigned my model from one iview to an iview with several nested iviews.
    In my main iview I have multiple layers. When I didn't use nested iviews (situation before) the "go back" button which was defined on multiple forms with the system command "go back history" was working fine. But now this is not working anymore.
    At first I tried to replace the method by adding an own button with the customer command "goback" identical to event goback that points to the layer but this doesn't work neither from within the nested iview.
    What's the best approach to jump back via a button from the nested iview to your main iview ?
    Message was edited by:
            Double U

    Hi,
    > In my main iview I have multiple layers.
    > At first I tried to replace the method by adding an
    > own button with the customer command "goback"
    > identical to event goback that points to the layer
    > but this doesn't work neither from within the nested
    > iview.
    Let me explain what i had understood ...
    You have multiple layers and you added a nested iView in one of the layers.
    There is a button with custom action "GoBack" in the nested iView.
    The layers are connected and the customaction goback is set as the event for layer transition.
    Is this the real scenario??
    I guess, you can't use the custom action of a nested iView to control the layer transitioning in the parent level. But you can add a transparent form with a goback button on the same layer with nested iView and in layout, keep the form on top of the nested iView so that the button looks like its in the nested iView.
    Regards,
    Sooraj
    Message was edited by:
            Sooraj KM

  • Passing multiple events as parameters to functions

    I want to pass MouseEvent and a custom ComboSelectedEvent to
    a function. I really would like to do this:
    public function getPublications(event:MouseEvent,
    event:ComboSelectedEvent)
    But it doesn't work in Flex. To make it work, I ended up
    using the Event class, which includes all events:
    public function getPublications(event:Event)
    Is this the correct Flex way or is there a better way? Thanks
    for your help.

    You should be able to pass the two event objects into the
    function, but as Richard indicated, the two cannot have the same
    name within the method, and they don't need to either. Perhaps
    offer more details on your situation.

  • Eventing between Web Dynpro iView and regular DynPage iView

    I have seen, done eventing between two dynpage iviews and two webdynpro iviewsHowever, and gone through "How to Use the Portal Eventing for Web Dynpro iViews". However, I have been trying to have a webdynpro iview talk to a dynpage iview but they just won't communicate. Is this even possible?
    Ok basically I have a portal page in a popup window with no masthead and top level navigation. The page has two iviews -  the top one being an iView that points to a webdynpro application on Server A, and the bottom one being a dynpage iview on the Portal Server B.
    In the webdynpro iview, the code for when a button is clicked is
    public onSomeAction(Event event) {
        WDPortalEventing.fire("urn:myUrn","eventName","value");
    In the dynpage iview, the code i have for it is
    myServ = (IEpcfToolbox) PortalRuntime.getRuntimeResources().getService(IEpcfToolbox.KEY);
    myReceiver = myServ.getClientEventReceiver(request, "urn:myUrn", "eventName");
    form.addRawText(myReceiver.getWrappedScript());
    try {
        if (!myReceiver.isReceived()) {
            form.addComponent(createMainScreen());
        } else {
         form.addComponent(new TextView("event received!"));
    } catch (Exception e) {       
        form.addComponent(createErrorScreen());
    I tried all the things I could think of but the receiving iView just won't get the event fired.
    Can someone confirm that this should work? and correct me where I've done wrong.
    Please help. this is very urgent. your help will be greatly appreciated. thanks in advance
    PS. My environments are EP 6.0 SP2 and WAS 6.40 SP14

    > hi,
    >
    > portal eventing  works properly if all participants
    > are in the same domain. Otherwise portal eventing
    > g does not work. If the SAP J2EE
    > Engine on which the Web Dynpro application is
    > deployed is in another domain, you have to  map the
    > IP address of the SAP J2EE Engine to the domain name
    > of the
    > SAP J2EE Engine on which the SAP Enterprise Portal is
    > running, by editing the configuration file hosts.
    >
    > regards,
    >
    > Ganesh.N
    I am no direct access to the boxes so I can't try your suggestion. It really makes sense that eventing won't work if the iViews are on different domains. I know they are in the same domain but different subdomains.
    Anyway, good news I got eventing to work with the mentioned set. I found that that the SAP Java EPCFToolbox API had a bug that kept throwing javascript errors when I tried to have the web dynpro iview fire an event and the SAP one subcribed to it.
    I got around it but using the EPCF Javascript API instead.
    Code:
    response.write("<script>");
    response.write("EPCM.subscribeEvent('urn:dla.telework', 'createPdf', doSomething);");
    response.write("function doSomething() {");
    response.write("window.location = self.location + '&eventReceived=true';");
    response.write("}");
    response.write("</script>");
    So basically just output raw text through the response object and it just works.
    On a similar topic, since eventing can only pass string parameters back and forth, I'm still looking for a way to pass other more complex Java objects between web dynpro and sap iviews. From what I haven't they don't share the same session object (which I thought they did). So basically I can't just stick stuff in the session and pull it down on the other end. I'm clueless right now. If anybody has some tips, plesae share. Thanks

  • Postioning of Nested IView Pop-up

    I have built a VC composed of multiple nested Iviews.  In one eent, I call a nested i-view popup.
    How can I ensure a popup will popup in the browser screen so the user can see it right away without having to drag the popup so they can see it and use it.

    Hi
    You can createtry with 'zooming'. What you have to do is, use 'Data store' operator. Create one button for zooming. create 2 separate nested view one is of normal size & other is as per size you want. Create event with 'data store' & assign it to the button which is created earlier. When you click this button nested popup will get open as per size you want.
    Regards
    Sandeep

  • How to move back & forth from main iview to nested iview vice versa

    I have application that have  Main iview which have 4 forms and   8 nested iviews(Each iviews have multiple forms). All the forms in main iviews and nested iviews are in layesrs. I can able to move back and forth with in the forms from the main iviews. But I can not able to go  back and forth from main iview forms to nested iview forms.
    For example I have a button "NextA" in form A of Main iview A  and  a button "BackB" and button "NextB" in Form B in nested iviewB .
    and  button "BackC" and button "NextC" in Form C in nested iviewC .
    All the above forms are in layers. When I press button NextA I can  go to  FormB. But when I press button BackB I can NOT able to go back to FormA. and also If I press Button NextB I cannot able to go to FormC.
    In all the above forms,I have created a Action items in buttons with same name as event names.
    Points will be awarded as I need this solution as an emergency.

    John,
    It sounds like you already have event (action) "BackB" assigned to your BackB button on FormB. Then draw a transition from the out port of FormB to the in port of FormA and assign the event "BackB".
    If the problem is that only FormB or FormA is to be shown at a time, then you may need to manage the visibility setting for the form. In that case have your event also update a boolean value in your data store (such as, "showFormA" and "showFormB"), then make the form visibility dependent on the corresponding data store value.
    I hope that helps.
    Margaret

  • How to set the screen size with nested Iview screen

    Can someone show me how to set the screen size with nested IView  screen.
    at the moment i only try it with trial and error untill it looks somewhat close. Is there a property in VC to set the size for Height and width.
    The same question is for the form. the form elements inside the form is easy but the actual form is still a challenge.

    Hi,
    Yes you are correct ,Still the Form and iview are not able to change thier Layout Structure using a Propery.
    it is available with VC7.1
    Govindu

  • Standard PO workflow giving error due to Release coe is not getting passed from event

    Hi Team,
    I am getting the below error while processing the Standard workflow for PO.
    I think its due to the Release code is not getting passed from Event to workflow.
    Can you please sugest from where the release code is getting fetched before triggering the event.
    Error processing following event linkage:
    BUS2012 RELEASESTEPCREATED WS20000075
    Following error occurred:
    SWF_RUN 594
    Message text:
    Import container contains errors (are any obligatory elements missing?)
    Event container appended as attachment.
    Event linkage not changed.
    Event stored temporarily.
    Events can be redelivered via event queue
    administration (transaction SWEQADM)

    Hi 
    Please check threads, response by Fernando Carames, ( Jul 19, 2007 2:37 PM): http://scn.sap.com/thread/483005
    Or by Trevor Ticehurst  on Oct 9, 2008 3:39 PM at:  http://scn.sap.com/thread/1080411
    OR
    http://www.sapfans.com/forums/viewtopic.php?f=26&t=297786
    All these mention certian notes which may be helpful.
    However, it is important to first ensure that the release startegy is configured and working properly (check with your MM con)
    regards,
    Modak

  • Passing parameters to a BW Report iView dynamically

    Hi All,
    I want to pass parameters to a BW Report iView at runtime. The requirement is as such:
    I have got some screen selection in a webDynpro iView and I need to pass all those selected values to a BW Report iView based on the user selection. eg. start date and end date selection.
    This is on priority please help me as soon as possible.
    Thanks in advance,
    Murtuza

    Hi Rajat,
    I will try to describe my requirement once again. The iview A is the webDynpro iview and iview B is the BW Report iview. Now I want to make some selections in dropdown ,calendars and input fields in ivew A and then make a call to the iview B with all those parameters so that iview B can fire a query based upon the parameters.
    ie. if I selected say startdate as today's date then this should be passed as a parameter to the BW Report iview and i need to set the application parameter for the BW Report ivew. Hope the reuirement is clear now. Please help me.
    Thanks,
    Murtuza

Maybe you are looking for

  • How to find serial number, how to find serial number

    how to find serial number on Macbook air for registering Applecare?

  • How do I create two iTunes accounts under the same email address?

    I've got my account duplicated -and charged for apps I already own- by using my email address as login instead of apple ID, but I've been told it's my fault so- I'm trying to figure out *How do I do to create two iTunes accounts under the same email

  • Managing multiple iCloud accounts

    Hi, I have two iCloud accounts, one on my iPhone 5, the other on my iPad. Is there anyway to access or download photo stream from one to the other? Any suggestions on how to easily access both on either device? Thanks for the help, Linda

  • Acrobat 9.0 Pro locks up after 30 seconds.

    Problem signature:   Problem Event Name: AppHangB1   Application Name: Acrobat.exe   Application Version: 9.0.0.332   Application Timestamp: 4850eb76   Hang Signature: 8d74   Hang Type: 1   OS Version: 6.1.7600.2.0.0.16.7   Locale ID: 1033 I have sea

  • Creating Outlined Text in Pages 09

    Having read the manual for Pages 09, i've learned how to create Outlined Text, but i want to know if i can keep the colour of the text as it was before creating the outline. For example, a black bold headline with a red outline? Instead what i get is