Communicate between a pageframent and region components

Friends,
I have a usecase as below
I have two page fragments let's say page1.jsff and page2.jsff , page2.jsff is bounded to taskflow, I have dragged the page2 taskflow as a region on to page2.jsff.
I have a button in page2. jsff , and when I click on this button, I want to access the few of the components available in page1.jsff in page2.jsff associated backing bean.
How can I access the page1 components in page2 backing bean ?
Thanks in advance

Hi,
the correct option to interact between regions or a region and the parent page is to use contextual events: http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/web_adv.htm#CACJBFGI.
You can also use a managed bean in session scope, but this creates a dependency between the regions, which means they will no longer be reusable (which in some cases is not required anyway)
Frank

Similar Messages

  • Any standard RFC there to communicate between satellite system and Solman?

    Hi Gurus,
                        Any standard RFC there to communicate between satellite system and Solman?
                   Thanks in advance.
    Regs,
    BBR.

    following four RFCs are created so as to initiate the communication between the satellite system and the solman system
    _READ, _TRUSTED, _BACK, _TMW
    but, you have to Read the Links and the Notes too to understand their names and their meaning
    http://help.sap.com/saphelp_sm310/helpdata/en/48/647e3ddf01910fe10000000a114084/content.htm
    http://help.sap.com/saphelp_sm310/helpdata/en/b3/dd773dd1210968e10000000a114084/frameset.htm
    http://www.slideshare.net/wlacaze/sap-solman-instguide-initial-customizing-presentation

  • Binding issue between POJO properties and JavaFX components

    Currently, what I want to do is use bidirectionnal binding between POJO properties and JavaFX components.
    For example, if the property is a String, a Textfield will be generated and binded with it.
    My POJOs are generated by JAXB.
    To do that, I proceeded as followed :
    In order to make the binding works I changed the default generation of JAXB
    I created a factory which takes a class instance at input and return a Map containing the POJO properties as key and the JavaFX components as value
    I displayed this map in a JFXPanel
    Here is a sample of the factory  :
    public static Map<Field, Node> createComponents(Object obj) throws NoSuchMethodException
               Map<Field, Node> map = new LinkedHashMap<Field, Node>();
               for (final Field field : obj.getClass().getDeclaredFields())
                   @SuppressWarnings("rawtypes")
                   Class fieldType = field.getType();
                   if (fieldType.equals(boolean.class) || (fieldType.equals(Boolean.class))) //Boolean
                       map.put(field, createBool(obj, field));
                   else if (fieldType.equals(int.class) || (fieldType.equals(Integer.class))) //Integer
                      map.put(field, createInt(obj, field));
                   else if (fieldType.equals(BigInteger.class)) //BigInteger
                      map.put(field, createBigInt(obj, field));
                   else if (fieldType.equals(long.class) || fieldType.equals(Long.class)) //Long
                      map.put(field, createLong(obj, field));
                   else if (fieldType.equals(String.class)) //String
                      map.put(field, createString(obj, field));
               return map;  
    public static Node createBool(Object obj, final Field field) throws NoSuchMethodException
       System.out.println(field.getType().getSimpleName() + " spotted");
       JavaBeanBooleanProperty boolProperty = JavaBeanBooleanPropertyBuilder.create().bean(obj).name(field.getName()).build();
      boolProperty.addListener(new ChangeListener<Boolean>() {
       @Override
       public void changed(ObservableValue<? extends Boolean> arg0, Boolean arg1, Boolean arg2)
      prettyPrinter(field, arg1, arg2);
       CheckBox cb = new CheckBox();
      cb.setText(" : " + field.getName());
      cb.selectedProperty().bindBidirectional(boolProperty);
       return cb;}
    So, the problem I have is : Sometimes the binding will work and sometimes it won't. For example, the binding is working unless I changed the declaration property order in the POJO, or unless I resized the panel where components are displayed.
    Does anybody have an idea of what I am doing wrong ?
    Thanks,
    Bastien

    You may like to look at the PropertySheet from ControlsFX.
    Not sure if it does what you want, but the concept appears similar.

  • RS 232 port to communicate between cFP 2100 and Multiple cFP 1808

    Hello All,
    I am using one cFP-2100 (controller) and two cFP-1808 (network contoller) for a project.
    All the three devices have Ethernet port, so i can connect to a network switch for communicating with the Host PC.
    My question is:
    All the three devices have Serial Ports (RS 232) too, Can i use those ports to communicate between the three devices (1 controller and 2 Net. controllers) and use the ethernet port in the controller (2100) only for communicating with a Host PC?
    If this is possible, how to do the RS 232 cabling ?
    Regards
    John

    Hi bjsprem,
    You can connect network modules to the controller with serial.   This KB shows how to do this.  Hope this helps!
    --Starla T. 

  • How to get MDM communicate between Razr HD and computer

    I hooked up my new Droid Razr HD running 4.1.2 to my computer running W7 Enterprise and it registered as a CD drive E: containing 32 MB and no free space, containing the MDM drivers, setup, and autorun files.  I got the popup asking to install the MDM, and clicked on that, and closed all other running applications.  Seemed to install, but the drive listings in Explorer did not change to show a mass storage drive.  Phone does have Settings-USB Storage-MTP checked.  I uninstalled MDM, went to the Motorola website and downloaded the latest version of MDM.  Installed, same result.  Tried running Microsoft FixIt to see if there was a registry problem, so CD E: MDM was taken out of the listings in Explorer.  Reinstalled MDM from the Motorola website.  Same result, except now if I click on MDM setup in Explorer, nothing happens.  I want to transfer files from my computer - pictures, mp3's, files, etc - from my former Blackberry that were saved to my computer. 

    You could try Blue Tooth. That's how I prefer to transfer files between my laptop and Razr.

  • Passing VARs between MXML Application and MXML components!

    Hi,
    I'm trying to pass a variable between the MXML Application and the MXML Component with ValueObjects.
    But when i call the variable on the MXML Component it is null!
    ValueObject Class Code:
    package valueObjects
        [Bindable]   
        public class MyGlobalVars
            public var NomeGaleria: String;
            public function MyGlobalVars()
    MXML Application Code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"  xmlns:comp="components.*" layout="vertical" height="100%" width="100%" >
    <mx:Script>
        <![CDATA[
            import valueObjects.MyGlobalVars;
            import mx.managers.PopUpManager;
            import mx.core.Container;
            [Bindable]
            public var nomeGaleria:MyGlobalVars;
            private function AbreGaleria():void{
                  nomeGaleria=new MyGlobalVars();
                nomeGaleria.NomeGaleria = "Moda";
                PopUpManager.addPopUp(new galeriaImagens(),this,true);
        ]]>
    </mx:Script>
    <mx:Panel height="673" width="839" verticalAlign="middle" borderStyle="none" layout="absolute">
        <mx:Canvas id="SMGaleria" width="815" height="30" x="2" y="98"">
            <mx:LinkButton x="474" y="5" label="moda" click="AbreGaleria()"/>   
         </mx:Canvas>
        <mx:ViewStack id="content" height="440" width="815" borderStyle="none" x="2" y="128">
            <comp:galeriaImagens id="GaleriaImagens" x="0" y="5" strGaleria="{nomeGaleria}"/>
        </mx:ViewStack>
    </mx:Panel>
    </mx:Application>
    MXML Component Code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:TitleWindow  xmlns:mx="http://www.adobe.com/2006/mxml"
        showCloseButton="true" creationComplete="CenterMe()" backgroundColor="#000000" xmlns:components="components.*" >
    <mx:Script>
        <![CDATA[
            import valueObjects.MyGlobalVars;
            import mx.controls.Alert;
            [Bindable]
            public var strGaleria:String;
            private function CenterMe(): void{
                 Alert.show(strGaleria);
        ]]>
    </mx:Script>
    </mx:TitleWindow>
    On the MXML component the value of strGaleria is null! It would not have to be: Moda??

    You may need to change your code as follows:
    <comp:galeriaImagens id="GaleriaImagens" x="0" y="5" strGaleria="{nomeGaleria.NomeGaleria}"/>
    Previously you had set strGaleria to the value of the object, not the string within the object.
    But I think you will still have a problem because function AbreGaleria will not be called until the user clicks the link button, and only then will NomeGaleria have a value, so I would set a default value as follows, otherwise at app launch it will be null:
    public var NomeGaleria: String = "";
    or  if that does not work
    public var NomeGaleria: String = " ";
    Another possible problem is that you are calling this code at the component creationComplete, but the LinkButton has not been clicked yet, so the value object string value has not been set, so the alert will not display anything:
    private function CenterMe():void{
        Alert.show(strGaleria);
    I think you need to reorganize some things here.
    If this post answers your question or helps, please mark it as such.

  • A problem that how to communicate between PLC S7-300 and IA Server

    The PC running the OPC server is connected to PLC S7-300 via the RS232 serial port and the Siemens RS232-MPI adapter (product no. 6ES7972-0CA23-0XA0).
    But I encounter such problem when I create an object(S7_HMI)in IA Server:
    Step 1:
    links:http://www.simwe.com/forum/upload/2005/04/30/87472755.jpg
    Error message:
    Protocol error:Unexpected response from PLC
    links:http://www.simwe.com/forum/upload/2005/04/30/48471774.jpg
    When I communicate between S7-300 and PC by LOOKOUT 5.1,it works well.
    Could someone give me help? Thanks a lot.帖子被qzxin在05-08-2005 04:54 AM时编辑过了
    帖子被qzxin在05-08-2005 04:56 AM时编辑过了

    First of all, Thank You very much for Your answer.
    I'm using the TS Adapter that make the conversion from MPI to the serial bus.
    I have made yet control panels to supervisor systems with Omron PLCs and I correctly use the DataSocket with the DSC module: with Omron PLCs I've never had any problems of communications. The problems is now with Siemens. For the communication between control panel and PLC I have to use the internal modem of my computer and the OPC is S7_MPI of IA opc Server.I wondering if this OPC is ok for modem communications (inside there is a form to insert the phone number of the remote station) or if every kind of modem are compatible with S7-300 modem it has inside.I've noted that my computer modem don't do the phone number when i run the front panel!In running mode, if I take a look to the Block Diagram and I click the "Highlight Execution" button I don't see any animation on the code generated by the HMI Wizard to connect the only one tag to the DataSocket URL.
    Have You any other suggestions to solve the problem?
    Massimo Lazari

  • Can NI-PSP be used to communicate between machines developed with different versions of LabVIEW?

    Hi all,
    A customer has a large PC application developed with LabVIEW 2010 SP1.
    They would like to add extend their system with a cRIO-9075. According to this document (ftp://ftp.ni.com/pub/devzone/tut/crio_software_versions.htm ), the minimum supported version of LabVIEW (with Scan Engine support) is LV 2011.
    To minimize risks, it is preferred that we don't upgrade LabVIEW for the main application, which is atively being used in production.
    I was thinking of developing the cRIO software in a newer version of LabVIEW (say, LV 2013 SP1), and using shared variables only to communicate between the PC and the cRIO.
    Is this a viable option? Does it matter if the PC and the cRIO have different versions of the LV runtime?

    It shouldn't matter, but then with shared variables you can never know for sure -- there are so many things that can make them break.
    You might be money ahead to write the comm using TCP/IP. You know that will work.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Communicating between the parent and child windows in Struts

    Hey,
    I would like to know what is the best way to communicate between the child and parent windows on a struts based web application. For example i have a struts based jsp page. I call a child window from this page. On the child window i select few values and they have to be shown on the parent. What is the best way to achieve this in struts.
    Thanks
    in advance.
    KM

    The only way to do this without Javascript is to have the child window have a form and the form has a target defined as the name of the parent window (how to name it without using frames or having it open from another window, I'm not sure), and when you submit the form, it'll submit to the parent window/frame and you can process that form on the server and return the same parent page with the selected values.
    Otherwise, you need Javascript to set form values to "window.opener" from the child window.
    Either way, it's not really a Struts thing, technically.

  • Connection between IS-Oil and IS-Banking

    i need some help on what to do to communicate between IS-Oil and IS-Banking. my data is in is-oil and i need it to do a transaction in is-banking if i can use rfc what set up do i need to do to make it work or there are others that i can do. i appreciate your help thanks in advance.

    You can have the communication between the two systems either by using RFC's or IDOC's. For both, you will have to create a RFC destination in SM59 transaction, usually done by the BASIS consultants.
    Once that is done you call a remote enabled function from the other system, while specifying the destination of the function, which is the name of the RFC dest, that you created in SM59.
    For IDOC scenarios, take a look at this blog.
    /people/kevin.wilson2/blog/2006/11/13/ale-scenario-development-guide
    Regards,
    Ravi
    Note : Please mark all the helpful answers

  • Postal Code and Region relationship in AR customer

    Hi,
    Is there a table that maintain the relationship between Postal Code and Region?
    If User keyed in the postal code, it would be able to identify the region.
    Is there a place to configure it in SPRO?
    Thanks
    Bye

    Hi,
    As it was suggested in different threads, you may think to continue updating the address with the BAPI_ADDRESS** and right after the commit, simply trigger XD02 transaction in batchinput + ensuring that ZAV_FLAG is checked in the initial screen then save. This would re-synchronise the master data with the address.
    An alternative in one step would be to trigger class CMD_EI_API directly with one of the MAITAIN methods.
    Additionallly, SD_CUSTOMER_MAINTAIN_ALL is used in standard during the maintenance of a consumer using the standard customer master data transaction XD01 & XD02.
    It is not intended to be used out of the transaction and in no case it should be used out of its original context. Due to the specificity of the function module, out of the original context we may face limitations and data inconsistencies.
    This is precisely what you face in your case.
    For the maintenance of customers, there is NO BAPI and NO direct function module.
    There are some functions modules like the one above where the name is looking nice. But these should not be used.
    Below ECC 2005 (6.00), the only solution was batch input and DEBMAS idocs. See note 384462
    Starting with ECC 2005 (6.00) and above: a synchronisation tool has been introduce. See class CMD_EI_API and VMD_EI_API
    Hope this helps
    BR
    Alain

  • E4200 - Problem communicate between 2.4 & 5ghz devices

    Hi,
    i have E4200 smart wifi and this is updated to latest firmware.
    i connect satellite reciever to 2.4ghz network and connect computer by linksys AE1000 to 5ghz network ... but in this case can't communicate between computer & satellite reciever .
    also i ping satellite reciever ip address from computer but not pinged ...
    but if i connect both satellite reciever & computer to 2.4ghz network problem resolved & both device communicate between other ...
    how can communicate between 2.4ghz and 5ghz network devices connected to E4200 smart wifi ...?
    sorry for bad english.........
    THX.

    This shouldn’t be an issue. Upgrade the router’s firmware to the latest. Reset the router to factory defaults and reconfigure the router after the upgrade process.

  • Driver to communicate between LabVIEW and Omron CJ1G PLC

    I am trying to communicate between my Omron PLC (Model CJ1G) and LabVIEW.  I want to be able to read specific registers and be able to display and save the data in LabVIEW.
    I have the "Idustrial Automation Servers for OPC" CD but my PLC model no. doesn't appear under the Omron options.
    What other options do I have?
    Thanks, in advance,
    Felipe

    Hi Felipe:
    I checked in our PLC compatibility database and the only Omrom PLCs that are supported are the following: C20, C200, C500, C1000, C2000, CQM, and CPM1.
    The PLCs that are suppored in the IA OPC server is based on the driver dll that was supplied to us by Omron. When newer PLCs are released, they are not included in this dll and are thus not supported. You might want to contact Omron to see which OPC Server supports that PLC. You should be able to use any 3rd party OPC Server to work with DSC which will then be the OPC Client.
    Hope this helps.
    Best Regards,
    Jaideep

  • Can't communicate between JS and ExtendScript

    I tried this: (according to the docs it should work)
    In JS
    var csInterface = new CSInterface();
    csInterface.evalScript('$.test()', function(r){console.log(r)})
    In JSX
    $.test = function() {
                       alert("test");
                        return 65656;
    I'm seeing the alert, but the logged statement is empty. Anyone know how to communicate between the two?

    I tried a few ways but the only way I could do it properly was pretty involved:
    1) Use Socket.io to communicate between generator and extension
    2) When you want to raise an "event" from JSX, update generator settings, use a unique id for your event
    3) Parse the event in generator
    4) Emit the event from generator to extension.

  • There is a difference between the document total and its components

    Hi!
    I have an error message "There is a difference between the document total and its components" when I want to create an InventoryGenEntry
    the problem arises from time to time and my customer must do the document two or three times before it is created.
    I have seen in this forum and in notes that this is probably being caused by a Rounding.
    I am using 2 digits for amounts, 4 digits for prices, 6 digits for rates and 3 digits for quantities.
    For information my customer use SAP 2005 and the patch level 46.
    This problem happened only in InventoryGenEntry. how can I modifiy parameters to resolve this problem?
    thank you for your help.
    Best Regards
    Séverine

    Hi Séverine,
    Do you find any additional code added to SBO_SP_Transaction stored procedure. A similar issue with stock transfer fixed in later patch. Please test in latest patch.
    Regards,
    Vijay kumar
    SAP Business One Forums Team

Maybe you are looking for

  • How do I put my iTunes library on multiple computers?

    I got a laptop and I want to put my iTunes library on it, but it won't let me no matter what I try.

  • Problem Regarding menu attachemnt in Forms 6i

    hi I am saving my application in database i.e.all fmb and rdf files are stored in database. But my menu file is not getting attached with my form application. It give me error "FRM-10249 No authorization to run application menu_name.mmx" Please help

  • Adobe Dynamic Link will not work - Premiere Pro CS4 to After Effects CS4

    Hello,    I am edited a video with a deadline, I'm importing a sequence from Premiere Pro CS4 to After Effects and making edits in After Effects. I'm able to import the Premiere Pro sequence into After Effects using Dynamic Link, but  I go back to Pr

  • MCX not updating?

    To give you a quick background of my OD environment, this is what we have set up: -1 ODM, with 5 ODRs at 5 different buildings, with 10 tier 2 replicas, 2 at each building -6,000 macbook clients (1:1 school deployment) -OS X Server 10.5.4 and OS X cl

  • Sourcing Indicator incorrectly set

    Hi All, I have a strange situation where the sourcing indicator is being set for all shopping cart items even though a Purchase Order has been created. It seems that when BBP_GET_STATUS_2 the sorucing indicator is being set regardless of any conditio