How do I refresh a table with a bind variable using a return listener?

JDev 11.1.2.1.0.
I am trying to refresh a table with a bind variable after a record is added.
The main page has a button which, on click, calls a task flow as an inline document. This popup task flow allows the user to insert a record. It has its own transaction and does not share data controls.
Upon task flow return, the calling button's return dialog listener is invoked which should allow the user to see the newly created item in the table. The returnListener code:
    // retrieve the bind variable and clear it of any values used to filter the table results
    BindingContainer bindings = ADFUtils.getBindings();
    AttributeBinding attr = (AttributeBinding)bindings.getControlBinding("pBpKey");
    attr.setInputValue("");
    // execute the table so it returns all rows
    OperationBinding operationBinding = bindings.getOperationBinding("ExecuteWithParams");
    operationBinding.execute();
    // set the table's iterator to the newly created row
    DCIteratorBinding iter = (DCIteratorBinding) bindings.get("AllCustomersIterator");
    Object customerId = AdfFacesContext.getCurrentInstance().getPageFlowScope().get("newCustomerId");
    iter.setCurrentRowWithKeyValue((String)customerId);
    // refresh the page
    AdfFacesContext.getCurrentInstance().addPartialTarget(this.getFilterText());
    AdfFacesContext.getCurrentInstance().addPartialTarget(this.getCustomerTable());But the table does not refresh ... The bind variable's inputText component is empty. The table flickers as if it updates. But no new values are displayed, just the ones that were previously filtered or shown.
I can do the EXACT SAME code in a button's actionListener that I click manually and the table will refresh fine. I'm really confused and have spent almost all day on this problem.
Will

Both options invoke the create new record task flow. The first method runs the "reset" code shown above through the calling button's returnListener once the task flow is complete. The second method is simply a button which, after the new record is added and the task flow returns, runs the "reset" code by my clicking it manually.
I'm thinking that the returnListener code runs before some kind of automatic ppr happens on the table. I think this because the table contents flicker to show all customers (like I intend) but then goes back to displaying the restricted contents a split second later.
Yes, the table is in the page that invokes the taskflow.
Here are some pictures:
http://williverstravels.com/JDev/Forums/Threads/2337410/Step1.jpg
http://williverstravels.com/JDev/Forums/Threads/2337410/Step2.jpg
http://williverstravels.com/JDev/Forums/Threads/2337410/Step3.jpg
Step1 - invoke new record task flow
Step2 - enter data and click Finish
Step3 - bind parameter / table filter cleared. Table flickers with all values. Table reverts to previously filterd values.

