UpdatableVO: Iterator values not refreshing on change of event

Hi All,
I am using JDev 11.1.2.1.0
I am facing problem in accessing the table values in the baking bean.
My problem goes this way:
I have a table called rework. I created Entity object called ReworkEO based on table Rework and created updatable view object called ReworkVO based on Entity object ReworkEO.
I dropped this object as a table in the jspx page with 3 columns(Emp_Name, Emp_Id, Result).
User will enter values in these 3 columns, on click of create button these values will be inserted into the table, which is working properly.
Now my requirement is before inserting the column values into the table i need to validate the data(also column 3(Result) should be enabled if only data entered in the 2 column(Emp_Id) is valid).
I am doing this validation on change of value(ValueChangeEvent).
My validation as follows:
On change of value in the 2nd column(Emp_Id) valuechange listener will be fired.
In the value change listener I am getting the Itereator of ReworkVO and validating the 2 column(Emp_Id) value.
While getting the values from the Iterator in the backend, I getting the values lately(Meaning that Ex: I entered value 10 in Emp_Id column for the first time and tab out, in the backend from the iterator I am getting this value as null. Once again if I change Emp_Id value to 11, Now in the backend from iterator I amgetting value as 10(previously enterd value) )
How can I get the values immediately(on change of value) from the iterator in the backend.
Please suggest Me how to proceed.
Thanks,
Veeru

I think you are in the wrong forum, try J Developer or Java

