Adf faces, data control and more than one session context ?

I already put the question in the forum but nobody answered may be my question may not be so clear so i would put it again with other words.
Each xml page definition are instantiated in a binding container for a http session, you are able to get the data with bindings or data that represent the current binding container (bindings) or a given container corresponding to an another page that the current (data).
It is perfect when you don't allow multiple instances of the same page in the same application session. Browser are now offering tab management that allow user to navigate through multiple applications just by changing the current tab. It's very useful. I imagine that user's will be using it also in my application and will use it to compare or more simply just watch about two different entities of the same type (the same xml page definition, the same object instantiated in the binding container).
Because the binding container is associated with the http session all tabs will share the same one, isn't ? So i understand the problem and that it is forbidden to have many identical page for a single instance in the binding container because of synchronization issues.
Is all that i said true ?
Is it a way to solve this type of problem ?
Will this problem be addressed by adf faces and data controls ?
Hope somebody will answer !
Message was edited by:
micwic

I already put the question in the forum but nobody answered may be my question may not be so clear so i would put it again with other words.
Each xml page definition are instantiated in a binding container for a http session, you are able to get the data with bindings or data that represent the current binding container (bindings) or a given container corresponding to an another page that the current (data).
It is perfect when you don't allow multiple instances of the same page in the same application session. Browser are now offering tab management that allow user to navigate through multiple applications just by changing the current tab. It's very useful. I imagine that user's will be using it also in my application and will use it to compare or more simply just watch about two different entities of the same type (the same xml page definition, the same object instantiated in the binding container).
Because the binding container is associated with the http session all tabs will share the same one, isn't ? So i understand the problem and that it is forbidden to have many identical page for a single instance in the binding container because of synchronization issues.
Is all that i said true ?
Is it a way to solve this type of problem ?
Will this problem be addressed by adf faces and data controls ?
Hope somebody will answer !
Message was edited by:
micwic