Similar Messages

  • How to create a physical table with a session variable.

    Hello,
    I have been trying to accomplish accessing data multiple databases from a single rpd and single connection pool. Is there a way to do it using session variables and OBIEE stored procedures or something. If someone has anything I could read up(unless I have already googled it), it would really help me out.
    Thanks.

    Where is there a need to access multiple DBs using the same connection pool?
    Just curious.

  • How to read an internal table with more than  one (2 or 3) key field(s).

    how to read an internal table with more than  one (2 or 3) key field(s). in ecc 6.0 version

    hi ,
    check this..
    report.
    tables: marc,mard.
    data: begin of itab occurs 0,
          matnr like marc-matnr,
          werks like marc-werks,
          pstat like marc-pstat,
          end of itab.
    data: begin of itab1 occurs 0,
          matnr like mard-matnr,
          werks like mard-werks,
          lgort like mard-lgort,
          end of itab1.
    parameters:p_matnr like marc-matnr.
    select matnr
           werks
           pstat
           from marc
           into table itab
           where matnr = p_matnr.
    sort itab by matnr werks.
    select matnr
           werks
           lgort
           from mard
           into table itab1
           for all entries in itab
           where matnr = itab-matnr
           and werks = itab-werks.
    sort itab1 by matnr werks.
    loop at itab.
    read table itab1 with key matnr = itab-matnr
                              werks = itab-werks.
    endloop.
    regards,
    venkat.

  • How to create database and table with GUI?

    How to create database and table with GUI?
    for linux can do that?
    or have only way to create table by use sql*plus.
    everyone please help me.
    thanks

    go to www.orasoft.org
    here is a gui tool.
    null

  • How can I treat many tables with one handler(?) ?

    Hello~
    I am applying BDB to my embbeded system not rich in resource.
    Some *.db files are called frequently.
    But, Opening a *.db file [db_create(&dbp, NULL, 0) AND dbp->open] takes a long time in BDB
    So, I loaded this functions onto a booting module to call opening functions just one time.
    And all D/B handlers(?) are loaded in all run time
    But, a D/B handler takes about 360Kbytes. And there are too many *.db files(10) where a table is
    How can I treat many tables with one handler(?) ?
    Or
    If you have the most efficient way to call openning functions just one time, please tell me
    Thank you

    Hello,
    Opening the database handles is expensive due to
    opening a file on disk. Is it possible for the application
    to use in-memory dbs? Otherwise is there a way for the application
    to cache the DB handles and reduce the overhead associated with
    opening and closing them?
    Thank you,
    Sandra

  • How to transport/move a table with data from development to Test to Production

    Hi,
    How to transport/move a table with data from development to Test to Production..? Export-Import a Delivery Unit does only the structure and not the data
    Reg
    Sri

    Hi Sri,
    You cannot transport Data via Transport route in HANA, you can only transport code changes/Structure via DU. For Data movement, you either have a do a export/import from a flat file or replication from a Source System to HANA.
    Thanks Much,
    Abhishek

  • How Can I Export A Table With Its Entries ( values )

    Hi guys,
    How can i export a table with the entries that the table is populated with ??!!
    Best Regards,
    Fateh

    To export a table and its data you can do it a number of ways.. Do you have access to SQL Developer? If not you can do it through the APEX SQL Workshop..
    Under SQL Workshop, Utilities, Data Unload, To text (or XML, whichever you are more comfortable with..).. Select your schema, click next button, select the table, click next, select the columns you want exported (select ALL ITEMS in the select List), click next, on optionally enclosed by I usually enter a " (Sometimes I have long strings in columns), click the include column names checkbox to get the column names at the top of the document, click unload data button..
    To get the ddl (code to build table) Sql Workshop, utilities, generate ddl, create script, select schema, select next, click table checkbox, select next, click the checkbox of table you want to get ddl for...
    Thank you,
    Tony Miller
    Webster, TX
    There are two kinds of pedestrians -- the quick and the dead.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • How can I associate 2 appleids with one account or use a different Appleid for imessage as described in another post?

    How can I associate 2 appleids with one account or use a different Appleid for imessage as described in another post?
    I have rejoined the iPhone community, not with one iPhone but with two. My wife agreed to move from the unenlightened!
    I have set up both under my apple account and want to keep it that way. But I do not want iMessages going to both phones. I would like separate message queues but share all apps and other purches from the store.
    I have created a separate AppleID for her but under Settings>Message>Receive At (it currently says 2 addresses) > ... will not allow me to change the current eMail address and when I add hers (her appleid) it errors out. The only thing I can do in the Apple ID field is to manage my account and not change it to hers.
    How can I have 2 iPhones (and my iPad) on the same account but have separate identies?
    Thanks,
    LpGrumpy

    1. Yes. Restart with the Option key held down as needed.
    2. No, it won't be a problem.
    (83373)

  • WIth LabVIEW how do I control an instrument with a RS232 output, using a RS232 to USB converter cable.

    WIth LabVIEW how do I control an instrument with a RS232 output, using a RS232 to USB converter cable since I dont have rs232 ports. I have two instruments that I want to control in this manner. One is an Imada ZPS force gage with RS232 output. The other is a Panasonic HL-G103-S-J laser micrometer sensor which is RS422. I've done considerable LabVIEW programming using GPIB but I have no experience with devices like these. Any tutorial or examples would be greatly appreciated.
    Thanks.
    Solved!
    Go to Solution.

    I understand that you want to control a device which having RS 232 port as output. If so, you can use an USB-RS232 cable from PC to device and you can control or monitor the device.
    See this link http://zone.ni.com/devzone/cda/epd/p/id/2669
    Also, first check the device in hyperterminal and then continue to program in labVIEW. You can find the serial VI's in Instrument I/O.

  • How to create a Sales order with ref to Contract using Function Module

    How to create a Sales order with ref to Contract using Function Module BAPI_SALESDOCU_CREATEFROMDATA ?

    We have a unique situation where we like change the sold-to customer of the sales order
    once order has been created. These orders have been created using either by function module
    BAPI_SALESDOCUMENT_COPY or using BDC (VA01, Copy with reference).
    These two processes work abosolutely fine except someone might have change the sold-to
    customer of the ship-to customer of the original sales order. If this the case then the new
    sales order will be created with the old sold-to and with not the new sold-to.
    We tried using BAPI_SALESDOCUMENT_CHANGE and commit afterwards. We checked
    the returned parameteres of the BAPIs and they are all successful but sold-to remains the
    same old one.
    Any help would be much more appreciated.

  • How to calculate any two date with diffence calculation by using obiee11g?

    Hi,
    i have a requirement like,
    location wise current month and previous month with movement calculation,can to tell me how to calculate any two date with diffence calculation
    by using obiee11g
    Note,
    I tried to implemented ago function as well as dynamic two dates calculation using $2-$1 methods..but i am getting the o/p it's self i am getiing some null value also that' why it's not tallying with our actual report.
    i tired to used ifnull(mesaurecolumn,0) also case condition on the mesaure colution still it's not tallying.
    THanks and Rds,
    Devarasu.R

    Hi,
    for Date Difference........
    TimestampDiff(interval, timestamp1, timestamp2)
    ex:TimestampDiff(SQL_TSI_DAY, cast('1-apr-2011' as date), current_date)
    Where:
    interval
    The specified interval. Valid values are: SQL_TSI_SECOND, SQL_TSI_MINUTE, SQL_TSI_HOUR, SQL_TSI_DAY,
    SQL_TSI_WEEK, SQL_TSI_MONTH, SQL_TSI_QUARTER, SQL_TSI_YEAR.
    Cheers,
    Aravind

  • How to default bind variable using session variable at run time

    Hi All,
    I have a requirement where all VO queries (multiple VOs) produce only records that meet a certain value.
    For example, I have three tables with 3 VOs and each of them has a one-to-many relationship to another table (let's call it ref table and this table has a field called release). One of the 3 VOs is a parent/master table, and the other two are child tables. I created a VO for master table that linked to the ref table and created a view criteria using the release (use bind variable) field from the ref table. The other child tables have their own VO that has view criteria that also linked to ref table using the release field.
    On the UI page, I created a query component and a table from the master table VO. I also dropped the child table VOs in a tabbed panel which partial triggered by the master table. When I ran a query for a 'release' (hint: ref table value), the table for master table was filled the correct records that meet the criteria. Unfortunately, the child tables were not correct due to the query didn't use the bind variable that filter only records for the same 'release' value as the master table.
    The question is how do I 'default' or dynamically set the bind variable on the child tables based on the selection criteria from the query component. I am thinking to set a session variable from the query and use it in the bind variable in the child table, but not sure how to do it.
    Any suggestion how to do it or better solution to achieve the same effect?

    Hi,
    How about creating a custom AMImpl method, that takes parameters as required, and set the bind variables for all the desired VOs and perform executeQuery on them.
    You could expose this as client interface, and then use the method as parameter form.
    Check this thread for ex.
    Re: Setting Attribute in View Object through Managed Bean
    -Arun

  • Inserting a LINESTRING with a bind variable

    Hello - I am trying to insert a LINESTRING with a bind variable. Here is my query that works:
    INSERT INTO EDGE (pts)
    VALUES (SDO_GEOMETRY('LINESTRING(-71.110157 42.513495, -71.110159 42.51359)',8307));
    But if I want to pass in the pts as a bind variable, as follows:
    INSERT INTO EDGE (pts)
    VALUES (SDO_GEOMETRY(LINESTRING(:pts),8307));
    When prompted in sqlDeveloper I set the bind variable to: -71.110157 42.513495, -71.110159 42.51359
    I get the following error: PLS-306: wrong number of types of arguments.
    Thanks!

    Thanks - Your reply worked well, but I ran into another snag. If the linestring is greater than 4000 chars, I get another error.
    ORA-01461: can bind a LONG value only for insert into a LONG column
    Are there any work arounds for this?? Below is the string I am using for the bind/insert:
    LINESTRING(
    6.169746 50.348667,6.169377 50.348584,6.168800 50.348460,6.168807 50.348434,
    6.168901 50.348392,6.168972 50.348330,6.168994 50.348279,6.168985 50.348228,
    6.168896 50.348179,6.168784 50.348150,6.168664 50.348151,6.168569 50.348183,
    6.168460 50.348251,6.168366 50.348257,6.168278 50.348243,6.168197 50.348184,
    6.168052 50.348109,6.167844 50.348082,6.167660 50.348059,6.167611 50.348019,
    6.167600 50.347887,6.167544 50.347873,6.167432 50.347869,6.167338 50.347921,
    6.167093 50.348021,6.166934 50.348044,6.166768 50.348062,6.166625 50.348084,
    6.166568 50.348065,6.166487 50.347984,6.166261 50.347901,6.166006 50.347879,
    6.165871 50.347912,6.165865 50.347968,6.165883 50.348059,6.165868 50.348090,
    6.165755 50.348041,6.165562 50.347993,6.165450 50.347974,6.165355 50.347980,
    6.165253 50.348048,6.165263 50.348109,6.165328 50.348184,6.165282 50.348231,
    6.165218 50.348252,6.165148 50.348319,6.165166 50.348395,6.165135 50.348431,
    6.165032 50.348463,6.164905 50.348460,6.164818 50.348507,6.164701 50.348610,
    6.164615 50.348647,6.164551 50.348648,6.164478 50.348614,6.164421 50.348548,
    6.164276 50.348484,6.164164 50.348471,6.163996 50.348468,6.163919 50.348550,
    6.163863 50.348572,6.163808 50.348577,6.163727 50.348548,6.163678 50.348498,
    6.163636 50.348417,6.163546 50.348301,6.163457 50.348267,6.163337 50.348254,
    6.163249 50.348235,6.163192 50.348200,6.163175 50.348139,6.163206 50.348103,
    6.163278 50.348102,6.163446 50.348130,6.163557 50.348139,6.163637 50.348122,
    6.163644 50.348092,6.163602 50.348026,6.163482 50.347982,6.163393 50.347922,
    6.163316 50.347907,6.163249 50.347894,6.163026 50.347907,6.162725 50.347983,
    6.162319 50.348029,6.161930 50.348081,6.161645 50.348130,6.161526 50.348183,
    6.161512 50.348265,6.161593 50.348304,6.161667 50.348379,6.161693 50.348491,
    6.161736 50.348587,6.161817 50.348662,6.161922 50.348691,6.162050 50.348720,
    6.162050 50.348735,6.161963 50.348757,6.161933 50.348833,6.161871 50.348885,
    6.161744 50.348928,6.161435 50.348978,6.161293 50.349026,6.161262 50.349067,
    6.161264 50.349148,6.161194 50.349225,6.161180 50.349297,6.161246 50.349372,
    6.161271 50.349438,6.161194 50.349536,6.161059 50.349568,6.160987 50.349549,
    6.160953 50.349478,6.160949 50.349300,6.160915 50.349240,6.160850 50.349185,
    6.160730 50.349156,6.160627 50.349173,6.160470 50.349292,6.160369 50.349380,
    6.160331 50.349451,6.160316 50.349482,6.160268 50.349488,6.160219 50.349443,
    6.160131 50.349434,6.160045 50.349506,6.159926 50.349539,6.159839 50.349530,
    6.159669 50.349466,6.159493 50.349428,6.159278 50.349411,6.159237 50.349381,
    6.159220 50.349325,6.159266 50.349278,6.159322 50.349278,6.159426 50.349292,
    6.159594 50.349325,6.159649 50.349304,6.159640 50.349243,6.159567 50.349193,
    6.159326 50.349130,6.159142 50.349107,6.159078 50.349078,6.159068 50.348986,
    6.159074 50.348925,6.159050 50.348895,6.158905 50.348841,6.158722 50.348844,
    6.158532 50.348908,6.158368 50.349032,6.158345 50.349088,6.158319 50.349297,
    6.158201 50.349375,6.158122 50.349392,6.158057 50.349377,6.157977 50.349353,
    6.157874 50.349370,6.157565 50.349466,6.156989 50.349667,6.156790 50.349685,
    6.156702 50.349682,6.156550 50.349648,6.156383 50.349651,6.156230 50.349612,
    6.156095 50.349599,6.156040 50.349635,6.156025 50.349706,6.156059 50.349777,
    6.156188 50.349852,6.156246 50.349912,6.156208 50.350009,6.156130 50.350051,
    6.155971 50.350089,6.155940 50.350120,6.155925 50.350155,6.155975 50.350221,
    6.156137 50.350300,6.156140 50.350407,6.156118 50.350504,6.155938 50.350633,
    6.155742 50.350763,6.155647 50.350780,6.155559 50.350771,6.155486 50.350737,
    6.155469 50.350686,6.155491 50.350604,6.155552 50.350507,6.155549 50.350380,
    6.155522 50.350304,6.155438 50.350290,6.155343 50.350321,6.155273 50.350387,
    6.155197 50.350465,6.155157 50.350534,6.155038 50.350574,6.154890 50.350603,
    6.154675 50.350606,6.154411 50.350587,6.154088 50.350565,6.153878 50.350522,
    6.153637 50.350468,6.153367 50.350438,6.153135 50.350464,6.152772 50.350519,
    6.152581 50.350529,6.152377 50.350513,6.152038 50.350445,6.151744 50.350396,
    6.151587 50.350356,6.151550 50.350303,6.151542 50.350239,6.151512 50.350193,
    6.151445 50.350168,6.151355 50.350157,6.151240 50.350087,6.151102 50.350073,
    6.150917 50.350095,6.150792 50.350104,6.150714 50.350075,6.150634 50.349996,
    6.150627 50.349950,6.150590 50.349901,6.150529 50.349879,6.150368 50.349897,
    6.150267 50.349894,6.150194 50.349846,6.150180 50.349781,6.150184 50.349697,
    6.150176 50.349613,6.150113 50.349504,6.149984 50.349418,6.149737 50.349330,
    6.149503 50.349287,6.149288 50.349290,6.149097 50.349335,6.148890 50.349407,
    6.148666 50.349521,6.148502 50.349660,6.148486 50.349725,6.148511 50.349778,
    6.148572 50.349823,6.148609 50.349869,6.148610 50.349918,6.148546 50.349988,
    6.148392 50.350043,6.148126 50.350150,6.148036 50.350163,6.147970 50.350145,
    6.147957 50.350111,6.147966 50.349973,6.148038 50.349770,6.148167 50.349673,
    6.148279 50.349599,6.148290 50.349545,6.148252 50.349465,6.148161 50.349425,
    6.148065 50.349403,6.147947 50.349455,6.147900 50.349509,6.147801 50.349609,
    6.147620 50.349791,6.147555 50.349811,6.147460 50.349839,6.147366 50.349909,
    6.147313 50.349948,6.147236 50.349957,6.147140 50.349947,6.147079 50.349902,
    6.147053 50.349811,6.147002 50.349701,6.146936 50.349675,6.146846 50.349684,
    6.146745 50.349712,6.146603 50.349764,6.146472 50.349781,6.146251 50.349761,
    6.146131 50.349778,6.146037 50.349818,6.146020 50.349871,6.146045 50.349909,
    6.146154 50.349965,6.146317 50.350031,6.146426 50.350068,6.146450 50.350105,
    6.146409 50.350140,6.146338 50.350145,6.146145 50.350094,6.145899 50.350045,
    6.145797 50.350046,6.145709 50.350085,6.145675 50.350189,6.145671 50.350258,
    6.145624 50.350293,6.145487 50.350321,6.145290 50.350324,6.145153 50.350318,
    6.145026 50.350282,6.144929 50.350207,6.144856 50.350159,6.144754 50.350149,
    6.144653 50.350165,6.144504 50.350206,6.144427 50.350214,6.144349 50.350200,
    6.144249 50.350143)

  • Very happy with IMac version 10.4.11 Paired a wireless Bluetooth headset with the intention of using it to listen to radio podcasts. However, cannot connect headset. Any suggestions??

    Very happy with IMac version 10.4.11 Paired a wireless Bluetooth headset with the intention of using it to listen to radio podcasts. However, cannot connect headset. Any suggestions??

    Perhaps this "hint" might resolve your problem:
    http://hints.macworld.com/article.php?story=20050520082617274

  • How to refresh a table with multiple joins

    Hi,
    First at all, I'm newby in ADF, and my english is no so good, sorry for that...
    I'm using JDeveloper 11g Release 2 (11.1.2.3.0). I have a table created from a view object that have multiple joins with other entities. When I insert a new row programmatically in one of the entities of the joins (not in the entitiy of the view object itself), the new row is created in the database correctly but the table don't show it. What can I do to refresh the table to see the new row created?
    Thanks in advance!

    You have to update the iterator the table is based on for the ui last. You do that by executing the query on the iterator again.
    Timo

Maybe you are looking for

  • Calling a stored procedure of oracle 8 from java

    hello, i made a stored procedure as below in 1 program :      String url = "jdbc:odbc:rjc1";      Connection con = DriverManager.getConnection(url,"scott","tiger");      Statement stmt = con.createStatement();      String createProc =           "Crea

  • Layers won't collapse or open

    Illustrator running very slowly, problem with layers. Nothing happens when clicking on triangles to open and collapse layers. Can turn them on and off by clicking the eye. Can also create new layers and delete things. What should I do? Working in win

  • How to make page to go on top?

    I have a long jsf page. I want page to go top when there are any errors on the page. I am using <h:messages to display the errors on the top of the page but I am not able to make the page to goon top. HELP

  • Oracle Grid Infrastructure installation on Windows  2008 SRV R2

    Hi There are many problems to configure and install grid infrastructure in windows 2008 server. is there any step by step documentation for this case? how can i configure the storage for OCFS, ACFS is not supported on Windows 2008 server. How can i m

  • Error code a121e1 trying to download Creative Cloud on Windows7 64bit

    Error code a121e1 trying to download Creative Cloud on Windows7 64bit