How to implement concurrent nested Dialogs with BC4J and JClient

Hello,
we are evaluating BC4J/JClient. In our application we have a navigation tree
in a Java client from which we can call nested dialogs to set attributes,
call business logic etc.
Is it possible to open more than one sub-dialog from our starting navigation tree
at the same time? Each sub-dialog should have its own transaction context.
To our knowledge we need a new application module for each sub-dialog in order
to start a new transaction. But how is the navigation tree updated if data
from the sub-dialogs is commited? The dialogs and the navigation tree don't share
the same model, do they? The navigation tree might have to show lots of data
retrieved over a slow connection, so simply updating the entire model is not a solution.
This could work if an intelligent caching fetches only the changed data.
So: What is the best way to implement sub-dialogs with their own transaction plus an
update mechanism?
Thanks for any help!

Hello,
we are evaluating BC4J/JClient. In our application we have a navigation tree
in a Java client from which we can call nested dialogs to set attributes,
call business logic etc.
Is it possible to open more than one sub-dialog from our starting navigation tree
at the same time? Each sub-dialog should have its own transaction context.
To our knowledge we need a new application module for each sub-dialog in order
to start a new transaction. But how is the navigation tree updated if data
from the sub-dialogs is commited? The dialogs and the navigation tree don't share
the same model, do they? The navigation tree might have to show lots of data
retrieved over a slow connection, so simply updating the entire model is not a solution.
This could work if an intelligent caching fetches only the changed data.
So: What is the best way to implement sub-dialogs with their own transaction plus an
update mechanism?To create a UI like this, see the sample on OTN at
http://otn.oracle.com/sample_code/products/jdev/jclient/jclient_binding_demo.html
YOu'd have to tweak this sample so that each sub-window comes up with it's own AM (as you've right suggested).
Regarding commit, yes, if you do not want to query the whole model on the navigator, you may use Transaction.commitAndSync() method to commit changes instead of simply performing a commit() call.
See javadoc on this method for details on how it works.
Thanks for any help!

Similar Messages

  • Demo applications with BC4J and JClient

    Are there any demo applications with BC4J and JClient, which go beyond the one frame samples, tutorials and how to's?
    This would deliver a better insight to develop a complete application.
    Bye
    Holger

    Thanks,
    the Virtual Shopping Mall sample is quite not I have searched for, because it is primarily an Web application and I am searching for an JClient application without Application Server, but it is a beginning.
    Bye
    Holger

  • Please help!! How to implement a company directory with OSX and exchange?

    We just have our exchange setup correctly with our Snow Leopard clients. Everything is working perfect, email, calendar. The only problem is despite the OSX's Address Book being integrated, there is no possible way to view everyone in the company. In the online web outlook, one can access the "global address list".
    How do we setup a company list in OSX's address book?

    I would suggest prototyping it, and gaining some experience. Each installation I've done has been different, and with different requirements.
    You can get a list from LDAP, but you have to search for it, and you'll get the matching subset. It's not what an Outlook user would be accustomed to. An Outlook user would think the non-LDAP display from Address Book would be familiar. Unfortunately, AB doesn't provide write-sharing by default, and while enabling write sharing is feasible, there's a recent post from somebody that's discussed this with Apple support indicating that Apple has stated that corruptions are possible with that path.
    Mac OS X Server is not a drop-in replacement for an Exchange server. Not by default. And Mac OS X Server is also lacking a direct analog to Sharepoint, FWIW; you can add that and implement parts of Sharepoint, but not all of what that product provides.
    Kerio might be an option for Mail and LDAP and related, but at extra cost. Kerio also gets you push notifications to Apple devices, and some folks need that feature of Exchange.

  • How to implement list of values with bind parameters

    Hi All,
    Please give me details about how to implement list of values with bind parameters.
    I have implemented with below things.
    1) created lov view object with query like select meaning, lookup_code from fnd_lookup_values where lookup_type=:1;
    2) The above vo added to applicationa module.
    3) created Controller class in the co class written code in processRequest();
    String vLookupType=pageContext.getParameter("LookupType");
    Serializable params={vLookupType};
    am.invokemethod("Initialize",params);
    4) In AM Impl Class invoke the VO
    5) In VO Impl class executed the query..
    But the above process working fine but when i give the value in lov text field like 'C' then press tab button the result will not showing instead of that i am getting error message, i want to implement standard lov functionality while implementing query with bind parameter.
    any thing reqired to add the code to controller for search criteria..
    Thanks
    Mateti

    Hi
    i am getting error as
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT meaning, lookup_code,lookup_type
    FROM fnd_lookup_values
    WHERE view_application_id = 200) QRSLT WHERE (lookup_type=:1 AND ( UPPER(MEANING) like :2 AND (MEANING like :3 OR MEANING like :4 OR MEANING like :5 OR MEANING like :6)))
    Thanks
    Mateti

  • [URGENT] Performance problem with BC4J and partioned data

    Hi all,
    I have a big performance probelm with BC4J and partitioned data. As as partitioned table shouldn't have a primary key like a sequence (or something else) my partitioned table doesn't have any primary key.
    When I debug my BC4J application I can see a message showing me "ignoring row with no primary key" from EntityCache. It takes a long time to retrieve my data even if I use the partition keys. A quick & dirty forms application was multiple times faster!
    Is this a bug in BC4J, or is BC4J not suitable for partitioned data? Can anyone give me a hint what to do, do make the BC4J application fast even with partitioned data? In a non-partitioned environment the application works quite well. So it seams that it must be an "error" somewhere in this part.
    Thanks,
    Axel

    Here's a SQL statement that creates the table.
    CREATE TABLE SEARCH
    (SEAR_PARTKEY_DAY              NUMBER(4)        NOT NULL
    ,SEAR_PARTKEY_EMP            VARCHAR2(2)      NOT NULL
    ,SEAR_ID                     NUMBER(20)       NOT NULL
    ,SEAR_ENTRY_DATE             TIMESTAMP        NOT NULL
    ,SEAR_LAST_MODIFIED            TIMESTAMP             NOT NULL
    ,SEAR_STATUS                 VARCHAR2(100)    DEFAULT '0'
    ,SEAR_ITC_DATE               TIMESTAMP        NOT NULL
    ,SEAR_MESSAGE_CLASS          VARCHAR2(15)     NOT NULL
    ,SEAR_CHIPHERING_TYPE        VARCHAR2(256)   
    ,SEAR_GMAT                   VARCHAR2(1)      DEFAULT 'U'
    ,SEAR_NATIONALITY            VARCHAR2(3)      DEFAULT 'XXX'
    ,SEAR_MESSAGE_ID             VARCHAR2(32)     NOT NULL
    ,SEAR_COMMENT                VARCHAR2(256)    NOT NULL
    ,SEAR_NUMBER_OF              NUMBER(3)        NOT NULL
    ,SEAR_INTERCEPTION_SYSTEM    VARCHAR2(40)    
    ,SEAR_COMM_PRIOD_H           NUMBER(5)        DEFAULT -1
    ,SEAR_PRIOD_R                  NUMBER(5)        DEFAULT -1
    ,SEAR_INMARSAT_CES           VARCHAR2(40)    
    ,SEAR_BEAM                   VARCHAR2(10)    
    ,SEAR_DIALED_NUMBER          VARCHAR2(70)    
    ,SEAR_TRANSMIT_NUMBER        VARCHAR2(70)    
    ,SEAR_CALLED_NUMBER          VARCHAR2(40)    
    ,SEAR_CALLER_NUMBER          VARCHAR2(40)    
    ,SEAR_MATERIAL_TYPE          VARCHAR2(3)      NOT NULL
    ,SEAR_SOURCE                 VARCHAR2(10)    
    ,SEAR_MAPPING                VARCHAR2(100)    DEFAULT '__REST'
    ,SEAR_DETAIL_MAPPING         VARCHAR2(100)
    ,SEAR_PRIORITY               NUMBER(3)        DEFAULT 255
    ,SEAR_LANGUAGE               VARCHAR2(5)      DEFAULT 'XXX'
    ,SEAR_TRANSMISSION_TYPE      VARCHAR2(40)    
    ,SEAR_INMARSAT_STD           VARCHAR2(1)     
    ,SEAR_FILE_NAME              VARCHAR2(100)    NOT NULL
    PARTITION BY RANGE (SEAR_PARTKEY_DAY, SEAR_PARTKEY_EMP)
      PARTITION SEARCH_MAX VALUES LESS THAN (MAXVALUE, MAXVALUE) MIRA4_SEARCH_EVEN
    );of course SEAR_ID is filled by a sequence but the field is not the primary key as it would decrease the performance of partitioned data.
    We moved to native JDBC with our application and the performance is like we never expected to be!

  • How to create a transport request with query and only with its structure.

    HI guru,
                how to create a transport request with query and only with its structure.transport request should not  include any other query items like ( variables, conditions...etc)
    thanks in advance.
    venkata

    Hi,
    Goto RSA1 and then Transport Connection -> In SAP Transports select Object Types-> Query Elements -> Then select Query->Give Technical name of the query and then select for transfer. In the right side you can choose the components which you wanted to transport.
    Regards,
    anil

  • Don't know how to sync music on mac with iphone and ipod

    don't know how to sync music on mac with iphone and ipod
    need to also know how to recover original library of ipod as it seems as though
    it has now sync'ed with iphone & lost all my music

    Start HERE

  • How do you deal Iphone 5 with LTE  and at&t

    how do you deal Iphone 5 with LTE  and at&t

    I can make no sense of your message.

  • Implementing People-Centric UI with BSP and SAP EP Cookbook

    Here's the URL to access "Implementing People-Centric UI with BSP and SAP EP Cookbook."
    https://websmp203.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000583719&
    --KAL

    Hello KAL,
    I think that you have more access rights to Service Market Place. I as a Customer Employee only see a link to the People-Centric CRM - SAP Help Portal and a Overview Presentation People-Centric CRM. Are you at a SAP Partner?
    Regards
    Gregor

  • How to implement the schema validation with XSD in adapter module

    Dear All,
    I am trying to develop a EJB as the file adapter mudule.
    Please guide me how to implement the schema validation of the source message with XSD.
    Or provide me the relative resources about this task.
    Thanks & Regards,
    Red
    Edited by: Grace Chien on Nov 19, 2008 8:23 AM

    Hi Grace,
    You can do the xml scema validation in PI7.1 version directly.
    To develop the adapter module for xml schema validation
    Validating messages in XI using XML Schema
    Schema Validation of Incoming Message
    Regards
    Goli Sridhar

  • How to implement a forms application with an application server

    Hi,
    I want to implement a forms application with OAS version 10.1.0.
    How to configure? Where can I find some documents?
    Max

    See
    http://www.oracle.com/technology/documentation/appserver.html
    and
    http://www.oracle.com/technology/products/forms/index.html

  • How to implement SSL for Portal with ADS (for Adobe besed MSS Application)

    Hi Experts,
    What is the Minimum setting is required to implement the SSL for Portal with ADS.
    Http is working fine with Portal with ADS and R/3 for Adobe Based MSS Form.
    Please let me know.
    Regards
    Ali

    Rajat,
    Nice to see your reply...
    Could you please write me the steps how to do that.
    I would like to implement SSL only in portal. So is that mandatory to implement the SSL in ADS and R/3 too.
    Please what are the minimum setting is required.
    Sure points will be rewarded
    Regards
    Ali

  • How to implement Multiple Roadmap step with in a roadMap

    Hi,
    I am trying to implement Multiple roadmap step with in a roadMap.Can any one help me on this how to do it.
    As of now i have added Multiple roadmap step element with in my Road map navigation and assign a data source which contains single attribute steps. I am stuck here open question like
    1) How i map the view accordingly with the steps that are dynamically created
    2) Weather i have to create dynamic plugs? to handle it
    Can any one help me out or if you have any sample implementation please guide me through that link.
    Thanks in advance.
    Regards,
    Karthikeyan R

    Hi,
    1. In the View add a RoadMapUI element.
    2. Right click->Insert Steps (as many as required)
    3. Set the design property of the Roadmap step as standard / selected (Highlighted if set to "Selected")
    This is for a static approach i.e if there are 3 views, then in all the three views u repeat the procedure above and set the property as Selected for the required step.
    For dynamic selection of roadmap, bind the design property to context attribute of type WDRoadMapDesign and set the property thru code.
    Hope this helps you.
    Regards,
    Poojith MV

  • How do I use nested Label with nested Switch in Powershell?

    Hi,
    I am trying to run the script with Label and Switch in Menu format so that the main module calls the submodule and ends in the submodule. The submodule should be able to call another module.
    Please correct the script, as I think I am going wrong
    Do { Write-Host " ----------MENU A----------
    1 = option 1
    2 = Option 2
    3 = Option 3
    $choice1 = read-host -prompt "Select number & press enter" }
    until ($choice1 -eq "1" -or $choice1 -eq "2" -or $choice1 -eq "3")
    Switch ($choice1)
        { "1" break :module1
          "2" break :module2
          "3" break :module3
    module1
        Do { Write-Host " ----------MENU B----------
        1 = option 1
        2 = Option 2
        $choice2 = read-host -prompt "Select number & press enter" }
        until ($choice2 -eq "1" -or $choice2 -eq "2")
        Switch ($choice2)
        { write "Module 2"
          "1" break :module2
          "2" break :module3
    module2
        Do { Write-Host " ----------MENU C----------
        1 = option 1
        $choice3 = read-host -prompt "Select number & press enter" }
        until ($choice3 -eq "1")
        Switch ($choice3)
        { write "Module 3"
          "1" break :module2
    Tirtha Chandan Tripathy

    Hi Tirtha,
    What you want to do in PowerShell is separate elements of logic trees into individual functions. I rewrote your script attempt somewhat to show you how to do this:
    function Show-MenuMain
    Do
    Write-Host @"
    ----------MENU A----------
    1 = option 1
    2 = Option 2
    3 = Option 3
    $Choice = read-host -prompt "Select number & press enter"
    until ($Choice -eq "1" -or $Choice -eq "2" -or $Choice -eq "3")
    Switch ($Choice)
    "1" { Show-MenuModule1 }
    "2" { Show-MenuModule2 }
    "3" { Show-MenuModule3 }
    function Show-MenuModule1
    Do
    Write-Host @"
    ----------MENU B----------
    1 = option 1
    2 = Option 2
    $Choice = read-host -prompt "Select number & press enter"
    until ($Choice -eq "1" -or $Choice -eq "2")
    Switch ($Choice)
    "1" { Show-MenuModule2 }
    "2" { Show-MenuModule3 }
    function Show-MenuModule2
    Do
    Write-Host @"
    ----------MENU C----------
    1 = option 1
    $Choice = read-host -prompt "Select number & press enter"
    until ($Choice -eq "1")
    Switch ($Choice)
    "1" { Show-MenuModule1 }
    Show-MenuMain
    I know, this really only prepares the path to a host of new questions, more than answering your current ones, but it gives you something to work with and build upon.
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • How to implement copy paste functionality with IE

    Hi Experts,
    I am working on jdev 11.1.1.6.0, I have requirement to implement copy & paste functionality with IE Browser in ADF table. I have followed below link to implement the functionality.
    http://one-size-doesnt-fit-all.blogspot.com/2011/04/aftable-restoring-basic-browser-copy.html
    But copy&functionality is working fine, but when table loading I lost vertical/horizontal scroll bar. Can any one suggest me what is wrong here/what i am missing here.
    My logic:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:c="http://java.sun.com/jsp/jstl/core"
              xmlns:sni="/SNIDeclarativeComponentLib">
      <c:set var="tumuiBundle" value="#{adfBundle['sni.tum.view.TestUIBundle']}"/>
      <af:resource type="javascript">
        var globalLastVisitedField = null;
        function captureTableFieldName()
          return function (evt)
            evt.cancel();
            globalLastVisitedField = evt.getSource();
        function copyMenu(evt)
          if (globalLastVisitedField == null)
            alert("copyMenu() Error: No field could be
                                     identified to be in focus");
          else if (navigator.appName != "Microsoft Internet
                                     Explorer")
            alert("Copy function is only
                                     supported in Microsoft Internet Explorer");
          else
            var txt = globalLastVisitedField.getProperty("ItemValue");
            window.clipboardData.setData('Text', "" + txt);
          evt.cancel();
      </af:resource>
      <af:subform id="f1" defaultCommand="srchcb">
        <af:panelStretchLayout id="psl1" topHeight="auto" bottomHeight="auto"
                               styleClass="AFStretchWidth">
          <f:facet name="center">
            <af:panelCollection id="tab" styleClass="AFStretchWidth">
              <af:table value="#{bindings.TestVO.collectionModel}"
                        var="row"
                        rows="#{bindings.TestVO.rangeSize}"
                        emptyText="#{bindings.TestVO.viewable ? 'No data to display.' : 'Access Denied.'}"
                        fetchSize="#{bindings.TestVO.rangeSize}"
                        rowBandingInterval="1"
                        selectionListener="#{bindings.TestVO.collectionModel.makeCurrent}"
                        rowSelection="multiple"
                        id="Table" styleClass="AFStretchWidth"
                        contentDelivery="immediate">
                <f:facet name="contextMenu">
                  <af:popup id="pMenu" contentDelivery="lazyUncached">
                    <af:menu id="mMenu">
                      <af:commandMenuItem text="Copy" id="cmiCopy">
                        <af:clientListener method="copyMenu" type="action"/>
                      </af:commandMenuItem>
                    </af:menu>
                  </af:popup>
                </f:facet>
                <af:column sortProperty="Name" sortable="true"
                           headerText="#{bindings.TestVO.hints.Name.label}"
                           id="c33">
                  <af:outputText value="#{row.Name}" id="Nam">
                    <af:clientListener method="captureTableFieldName()"
                                       type="contextMenu"></af:clientListener>
                    <af:clientAttribute name="ItemValue"
                                        value="#{row.Name}"></af:clientAttribute>
                  </af:outputText>
       </af:column?
       </af:Table>
    -Thanks.

    Hi,
    I can't tell. What I can tell is that the code in the sample you reference for sure doesn't cause this - but it doesn't help you I guess.
    Btw.: Here is a solution that works on all browsers. The solution in the blog (Chris - please forgive me) is a bit awkward to be honest.
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/012-copy-table-cell-values-169137.pdf
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/tablecellcopypaste-168499.zip
    Frank

Maybe you are looking for

  • Double entry in each field of Adobe Acrobat Pro

    I am using Adobe Acrobat Pro to complete a prepared form.  Upon entering data in to blank fields, I get a duplicate entry in each field box in a different font size when I tab or enter to the next field. I am sure it is a setting, any suggestions?

  • Removing conditional text tags in a batch

    Hi everyone, using TCS2 on Win-7 64-bit. We have been using some conditional text tags in our writing, and now we are looking at adding a few new ones and taking a few away. Is there a way to remove a batch of conditional text tags from a whole bunch

  • Managing memory

    Having just moved from PC to the Mac I cannot find a way to view and manage my memory as easily as I would have done with Windows Explorer. I am sure I must be missing something fundemental here but I'm not finding the world of the Apple as easy as t

  • Lumia 920 resets, internet gone

    Since two months i have problems with the internet on my Lumia 920. When i go from wifi to 3g internet the internet isnt working anymore. After a while it works more or less but veeeeery slow. Once in a while the phone resets itself too, then the int

  • Price condition for intercompany stock transfer

    Hi all I  have a intercompany flow between two company:  the flow cases are two : - when the product go directly to customer starting from the storage location company, we manage this with the standard intercompany sales - when the stock must be stor