Similar Messages

  • I entered calculates hands and more than one account and used a credit card please raise security measure for Visa card and thank you

    I entered calculates hands and more than one account and used a credit card please raise security measure for Visa card and thank you

    Hi Eva B.,
    Please refer to the help document below:
    Adobe Store | Online order and payment FAQ
    Regards,
    Sheena

  • OracleConnection opening more than one session.

    Hi,
    I am using ODP.NET 10.2 client, when i try to connect to Oracle database using OracleConnection object it is creating more than one session object.
    I created one windows application, then i added the below code in form load event of the application
    Please find the below code
    string strConnection1 = "Persist Security Info=False;User ID=service1;Data Source=SD.World;Connection Lifetime=60;Max Pool Size=30;Min Pool Size=0;Pooling=true;PASSWORD=ases;";
    string strConnection2 = "Persist Security Info=False;User ID=service1;Data Source=SD.World;Connection Lifetime=60;Max Pool Size=30;Min Pool Size=0;Pooling=true;PASSWORD=ASES;";
    string strConnection3 = "Persist Security Info=False;User ID=service1_customer;Data Source=SD.World;Connection Lifetime=60;Max Pool Size=30;Min Pool Size=0;Pooling=true;PASSWORD=ases;";
    OracleConnection con = new OracleConnection(strConnection1);
    con.Open();
    OracleConnection con1 = new OracleConnection(strConnection2);
    con1.Open();
    OracleConnection con2 = new OracleConnection(strConnection3);
    con2.Open();
    When i run the below Query
    select * from V$session where PROGRAM='WindowsApplication7.vshost.exe'
    I am getting 6 session. Please help me out in this regard.

    The Error message was “Unable to open connection” once it reach the maximum session.
    I agree for that, Previously I was not disposing that connection object. Presently I am using keyword to dispose the connection object.
    Here I have doubt
    In connection string the pooling attribute is true by default.
    Scenario 1:
    If I specify externally(through connection string it behaves very badly) like pooling=true in the connection string. It will create more than one session.
    Scenario 2 :
    If I donot specify pooling attribute in connection string it will create only one session and it will consume the same session for all the instance.
    Below is the code snippet
    Here is the example for scenario 2
    private void button3_Click(object sender, EventArgs e)
    //Connection string which donot have a pooling value.
    string strConnection1 = "Persist Security Info=False;User ID= is_customer;Data Source=ISD.World;Connection Lifetime=60;Max Pool Size=30;Min Pool Size=0;PASSWORD=is;";
    using(OracleConnection con = new OracleConnection(strConnection1))
    con.Open();
    MessageBox.Show(GetSID(con));
    //con.Dispose();
    using (OracleConnection con2 = new OracleConnection(strConnection1))
    con2.Open();
    MessageBox.Show(GetSID(con2));
    //con2.Dispose();
    Scenario 1 Example:
    private void button7_Click(object sender, EventArgs e)
    string strConnection1 = "Persist Security Info=False;User ID= is_customer;Data Source=ISD.World;Connection Lifetime=60;Max Pool Size=30;Min Pool Size=0;Pooling=true;PASSWORD=is;";
    using (OracleConnection con = new OracleConnection(strConnection1))
    con.Open();
    MessageBox.Show(GetSID(con));
    //con.Dispose();
    using (OracleConnection con2 = new OracleConnection(strConnection1))
    con2.Open();
    MessageBox.Show(GetSID(con2));
    //con2.Dispose();
    GetSID is the function which is used to fetch the session of the connection string.
    private string GetSID(OracleConnection con)
         OracleCommand cmd = new OracleCommand();
         cmd.Connection = con;
         cmd.CommandText = "select SYS_CONTEXT('USERENV','SID') from dual";
    object sid = cmd.ExecuteScalar();
    return Convert.ToString(sid);
    In Scenario 2 example I will get only one session ID.
    But in Scenarion 1 example I will get different session ID’s.
    Please suggest what is the problem.
    Message was edited by:
    user476285

  • Problem deploying more than one session beans(one is ok)

    hi there,
    im trying to deploy an ear that contains ejbs(entities and session). application goes ok if deploy it with any number of entities being called by a single session, i mean if there is only session bean in the ejb-jar.xml. it is deployed ok and works fine.
    now when i try to add another session bean to the same ejb-jar.xml, it gives the following error during deployment.
    The system is out of resources.
    Consult the following stack trace for details.
    java.lang.OutOfMemoryError
    that's all what it prints and aborts deployment. again, its important that it deploys any number of entity beans problem is with more than one sessions.
    thanx for any suggestions,
    amt

    Without seeing more details I don't understand why you would be running out of memory. We test applications with multiple session beans and we don't have that issue so I'm not sure why you would. Out of memory could be a bug in the deployment descriptor or the ear file or the JVM or the container or the deployment mechanism or maybe something else. That is the tough part of memory issue debugging at deployment time.
    I would try to see if increasing memory on both the JVM for OC4J and for admin.jar (assuming you are using standalone OC4J when you deploy) to see if maybe it is something transient that is causing this to occur. Something else you could try is to use 1.3.1 JDK and see if the problem goes away. Beyond that I would try to get the simplest case you could that repeats the error and then let's take a look at it.
    As for the exception hierarchy you describe, I don't see any particular problem with it at first look. Are you getting an error?
    Thanks -- Jeff

  • More than one session in IC WebClient

    Hi there,
    I have the following question: Is it a problem for the IC WebClient user to open more than one session within the Internet Explorer?
    From SAP docu side I cannont see any side-effect in doing so.
    Do you think this can lead to any performance issues?
    Thanks a lot in advance
    Cheers
    Ingo

    Hi Ingo,
    Generally ICWebClient is designed for the use in Customer Interaction or Customer Support Centres where usually agents can login and resolve customers query which means seperate user for seperate agents.hence it is advisable to use only one user per login but it would not effect the functioning of the application if more than one logins are also used since it is just a UI the background is processed in separate server.
    thanks,
    ashish.

  • Populating more than one table and more than one field

    I need some suggestions and this forum has always been a great source of good advice.
    I have a web form at the following location: http://www.webdevpractice.com/genoptix/CE/register.php
    Here's what the web form needs to do:
    Send a confirmation email listing seminars the visitor checked on the form.
    Create a similar message on a confirmation page.
    Populate 2 two tables.
    Items 1 and 2 are working fine.
    The advice I need is on how to populate two tables in the database.
    There are three tables:
    ACCOUNTS
    account_id
    first_name
    last_name
    medtech_id
    job_title
    npi
    company
    city
    state
    email
    phone
    contact
    ATTENDANCE
    attendance_id
    account_id
    seminar_id
    SEMINARS
    seminar_id
    seminar
    speaker_first_name
    speaker_last_name
    date
    The web form contains data that need to go into the ACCOUNTS table and the ATTENDANCE table. The challenge is getting the account_id and seminar_id into the ATTENDANCE table. If all the information was inserted properly, I could write a query that revealed who was taking what seminar.
    Inserting data into the ACCOUNTS table is not a problem. I will create another form to insert information into the SEMINARS so that should not be a problem. But inserting the account_id and the seminar_id is what I am wondering about. Also, can more than one record be inserted in a table? If an user checks more that one seminar, each seminar (seminar_id) would need to be inserted in the ATTENDANCE table as separate records along with the account_id. I'm thinking I may have to do this manually. Also, the values for each seminar are their dates and titles. I used these as values to send the confirmations.
    I'm just looking for advice at this point. Is this doable?

    Bregent,
    The table I am wondering about is the ATTENDANCE table. There are two fields in addition to the primary key: account_id and seminar_id. The field I am concern with is the seminar_id which comes from a group of checkboxs on the form. So, one form could create several records. For example, presently there are three seminars that are offered. If the visitor selects all three seminars, that would create three records in the SEMINARS table. So, it might look like this:
    attendance_id     account_id     seminar_id
         1                    1                    1
         2                    1                    2
         3                    1                    3
    My PHP skills are basic. I've done other forms and use PHP in other ways. But I have never had to populate several rows in one table with an array of checkboxes nor have I be able to find an example of this.
    So the advice I am seeking (and perhaps this is premature) is this:
    Can one field from a table populate more than one record?
    Should I set up checkboxs as a group or individually with a different name?
    I am also considering setting up my tables differently so there is a table from each seminar--that may solve my problem.

  • A header data can have more than one lie item data !

    How can a header data have more than one line item data ?

    Hi,
    header table will have only main data where as the item data will have material delivery date other things based on the availabilty and committement
    http://help.sap.com/saphelp_srm30/helpdata/en/38/4cc5376848616ae10000009b38f889/content.htm
    Regards
    Shiva

  • How to configure EM Grid Control for more than one databases?

    Hi,
    I'm configuring EM on Oracle 10gRel1 on Linux. I have more than one databases in the server, and I want use IE at my PC to monitor the databases on Linux server. I can configure and access the Grid Control Console by emca for first database, but cannot configure for the second one, unless I remove the first one configurration. How can I configure EM for more than one databases?
    Thanks.

    Thank you everybody.
    Yes, I'm talking about DBConsole rather than Grid Control (sorry for misuse the term). I managed to set up DB Console for every DB in the same Linux box (10Rel1). What I did is:
    1) stop db console and agent with emctl
    2) remove repository with RepManager
    3) config with emca
    Then I can monitor individual databases from my PC (but have to login with different port).
    I'm thinking mybe I should use Grid Control instead.

  • Why won't data merge allow more than one data source at a time?

    I need to number tickets, 8 up on a tabloid page, in InDesign (CS5)
    I have found out how to use data merge, but it won't allow me to select more than one data source at a time, therefore, making me use 800 sheets of paper instead of 100. That's not acceptable!! Is there a way to merge the pdfs if I make 8 different ones in the places they need to be? Each file that I export will have 100 pages, so is there a way to merge the files to put all eight tickets on each sheet, sequentially? This is driving me nuts!!!!!!!

    Past users have solved this frustrating problem. You can find their solutions with a Google search like "InDesign data merge multiple sequential items on one page" without quotes.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    Frankie at Quad wrote:
    I need to number tickets, 8 up on a tabloid page, in InDesign (CS5)
    I have found out how to use data merge, but it won't allow me to select more than one data source at a time, therefore, making me use 800 sheets of paper instead of 100. That's not acceptable!! Is there a way to merge the pdfs if I make 8 different ones in the places they need to be? Each file that I export will have 100 pages, so is there a way to merge the files to put all eight tickets on each sheet, sequentially? This is driving me nuts!!!!!!!

  • Once I updated to Firefox 11, I can't open pdf's. This is on more than computer, snow leopard and lion and more than one website.

    I've updated to Firefox 11 and now I can't open online pdf's. This has happened on more than 1 computer, using both OS 10.6.8 and OS 7.0 and on more than one website. I tried unchecking "block pop-ups" under preferences but that didn't help.
    When I use Safari to open the same pdf's, they open up fine. Everything worked fine with my Firefox until I did the upgrade.
    I'd prefer to continue to use Firefox, but I can't figure out the root of the problem.
    Has anyone else had this happen as well?

    I found a recommendation in another thread:
    ''If using a Mac, go to the Firefox Plugins and disable the Adobe Acrobat NPAPI Plug-in, Version 10.1.3. This is a recent plugin update, and as soon as it was installed I noticed that PDFs wouldn't download.''
    ''Location: [Menu] Tools/Add-Ons/Plugins ''
    https://support.mozilla.org/en-US/questions/775819

  • IChat AV with NAT and more than one Mac

    I am a bit confused about firewall settings for iChat AV. I have a netgear FVS328 router. Obviously to have iChat working, I first open the firewall on my mac (Tiger) for the appropriate ports. Then I defined a service on the router and a rule to open those ports. It works... however, I have an issue.
    In the router firewall setup I had to give an LAN IP Address to which packets for those specific iChat ports would be forwarded. Now, I understand this when a connexion is ignited from the Internet and (for example) you would want all HTTP trafic on port 80 to go to your web server. But here I have more than one mac behind my firewall. Moreover, they get there address by DHCP. I can't change the firewall setting each time I want to chat from a different computer!
    I tried to have a look at port triggering, but it doens't seem to exist on the netgear. But even though, I would have to specify an IP address on my LAN.
    Why is this needed since basically both iChat parties are already connected to .Mac so the connexion is made!
    I am also wondering how they manage that kind of problem in Internet cafes where they certainly do not have a fixed Internet IP address for each PC or Mac available!

    It is not possible to port forward the same port number to more than one computer on any router that does NAT. It is impossible for the router to know which of the computers to send it to and sending it to both would confuse the software.
    Think of it another way all post for a particular house is delivered by a postman. Once posted in the mailbox someone picks it up and ensures it reaches the correct person by the name written on the post. Now if you have 2 John Smiths in the same house nobody will know which one it is for. The same applies to the port numbers on the router. Some applications allow you to select a unique range of ports for each computer so you can organize a unique port for each computer but iChat doesn't.

  • SSL certificates and more than one hostname / interface

    Hi,
    I'm trying to configure the directory proxy server of DSEE7 to listen at 636 (SSL) at 2 different interfaces. As both of them got different hostnames, I get a certificate error for one of them because the name does not match the one of the certificate. Is there a way to configure the proxy server with different certs for different interfaces / hostnames?
    thank you,
    solst_ice

    Hi,
    Did you tried SAN certificates (also known as Unified Communication Certificates by Public CA like DigiCert, Entrust etc..) ?
    SAN stands for Subject Alternate Names - this allows more than one hostname to be binded to a single certificate for such multihosting setup. I think you should try using a self-signed SAN certificate before purchasing a SAN certificate from External Public CA (if you rely on External Public CA). If you have Private CA then I think there should be much cost impact for you.
    HTH,
    Randip Malakar

  • Search Help on Table Control - Fill more than one field in the table?

    Hey everyone,
    I have built a screen with a Table Control on it... the fields of the table control are linked to an internal table...  The internal table has the line type of a structure I've defined in the data dictionary.  Within that structure in the data dictionary, I've linked some fields to search helps (For example, a MATNR and CUSTOMER search help)...  I've defined in the structure definition which fields from the search help are to be returned to which fields in the structure.
    The problem is, even though I have the search help set to export both the customer number and location when using the search help on the customer field, it still does not fill the location field within the table.  Is this a limitation of using search helps within table controls?
    I'm also finding that by defining the search help through the structure, instead of directly within the screen, the search help round button does not show up on the field, yet I can still press F4 to bring up the search help.  Is there a reason why it's not showing the search help clickable button even though it works fine using F4?
    For doing search helps in Table Controls, is it better to just build the search help, attach it directly to the field in the table, and then after the user picks the single field, use the PAI to run a select and fill the rest of the fields required?
    Thanks,
    Dallas

    Hi Dallas,
    (1)
    What  i understood is that you added a search help by defining it in the internal table type for a field customer number..in the search help you have 2 fields customer number and location...user press the search help ..then you need to fill 2 different fields or 1 field?
    if you need to fill the customer location or location (only one) then you need to set the "import" in the search help for whichever is required.....
    if you need to fill 2 or more different fields..then you can use the technique you have mentioned last , to do a select in PAI and fill the fields....but this you can use if the combination for the fields is unique...eg: u have customer number and location..if customer X can be mapped to location X and location Y..when a select statement is done there are 2 options..so in such cases it is better to leave the option to the user otherwise if there is a clear mapping like customer X can be mapped only to location X then you can use the select..
    (2)
    usually when you define it as a type in the internal table the icon doesn't show up..but you can do alternative like mentioned..go to the table,find the search help for the required field if present or create a new one if required and place the search help mentioned in the screen itself..so as to see the icon...sometimes users are adamant that they need the search help icon to be seen..so it depends on if your user
    (3)
    as in the example of customer number and location mentioned we can provide them different search helps and do the needful processing in PAI to fill the fields
    Table controls may be used for different purposes and requirements....even a checkbox,push button can be placed as a field in table control and used,but yes most of the time requirements are like what is mentioned in your case...
    Regards
    Byju

  • Lines of a table control are more than one table control problem.

    Hi All,
       I'm writing a screen which includes a table control and below is my code:
    PROCESS AFTER INPUT.
      LOOP AT gt_blds.
        CHAIN.
          FIELD gw_bld-ebeln.
          FIELD gw_bld-ebelp.
          FIELD gw_bld-quanty.
          MODULE get_item ON CHAIN-INPUT.
        ENDCHAIN.
    endloop.
    The get_item was used to summary the total quanty of each PO item.
    The problem is that once the lines of gt_blds is 16 and my table control lines is 14, the  get_item module will only calculate from line 1 to line14, the last 2 lines was lost...
    Can anyone help me?

    Hi,
    PROCESS AFTER INPUT.
      LOOP AT gt_blds.
        CHAIN.
          FIELD gw_bld-ebeln.
          FIELD gw_bld-ebelp.
          FIELD gw_bld-quanty.
          MODULE get_item ON CHAIN-INPUT.
        ENDCHAIN.
    **add one more module.
    module modify_tabcontrol
    endloop.
    in program.
    module modify_tabcontrol.
    describe table itab lines tc-lines.
    if tc-current_line > tc-lines.
    append itab.
    else.
    modify itab index tc-current_line.
    endmodule.
    even you cannot acheive this.
    add one more module after the loop statement
    module count_qty.
    in program
    module count_qty.
    *here you sum up or whatever you want
    endmodule.
    Regards
    Ramchander Rao.K

  • Paste data to table more than one screen

    We have some list of materials need to be pasted from Excel to many transactions like MIGO or VA01 - the item overview table.
    It appears that the number of rows that can be pasted in these transactions are restricted by the rows shown on the screen.
    Can I paste data more than the number of rows appear on the screen ?

    BDC means Batch Data Communication.
    You will get to know about BDC if you go thru this link.
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
    Reward points if helpful.
    Thanks
    Aneesh.

