Xcelsius integration in WebDynpro Java Flash Islands

Hi,
We developed a visual composer application with CE 7.20 SPS 03 and we try to integrate a xcelsius gauge in to VC 7.20. It works fine with passing single or multiple parameters to xcelsius with webdynpro java flash islands, but how do we get the value from xcelsius back to webdynpro java.
How do we have to name the event in webdynpro flash island? Which event is triggered when change a slider or a gauge? Is there any document?
I need your help.
Best regards,
Murat Y.

Creating Flash Island Events
To implement the Visual Composer application if data has changed on the Flash island side, we need to define a Flash Island event. In this example, the Web Dynpro application needs to be updated once the user has changed one of the two slider values. The Web Dynpro application will trigger an event that will be handled in Visual Composer. Once you have created a Flash island event entry, you can assign a Web Dynpro action method to be called if the Flash island event is raised.
1.     Right-click RootElement again and create a SliderCostsEvent and a SliderRevenuesEvent:
2.     Assign the following attribute values to the Flash island event entries:
SliderCostsEvent:
SliderRevenuesEvent:
Note:
The Flash island event name must be the same as the name in the corresponding Data Connection Range and Property. For example, in the Xcelsius Data Connection, we defined a Range u201CSliderRevenuesu201D. Once the referring value is changed, the Flash island event SliderRevenues is called (which is bound to a Web Dynpro action method) and also the data is written to the SliderRevenues Flash island property (which is bound to a Web Dynpro context attribute). Once an Action method is called from the Flash island event, the data is transferred to the Web Dynpro context.
The onAction property points to a method Update(), which you need to create in the FlashIslandView (see implementation following).
3.     Now we will create the event that will refresh the data in the Visual Composer application. Go to the Events tab of the Component Controller and click New. Enter RefreshData as the event name and click Finish.
4.     Create the Component Controller method that will be called by the viewu2019s Update method. Go to the Component Controlleru2019s Methods tab and create a new method by clicking New. In the dialog box, select Method and click Next. Enter the name of the method, i.e. updateData and click Finish. Save the application.
5.     Right-click on this method and select Navigate To  Implementation. This will open the implementation code of this method.
The method should look like this:
public void updateData( )  {
    //@@begin updateData()
       wdThis.wdFireEventRefreshData();
    //@@end
The Update method of the FlashIslandView calls the Update method of the Component Controller; see implementation below:
public void onActionUpdate(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
     //@@begin onActionUpdate(ServerEvent)
       wdThis.wdGetCostRevenueCompController().updateData();
    //@@end
The Update method of the Component Controller will trigger the event that will refresh the Visual Composer UI with the new data. The reason for the multiple calls is that actions that are defined in the view cannot fire events but they can call a method, so we need to call a Component Controller method that will fire the event.
6.     Next, you should expose this event in the Interface Controller. Right-click the event and select Copy. Go to the Interface Controller, select the Events tab and paste the event.

Similar Messages

  • Data connection between Java Webdynpro - Flex Flash Island

    Hi,
    I'm developing a Java Webdynpro with connection to a Flex Flash Island. I'm using Flex 3.2.
    I've already set up the connection from WDJ to Flex, by using Events and the FlashIsland.fireEvent method, this all works fine. Now I'm trying to update a value in WDJ, to be updated in Flex. This gives the following error:
    Error: Error #1023: Stack overflow occurred.
         at Function/http://adobe.com/AS3/2006/builtin::apply()
         at mx.binding::Watcher/wrapUpdate()
         at mx.binding::PropertyWatcher/eventHandler()
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.core::UIComponent/dispatchEvent()
         at UWLApplication/set opentask_updated()
         at MethodInfo-4234()
         at Function/http://adobe.com/AS3/2006/builtin::call()
         at sap.core.wd.context::WDContextListener/execute()
         at sap.core.wd.context::WDContext/notifyListeners()
         at sap.core.wd.context::WDContext/_set()
         at sap.core.wd.context::WDContext/set()
         at sap.wd.island::WDIsland/storeProperty()
         at sap.wd.island::WDIsland/onUpdateProperty()
         at mx.binding.utils::ChangeWatcher/wrapHandler()
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.core::UIComponent/dispatchEvent()
         at UWLApplication/set opentask_updated()
         at MethodInfo-4234()
    This is especially strange, cause before I had a refresh button in which I updated my entire item collection. Now, I have added this field and suddenly I get this error !
    Does anybody has any idea what this could mean? Any help would be much appreciated ...
    My field in Flex:
    \[Bindable\]
    public var opentask_updated:Number;
    <mx:Text id="opentask_updated_text" text="{opentask_updated.toString()}" />
    My adaptions in WDJ:
    public void getInbox( )  {
           wdContext.currentInboxElement().setOpentask_updated(0);
    public void wdDoInit()  {
           getInbox();

    Solved!
    It appeared to be a "long" parameter and I was trying to put it in a "Number" parameter in Flex (because there is no long in Flex)
    When I changed both to String, it worked!

  • Guided Procedures - Integration of Webdynpro Java with Adobe Interactive fo

    Hi All,
    We have created Webdynpro java application with Adobe interactive forms.It works fine in NWDS and also in Webdynpro Content Administrator.
    When we have called this component in Guided Procedures (callable object - Webdynpro (GP Interface)), the form screen has not displayed.
    Plz help us..

    Hi,
    Scenario : User have to log into GP runtime, When he clicks the first action it should display the adobe form. He has to fill the details and submit the form. This form is routed for Approver 1 for review. The first approver will log into portal,view it (UWL),approve it and sent for second approver.The same process happens with the second approver.After both approvals, a BAPI updates the data in the interactive form in R/3
    All the process have to be done in Guided Procedures, then integrated with Portal at the end.
    We have tried creating an Wdynpro Java app with online adobe form and executed successfuly in NWDS and also in Webdynpro content administrator.
    issue:-
    When we create a callable object(webdynpro app(gp interface CO)) in GP and test, we were unable to view the form.
    Now our question is : what are we mising ?
    Is it possible to integrate online interactive adobe form with guided procedures?
    Is our approach to solve the scenario right?
    any links or tutorials will be greatly appreciated
    TIA,

  • Fire plugs or code in webdynpro from flash island

    Hello, I have a simple question, is there a way to fire plugs, events or code inside the webdynpro if I have a button in a flash island ?
    Edited by: Isaac Mena on Aug 20, 2009 6:34 PM

    Hi,
    with the help of these things you can fire a plug or event.
    Adobe Flex Builder 2 or 3
    Adobe Flash Player 9 Update 3
    Flash Island Flex library
    A Web Dynpro component with a FlashIsland UI element
    and the procedure as follows
    1.open the view and, select the RootElement in the Outline view and choose FlashIsland from the context menu entry Replace With
    2.Select the RootElement and enter the name of your  component to the property swfFile, for example: myFlash.swf. This file has to be stored in the mime repository. The relevant path is: <Web Dynpro DC name> -->Resources -->src --> mimes --> Components --> component name>.
    3.Select the RootElement and choose Insert Event from the context menu. Specify the name according to the Flash/Flex componentu2019s event name. Specify an action for the onAction event as described in Creating Actions
    Regards
    Manohar

  • Flash Islands for WebDynpro Java

    Hi,
    I am new to Flash Islands, is there any tutorial kind of thing for Flash Islands for WebDynpro java.
    i found good tutorial by Thomas Jung for Flash Islands for WebDynpro ABAP.
    Please provide me similar kind of  links for WebDynpro java.
    Thanks,
    Dhananjaya R E

    Hi All,
    Thanks for your replay, i am using " NW711 CE SP03 MIN " for the development, i followed the bellow link
    /people/anilkumar.vippagunta2/blog/2008/11/13/adobe-flash-islands-in-web-dynpro-for-java
    i did not get the option FlashIsland under (RootElement ->Replace with->) option. i saw in some posts that NW711 CE supports Flash Islands, do i need to add any plugins for that ?
    please help me regarding this.
    Thanks,
    Dhananjaya R E

  • Integrating flex with webdynpro java

    hi,
    iam new bie in webdynpro java.please tell is there possibility of integrating flex in webdynpro java,if so what are the prerequisites for it.

    Hi
    This is possible through Adobe Flash Islands under Mimes folder in your Webdynpro project. You create flex objects in FlexBuilder and generate the .swf files. Then the swf files need to be placed under the Mimes folder of Webdynpro Project from which they can be accessed.
    Follow the link below for details :
    http://wiki.sdn.sap.com/wiki/display/WDJava/WebDynproJava(CE7.1EHP1)andAdobeFlexIntegration-ColumnChart
    http://help.sap.com/saphelp_nw72/helpdata/en/48/825afcf53d3ff6e10000000a42189c/content.htm
    Regards,
    Sayan Ghosh

  • Charts in WebDynpro Java (BusinessGraphics/Flex Islands)

    Hello Experts,
    In our project we are to display complex chart on a WebDynpro page. I did investigate the following solution but non of them could help me:
    BusinessGraphics element: The element works through a Chart Engine. Chart Engine could draw a chart I need, but unfortunately BusinessGraphics element doesn't allow to change XML request to Chart Engine and supports only a half of functionality(FE I couldn't choose Column&Lines chart type). So, we couldn't use BusinessGraphics element to display needed chart.
    AnalyticsChart element: The element use Flex Charting to display a chart and the element provides very small functionality as well and I cannot create needed chart.
    Of cause it's possible to create needed chart in Flex, but I didn't find any way to integrate Flex and Java. Search points me to Flash Island technology, but it seems the technology was released only for WebDynpro ABAP.
    Environment: NetWeaver Server 7.11 EHP1(from SDN); NetWeaver Development Studio 7.1 SP00 PAT0000 (Build id: 200807300233)
    So, let me ask questions:
    Is there any way to modify XML request from BusinessGraphics element to chart engine?
    How can I embed Flex/Flesh application to the WebDynpro page?
    Best Regards,
    Dmitry
    Edited by: Dmitry Eidzin on Oct 22, 2008 10:54 AM

    Hi Dmitry,
    1. As far as I know, there is no way...
    2. some hints regarding Flash Island:
    To integrate flash files into your Web Dynpro application, the Adobe Flash Island UI element can be used. Flash Island is based on Adobe Flex (http://www.adobe.com/flex).
    In Web Dynpro a FlashIsland is set as RootElement and spans an entire view.
    To specify the flash componentu2019s data source, properties and events and to bind them to the relevant Web Dynpro objects, you can insert one or more of the following View elements into the FlashIsland:
    DataSource (GACDataSource)
    Property (GACProperty) into the DataSource.
    Event (GACEvent).
    EventParameter (GACEventParameter) into the Event.
    Itu2019s also possible to insert a Property directly into the FlashIsland, if you want to bind to a context attribute directly under the ContextRoot. You can also refer to hierarchical data structures by inserting DataSources into a DataSource.
    To specify the screen area, where the FlashIsland is to be displayed, insert a ViewContainerUIElement into a view.
    Insert a view, e.g. called FlashView into this ViewContainerUIElement.
    Open the FlashView, select the RootElement in the Outline view and choose FlashIsland from the context menu entry Replace With.
    Select the RootElement and enter the name of your  component to the property swfFile, for example: myFlash.swf. This file has to be stored in the mime repository. The relevant path is: .
    To insert the needed additional elements to the RootElement, select it, open the context menu and choose DataSource.
    To insert a Property, select the DataSource and choose Insert Property from the context menu.
    Hope this helps
    kind regards
    Stefanie

  • Using flash island in ABAP Webdynpro

    Hi,
    I am trying to use Adobe Flash Island.. but when i right click on root element container i dont get option as Swap root element..
    I also tried creating new element with Flash Island option...
    I also cant find library stored in the MIME repository under SAP/PUBLIC/BC/UR/nw7/FlashIslands..
    What configuatin are required to be done for using flash island in WebDynpro ABAP...
    Regards,
    Jigar OZa

    Maybe you use the wrong NW version.
    Check that you use component SAP_ABA with version 701 or 711.

  • About Flash Islands In Web Dynpro Java

    Hi All,
    We developed a sample Web Dynpro Java application with Flash Islands. It executed fine. We used the Flex 2.0.1 Hotfix 3 Compiler. But now we have a requirement to use Flex 3.2 complier. But if we use SWF files in Web Dynpro, comipled with Flex 3.0 complier, It is not rendering the UI components. How can I resolve this problem. In some thread, I saw this problem is resolved in latest patch of CE 7.1 EHP1. Is it?. If so what is that patch and from where I can download this patch?
    Thanks,
    Sampath G

    hi,
    Check out this link. It will give you an idea how to integrate Aobe island comp with web dynpro.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/307b434f-ff32-2b10-e885-991247270480
    Thanx.

  • Adobe Flash Islands + Web Dynpro Java - CE 7.1 EHP1

    Hi All,
             I am currently working on flash islands in web dynpro java(CE 7.1 EHP1  Trail version). i have done some sample projects in Flex Builder and using the complied(Flex Complier 2.0) SWF file, i was able to do data transfer between web dynpro java and Flex component. every thing works fine till this but if i complie the flex project using Flex Complier 3.0, i am able to see the Flex component rendered in web dynpro java, but data transfer dosent work.
    i have checked few thread in SDN and came to know to use WDFlashIsland30.SWC library to complie using FLex Builder 3.0.
    i got this library and complie the Flex Component using Flex Complier 3.0 and placed this WDFlashIsland30.SWC in server also but the problem exists .... the complied Flex Component is getting reddered in web dynpro java but the data transfer is not happening ???
    what could be problem ???
    1.  Is it enough to place the WDIslandLibrary30.swc libraby in CE 7.1 EHP1 version for data communication between Flex and Web Dynpro Java if so what could be the problem ?
    2. Or do i need update the Server ???
    Thanks and Regards,

    HI,
    your issue is completely independent from the server, it's a pure client problem. In general Web Dynpro Java does not care which Flex version you used to compile, as long as you used the right library.
    If you did not change anything else it should work. Are you sure you replaced the used library and changed the source-code-compliance before recompiling?
    Kind Regards,
    Carl Heckmann

  • Tutorials to implement Flash Islands with Web Dynpro Java

    Hi,
    We have downloaded the CE 7.1 EhP1 trial version.
    Any pointers to tutorials to implement Flash Islands with Web Dynpro Java would be helpful.
    Thanks,
    Chitrali

    Hi,
      I read a document which says Adobe Flex Builder is not been included part of shipment of NW. So not lots of documents available. Yet with WDA, some tutorials and blogs are available. Similar application can be developed using WDJ. Please check these.
    WDJ:
    The specified item was not found.
    WDA:
    http://www.adobe.com/devnet/sap/
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10989ef6-968c-2b10-50a9-eb34a5267163
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/emtech/sapRichIslandsforAdobe+Flash
    Regards,
    Harini S

  • Adobe Flash Islands for Web Dynpro Java

    Hi,
    How to create Adobe flash island component.
    How to integrate Adobe flash Island Component into Web Dynpro Java ?
    Regards,
    Krishna Balaji T
    Edited by: krishna balaji on Nov 13, 2008 8:00 AM

    hi,
    Check out this link. It will give you an idea how to integrate Aobe island comp with web dynpro.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/307b434f-ff32-2b10-e885-991247270480
    Thanx.

  • [Integration] Web Dynpro ABAP calling Flex in Popup (without Flash Islands)

    Hi,
    We do not intend to install Enhancement Package 1 in a near future.
    Nevertheless, we do have requirements where Flex should be integrated with Web Dynpro ABAP (Flex components embedded or 'attached' to Web Dynpro ABAP applications).
    I would like to open a popup showing a Flex component. Then, the user validates and the Web DYnpro ABAP application is resumed. All this integrated within EP 7.0.
    What, according to you, would be the most effective combination : 
    - Suspend / Resume plug
    - Server-side cookies
    - iFrame (although it is deprecated)
    Given what I have read so far, it seems encapsulating the .swf within a BSP application would be the best shot. Could it be possible to get rid of this 'additional layer' ?
    Thanks in advance.
    Best regards,
    Guillaume

    Web Dynpro ABAP
    Define a suspend and a resume plug.
    BSP
    Retrieve the parameters sent by WDA either by AUTO attributes or the following code
    CONSTANTS: c_resume_name          TYPE string  VALUE `sap-wd-resumeurl`.
    DATA: lt_tihttpnvp                TYPE tihttpnvp.
    FIELD-SYMBOLS: <fs_httpnvp>       LIKE LINE OF lt_tihttpnvp,
                   <fs_dept_magasin>  LIKE LINE OF t_dept_magasins.
    ** Lecture des paramètres envoyés (par le WD ABAP)
    CALL METHOD request->get_form_fields
      CHANGING
        fields = lt_tihttpnvp.
    READ TABLE lt_tihttpnvp ASSIGNING <fs_httpnvp> WITH KEY name = c_resume_name.
    IF sy-subrc = 0.
      e_url = <fs_httpnvp>-value.
    ENDIF.
    Flex
    To return to the Web DYnpro ABAP, call a Javascript function within the BSP using this kind of code :
    jsReturn = ExternalInterface.call("sendBackToSAP", selectedDepartmentsParam, orderParam);
    BSP
    First, to react to the user action in the Flex component, define a Javascript function in the
          function sendBackToSAP(departements, ordre) {
             fireServerEvent(departements, ordre);
             return("Done");
    To fire a server-event (in order for BSP to call the WDA resume plug), I use this declaration :
    <!--  Event used by the Javascript to trigger OnInputProcessing so as to create
                  the server-side cookie -->
           <bsp:htmlbEvent name= "fireServerEvent"
                           id  = "flexAction"
                           p1  = "departements"
                           p2  = "ordre"></bsp:htmlbEvent>
    Last, I simply call the URL that the WDA gives me first :
    navigation->goto_page( e_url ).
    If people are interested in a more detailed presentation, feel free to reply to this post, and I will write a blog about this. Nevertheless, it should become pretty obsolete with the Flash Islands release... 
    Edited by: Guillaume Garcia on Oct 11, 2008 11:13 AM

  • Xcelsius adapter file for Flash Islands - where is it?

    Can't find this broker file needed to communicate Xcelsius with Flash Islands ifor WDA.  According to the book 'Next Generation ABAP Development' this file should be avaiable, does anyone have a link to it or know where I can find it?

    Hey Thomas,
    We are on 7.01:
    SAP_BS_FND  701  0005  SAPK-70105INSAPBSFND  SAP Business Suite Foundation
    Is there any other way (support pkg?) to get this adapter file?  Not sure if our system will be getting an upgrade soon.

  • OCI Punchout Catalog integration in Webdynpro for Java

    Hi,
    I am planning to call a external vendor catalog (OCI) from my webdynpro application and consume the values, Can some one help me on how to achieve this ? I am not using SRM. I need to pass the value to ERP system
    Thank,
    Vinit Pugaliya

    Hi Vinit
    We're in the exact same situation today. Did you ever solve it? We're able to call the external catalog via OCI and would like to import the http post response containing the catalog items back into our own webdynpro java app. Would be great if you could share your solution.
    BTW: we're not using and do not plan to use SRM
    Thanks and best regards
    Renaud

Maybe you are looking for

  • SharePoint 2013 public facing site - need to mask url in search results

    Hi, we have sp2013 public facing site. Can we mask the display url in search results? Actually we are pointing two urls(ex: A & B) to same web application. Search results are already crawled based on A URL, so when people search in  browsing 'B' URL

  • How do I set up AppleTV to share play iTunes libraries from the same Mac

    I have a Mac Pro (2008), running Lion (10.7.3), Airport Extreme running 7.6.1 and a 2nd gen AppleTV running 4.2.1. On the Mac Pro, I have 3 user accounts (User1, User2 and User3), each with their own iTunes libraries. I have enabled Home Sharing on e

  • Moving to an external drive.

    I'm wanting to clear out some room on my internal drive and want to move all of my itunes media to an external hard disk. What is going to be the easiest way to do this without alot of headaches. This is probolly a really easy change, but im a new co

  • Embarrassed to ask

    I'm a little embarrassed to ask these questions but here goes. I would like to use a quicktime movie on my site but I don't know how many people actually have the plug in (I've ruled out flash for now). 1. Is it possible to have a pic in place of the

  • 5.1 audio connection

    I am a new iMac user. I am now trying to connect my old 5.1 Creative T5900 speaker system (the one I used on my PC audio cart).  What hardware/software interface do I use best to connect the three jacks (rear, aft and subwoofer) to my 27" iMac?  Does