Similar Messages

  • Prompt constrain - prompt values are not refreshed after change in calendar

    Hello,
    I have prompt with Date, OrgUnit and Employee field in OBIEE 10g.
    Date - calendar component "date between"
    OrgUnit - multi-choice
    Employee - multi-choice
    I have checked "Constrain" checkbox on Employee field, because I want to show only employees from selected OrgUnit and also I have checked constrain on Date field.
    After first selection everything works fine. I select some dates (I have calendar component - date between), some OrgUnit and I can see list of employees constrained by selected OrgUnit and Dates
    - physical select is executed to get list of employees to multi-choice component
    After that I change date interval, open employees multi-choice component but no physical query is executed and I will get back some cached result from previous request.
    It seems that change in calendar component does not force refresh of data in other constrained components.
    If I select some other OrgUnit, Employees are refreshed.
    I tried to change component for Date from calendar to multi-choice. After some change of dates in multi-choice component. OrgUnit and also Employees are refreshed.
    I also tried some different combinations of constrain checkboxes but with no success
    So my question is: How can I force refresh (force execution of sql query) data in constrained fields after some change in calendar component?
    Thank you

    In my case It doesn´t refresh after change in calendar component. It does refresh after change in multi-select promot, or dropdown component, but doesn't refresh after change in calednar component.
    BI server cache is not enabled.
    If I open employee multi-choice component for the first time, physical query is executed. I change date to some other, open employee component for second time and no query is executed and I will get old values from previous action...

  • Attribute binding value not refreshed after transaction rollback

    Hi,
    Using ADF Faces/Trinidad + ADF Data Bindings + ADF Business Components.
    I was experimenting with task flows vs transaction control vs form validation and met the following problem.
    First, here's a little intro to my application design. A page template defines the layout. There's only one page in the application using a dynamic region to show a dynamic task flow. The template defines a menu containing navigation items; each item action changes the current dynamic task flow id.
    One of the flow starts with a data bound table listing users. Each row has an edit button to navigate to an edit form. The edit form is in a separate task flow as I want the automatic rollback triggered when a flow is abandoned.
    The problem occurs when I quit the form clicking a menu item AFTER a validation error occurred. Transaction is rollbacked as expected, however when I go back to the form (whatever row I choose), the invalid value that failed the previous validation is shown.
    It seems the attribute binding is not refreshed. To validate this hypothesis, I added a button that explicitly calls refreshControl on the attribute binding as shown below. When the button is clicked, the form shows the correct value.
        // In a managed bean
        public void refreshFirstName(ActionEvent evt)
            getBindingContainer().findCtrlBinding("FirstName").refreshControl();
        }I working on a possible workaround, but I've not succeeded yet. I'm looking into using the finalizer of the task flow (or possibly the initializer) to force a refresh of the control bindings.
    Any ideas?
    Thanx!
    Olivier

    Hi,
    I am experiencing similar strange behaviour, it sounds like it could be related, i am not using task flows though.
    I have a read only table, and when a user double-clicks on a row an af:popup is displayed which displays an edit form (contentDelivery is set to "lazyUncached" in the popup). Pressing the cancel button on the edit form executes a rollback and hides the popup. However, after this has occurred, whenever another row (or the same row) is selected in the read only table, the edit form will display data from the old record that was rolled back. I've noticed that the old data is only displayed in editable fields, while the correct data is displayed in read-only fields. I'm pretty sure the rollback works properly, and the iterator is on the correct row, just it is displaying incorrect data in the editable text fields. I've tried implementing cancel functionality with both a rollback action and refreshing the row using REFRESH_WITH_DB_FORGET_CHANGES, but the same issue exists regardless of which method is used. I've also noticed that the application starts behaving correctly again if the commit button is pressed.
    Has anyone come up with a workaround for this issue?
    By the way, is there any way we can keep track of the bug numbers that are mentioned in this forum?
    Thanks,
    Michael.

  • NWDS WebDynpro views are not refreshing after changes in layout...

    Hello experts..
    I'm using NWDS 7.0.13 and every time I'm modifiying a webdynpro view in layout mode the view does not refresh, instead I get this message:
    This program cannot display the webpage
    Most likely causes:
    You are not connected to the Internet.
    The website is encountering problems.
    There might be a typing error in the address.
    What you can try:
    Check your Internet connection. Try visiting another website to make sure you are connected.
    Retype the address.
    Go back to the previous page.
    More information
    In order to display the changes I have made, I have to close the WD View and re open it, the funny thing is my other team mates can change their views and see their changes inmediately without closing/opening the view.. hope anybody can help me out on this one..
    Thanx in advance..
    JV

    Hi Armin, thanx for your answer and effectively I have installed IE7, I read other posts and after reading the "solutions" I rather close and open my WD views insted of removing security patches of IE.. I guess I'll have to wait until SAP fixes this and meanwhile I'll work the way I just mentioned.
    I'll let this question unanswered until this fix comes out.
    Cheerio !
    JV

  • NWDS view not refreshing after changes in layout

    Hello experts..
    I'm using NWDS 7.0.13 and every time I'm modifiying a webdynpro view in layout mode the view does not refresh, instead I get this message:
    This program cannot display the webpage
       Most likely causes:
    You are not connected to the Internet.
    The website is encountering problems.
    There might be a typing error in the address.
    What you can try:
         Check your Internet connection. Try visiting another website to make sure you are connected.
         Retype the address.
         Go back to the previous page.
         More information 
    In order to display the changes I have made, I have to close the WD View and re open it, the funny thing is my other team mates can change their views and see their changes inmediately without closing/opening the view.. hope anybody can help me out on this one..
    Thanx in advance..
    JV

    Jesus,
    Do you have IE7 on your machine??  IE7 with a certain patch causes this issue.
    Check this thread for more details
    Probblems Net Weaver Developer Studio (NWDS) caused by Internet Explorer 7
    Chintan

  • Brwoser does not refresh for each server event if delta handling is on

    I wrote a simple stateful BSP page. When I turn on delta handling(to remove flickering) on the page, page is refreshed only for every other server event. This page contains two table views and I use table view iterator for one of them. How can I force browser refresh for each server event? Browser is IE and version is 5.5.
    This problem doesn't exist if turn off delta handling. But I want to stop flickering any how, since users are complaining.

    Learning BSP is similar like driving a car. You first need to get a driver's license. So you study a bit, take a test and are ready to drive. Thereafter, flipping that deltaHandling checkbox is like getting into a big plane and trying to fly. It is unfortunately a quantum jump from using BSP to activating the DH system. Which also has a lot of very special constraints, etc.
    This was a very special development we did for a big application group inhouse. The first version was good, but did not exactly meet all our expectations. So we redid a lot of the work/concepts. All of this is highly specialized and not documented.
    What I could recommend is that you look at BSP application IT05. It should help a little. Otherwise, I am going to ask that you please open an OSS message (please reference this thread!). Then we can look at your application and show you what is to be done. But it is definitely not all moonshine and roses. Our standard answer is "do not use it" when people can not ride this bull. I will add it onto my weblog schedule for some future date.

  • JDEV 11g R1: Static Lov does not refresh on changing locale

    Hello,
    I have created a static view object. Then created another view object that has an attribute defining a LOV using the former view object. In the web application I change the locale programmatically. I'm trying to set locale in ViewRoot, and also in the binding container:
          JSFUtils.getFacesContext().getViewRoot().setLocale(new Locale(localeStr));
          ADFUtils.getApplicationModuleForDataControl(AMDC).getSession().setLocale(locale);
          ADFUtils.getDCBindingContainer().getBindingContext().setLocaleContext(new DefLocaleContext(locale));
          ADFUtils.getDCBindingContainer().execute(); The problem is that the values of static list will not be translated. Though after executing rollback operation, they will show the translated values.
    I suppose it has to do with caching LOV values.
    Do you have any suggestion?? How can I make this LOV refresh??
    Thanks, Eniko

    Hi,
    taking it from:
    +"However , if we refresh the table or reload after save , the toop tip also get change . but we need to update the tool tip on change the lov . any suggestion ? "+
    The autput text component is part of a table ? If so then the table needs to be refreshed as the values in there are stamped. If I am wrong with my table assumption and the output text is part of a form, try setting clientComponent="true" for the output text field
    Frank

  • Lov values not refreshing for composite primary key

    Hi All,
    I have LOV, which works fine on model project but not in view layer project.
    i have lov with three columns queried from database view dealer_code, scheme_code, scheme_desc
    dealer_code and scheme_code are composite keys
    d001 sch001
    d001 sch002
    d002 sch003
    when i select d002 , i can get the value in bean,
    but when i select d001 and i am getting the scheme sch001,
    if i choose after selecting sch001 to sch002, i am still getting sch001
    the value is not changing when i select composite values from lov.
    any solution ?
    thanks
    Gopinath

    hi Luka, try to install demo sample applications to see
    report pages and forms for insert(as create) and updates(save)
    into tables
    regards,
    gordan,
    http://gordanmilojevic.blogspot.com/

  • Rfx Custom Tab(Table) Value not mapping in Change Doc BADI

    Hi,
    I am currently adding Custom Tab with Table in SRM Rfx Webdynpro Screen SRM PPS 7.01 Extended classic . I did the configuration steps to add the custom table, visibility setups, created a new Webdynpro, enhanced in Component controller and could get current active instance Rfx values.
    In local memory using a class method i am exporting custom tab values to Change Doc BADI and updating the et_hcf with the custom values.
    The values are getting saved in the data base and i am able to get it via function module and show in the screen again.
    My Problem is when i am modifying a saved Rfx it saves the entry another time. When i debug the change doc badi i could see all the time the et_hcf and it_hcf is coming empty in the first place and each time the entries from screen are consider as new entries and getting saved in DB.
    I have created Custom tab with table in Contract screen, PO Header and shopping cart line item. Rfx screen is little different and not getting the et_hcf value again in Change Doc BADI. Do anyone have similar issue in handling Rfx.? Please help me. I can Change my code logic and fix this problem still it looks like a standard bug to me that et_hcf or it_hcf is not getting values to the change doc BADI as it does in PO or Contract. Also let me know if i need to check any of my configuration.

    Hi,
    Checkout the below link :
    <link to blacklisted site removed by moderator>
    Shailaja Ainala.
    Edited by: Thomas Zloch on Jan 28, 2012 9:06 PM

  • Problem. Does not refresh language change in ADF components

    I have three recource bundles designated to change the language in a user interface.. The problem is that not all elements get refreshed.. Where could be the problem?

    I use af:selectOneChoice component to choose the language. If i choose a language I must click a submit button which instantaneously executes a submit action which reloads the page. Problem is when browsing other pages (after changing the language) not all the elements contain chosen lang. some of them still show previous one.. the only way to cope with it is to log off or restart the application... then everything is ok.. until I change the language actually... Can this be a problem with rendering or smth? Any ideas?

  • Can not refresh snapshot changes after importing data of master site

    Hello !
    I have two database computer,one as master site,one as snapshot site.Because the error of the hard disk of master computer,I use the exporting data file to recover my database.after importing ,I found I can't refresh the refreshgroup on snapshot,who can tell me why?
    thinks in advance!
    (exp system/manager full=y inctype=complete file='/home/save/backdata/xhsdcomp.dat')
    (imp system/manager inctype=system full=Y file='/home/save/backdata/xhsdcomp.dat'
    imp system/manager inctype=restore full=Y file='/home/save/backdata/xhsdcomp.dat')
    null

    You haven't listed the errors that you're receiving when attempting to refresh your refresh group, but if your snapshots are attempting to fast refresh, I suspect it's because the creation timestamp of the snapshot log on the master site is newer than the creation timestamp of the snapshot. In this case you will need to do a complete refresh of the snapshot (or drop and recreate the snapshot) before you will be able to fash refresh it again.
    If this is not the case, please post the errors you are receiving when you attempt to refresh the refresh group.
    HTH,
    -- Anita
    Oracle Support Services
    null

  • Find and replace in files does not refresh when changes are made

    Using RH10, I search for a term with the Find and Replace Options pod. I use the Find Results list as a reference only, and open each file from the Topic List. I do this instead of opening the topics from the Find Results tab because I want to see the WYSIWYG changes. Anyway, I make my edits and delete the search term from each topic. Then, to make sure I have done all the work, I run the search again. I expect to see no or at least fewer matches than before, but I still get some or all of the same results as before, even though I double-check the Design and HTML views of the topics and even check the source of a topic separately in Notepad, all indicating that the search term is gone from the topic.
    There is some ridiculous lingering or echo going on. I make sure to select Look in: <Current Project>, and the paths of all the Find Results files are fine. How do you refresh the search so that this echo doesn't occur?
    Also, I close the Find and Replace Options pod, reopen it and start the search again, and the same results are there.
    Message was edited by: DMilkes

    Hi there
    To avoid the message about the file being modified, close all topics in the editor before commencing with any find and replace operations. The message is produced because you have the aforementioned topics open in the editor.
    As you mention "Find and replace in files", I'm guessing you are referring to version 8. I just opened version 8 and performed a find and replace to confirm. There is a button allowing you to clear all.
    On the clicking and dragging to create a link, it's never worked that way. You simply cannot drag from the Topic List pod to do it. But you can from the Project Manager pod. Perhaps you should consider submitting a Wish Form to ask for the ability to click and drag from the Topic List pod to create links.
    As far as rearranging your topics into different folders, as long as you do it from inside RoboHelp you shouldn't be destroying any links. RoboHelp will update references for you as you move things around. The only issue is if you are automatically creating your TOC structure based on the project structure. But usually that's a one time shot. From there forward you just manage things using the TOC editor.
    Hopefully this helps... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • TextInput Value not refreshing

    fname_input.text=fname;
    Alert.show (fname_input.text+" "+fname); // WILL SHOW HYDER
    HYDER
    but the the input box on the screen will not update to the
    new value, it will still show the old value
    Anyone know why this is happening?

    Sorry, now that I think of it, it really wasn't clear enough!
    What was happening was that I could retrieve the .text
    property of the TextInput and I could display it is an alertbox or
    assign it to any other variable but the value wasn't showing up on
    the TextInput component itself
    For example,
    TextInput -> .text -> "ABC"
    Assigning new value to TextInput -> .text -> "DEF"
    Now, for some reason, the value did not show up on TextInput,
    the TextInput still said "ABC"
    But if I say Alert.show (TextInput.text) or Trace
    (TextInput.text) -> it returns "DEF";
    But now it works, I declared the TextInput as a static
    private variable, that fixed it. Believe me, it was just intuition
    that made me do it. I really don't know what static does.
    private static var _textInput:TextInput = new TextInput;
    Now if someone can tell me how that fixed it, I'd be
    grateful!

  • Could not Refresh  Popup  Iterators located in region by using TP3

    Hi i have the following problem which appears when i switched to TP3:
    I have a create form, which i included as a region in a page.
    I create a new row in a caller page by using createInsert operation.
    The problem is that when i open the popup, create form is not refreshed with a newly created row as it expected. The form is positioned on the last selected row (before execute create) in a caller page
    As it seems region iterator is not refreshed and the newly created row is not inserted inside the iterator.
    Is it necessary programmatically to do region iterators refresh and how ?
    If not programmatic iterators refresh is needed as i mean it should be , where is the problem?
    In TP2 that was working.
    Regards,
    Krasimir
    Message was edited by:
    K.Penev

    HI Frank , actually the problem is more general:
    It consists of inability of synchronizing different regions iterators.
    For example , if i have a search form placed in a region, and an edit or summary form for example, placed in another region (which points to the same view object),
    <f:view>
    <af:document>
    <af:form>
    <af:region value="#{bindings.staffSearchDR.regionModel}"
    id="staffSearchDR"/>
    <af:region value="#{bindings.staffSummaryDR.regionModel}"
    id="staffSummaryDR" partialTriggers="staffSearchDR"/>
    </af:form>
    </af:document>
    </f:view>
    the iterators in different regions are not getting synchronized (That was working in TP2). I tried to synchronize the iterators on the following way:
    BindingContainer bc = ADFFacesUtils.findBindingContainer(pageDefName);
    DCIteratorBinding iter = (DCIteratorBinding)bc.get(iteratorName);
    iter.setCurrentRowWithKey(rowKey);
    And that is working , but i cannot refresh JSF Components, even by using partialTriggers or AdfFacesContext.addPartialTarget() method
    Can you help me with this?
    Krasimir

  • Master-Detail Detail does not refresh after it's been empty

    I have a master detail page (both are tables) that works just fine, until I click a master record that has no details.
    After that the panelHeader of teh detail is refreshed with the PPT but the table underneath it is not, I keep seeing "no rows yet", no matter which master record I click.
    When I go to a different page and return it's fine again.
    Only one of my pages has this behavior, I tested this on another and it was fine. Has anyone seen this behavior before?
    My console has this message:
    May 11, 2007 10:52:38 AM oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel getSelectedRow
    WARNING: rowIterator is null
    Message was edited by:
    Wendy Tromp

    Ok I found it,
    My details iterator had the following properties:
    <iterator id="AfdelingMedewerkersIterator" RangeSize="-1"
    Binds="AfdelingMedewerkers"
    DataControl="PRBAppModuleDataControl"
    Refresh="IfNeeded" RefreshCondition="#{!adfFacesContext.postback}" />
    I have no idea why I set it like that, but removing the Refresh properties fixed my problem.
    I am still clueless as of why this led to the behavior as described above. I could have understood it if my iterator was not refreshed at all, but I have no idea why it stopped working only after the details were empty and not a second before...
    Anyway, problem solved!

Maybe you are looking for

  • Connecting Macbook To Television

    Hello, Is there a way to connect my Macbook to my Television in order to be able to surf the web? I bought a DVI to S-video converter and it allows me to watch movies on my TV that I have stored on my macbook in very good quality; however, my desktop

  • Problem with Running EJB

    Hello, Pls help me to find the solution how to run EJB in netbeans. And my doubt is which one is better whether Netbeans IDE or Weblogic server. Thnx, login form

  • Some Songs are not on iTunes but play on my iPod! HELP!

    I have lost random songs of iTunes and it says it can nt locate the song file. But i can play all my songs on my iPod! Please help as i need to listen to my songs though my computer! Thanks!

  • Embeding lightroom web site into dreamweaver?

    I've created a website in dreamweaver and currently have links to different lightroom web pages. www.owendawsonphotography.com. An annoying problem with this method is having to back click through lighroom to get to your home page. Being new to the w

  • Problems in Broadcasting BEx Workbook through email

    Dear All, I am having this problem for quite some time now i have also searched SDN for related articles but to no avail kindly help me out anyone plss plss; i am having problems broadcasting workbooks via email; i get the following error: Microsoft