Maybe you are looking for

  • How can I create a link or reference to an email in my inbox in Mail?

    I want to create links to emails (not links in emails), to be able to access an email directly out of my todo list program (I use Wunderlist). Example: an email requires an action. I create a todo in Wunderlist and I want to add a reference or link t

  • TS1363 1st generation iPod shuffle does not show up in iTunes (windows 7)?

    1st generation iPod shuffle does not show up in iTunes on my Windows 7 PC (but shows up in my computer).  Tried all the Apple trouble-shooting steps (some several times).  It used to work with Windows 7 on this PC.  Are there other steps I can try? 

  • 24 fps to 30 fps

    I built a slideshow (from stills, of course)  in FCPX with a fair number of "Ken Burns" moves on the images.  I set the FPS for the same rate as my DSLRs (23.98).  I'd like to up the frame rate to 30 fps to see if the moves on the images look smoothe

  • INTEGER changed to NUMBER(22,0) when table is created in 9i release 2 !!!

    Dears, I have made DB schema for Oracle 9i release 2 on Solaris 5.9, and I was using INTEGER datatype when creating primary key, plz c the following sample script: create table SYSTEM_PARAMETERS ( ID INTEGER not null, NAME VARCHAR2(50) not null, cons

  • Problem with Text Entry BoX in Adobe Captivate 6

    I could not enter correct responses for my text entry box. Plus, the "success" and " failure" options were greyed out for me under properties>options. I notice my icon is IAB for text entry box, whereas some users have a placeholder sign for the icon