ValueChangeListener not firing when iterator set to refresh=never

I have an iterator that I have recently added a child node to. This child node is tied to a view object without a backing entity. The fields in that view can contain user supplied data that I persist through a stored procedure. This mechanism works great accept when the page is refreshed. When that happens the fields in the child node are lost due to the view being reexecuted.
To fix this problem, I thought I could set the iterator to refresh=”never” and then programmatically refresh it when I need to. This solution appears to work but with one small problem, a valueChangeListener in one of the parent iterator fields fails to execute when it is supposed to.
It is very weird. I can remove the refresh=”never” from the iterator and the valueChangeListener functions properly, but if I add it back, it fails to get called. I have compared the html source on the browser and the element is generated the same in both instances, so it is definitely some issue on the server side.
Anyone ever run into a similar problem?
<af:table rows="#{bindings.ItemCountrySystemsVO.rangeSize}"
          emptyText="#{bindings.ItemCountrySystemsVO.viewable ? \'No rows yet.\' : \'Access Denied.\'}"
          var="row"
          value="#{bindings.ItemCountrySystemsVO.treeModel}">
   <af:selectBooleanCheckbox  id="selectDesc"
                              value="#{row.CheckBox}"
                              autoSubmit="true"
                              immediate="true"
                              valueChangeListener="#{itemItemCountryDataActionBean.onChangeSystemDescCheckBox}" />
<iterator id="ItemCountrySystemsVOIterator" RangeSize="10"
              Binds="ItemCountrySystemsVO" DataControl="RMSItemAMDataControl" Refresh="never"/>
<tree id="ItemCountrySystemsVO" IterBinding="ItemCountrySystemsVOIterator">
      <AttrNames>
        <Item Value="Item"/>
        <Item Value="CountryId"/>
        <Item Value="SystemCd"/>
        <Item Value="Status"/>
        <Item Value="StatusDate"/>
        <Item Value="PrimarySupp"/>
        <Item Value="CheckBox"/> 
      </AttrNames>
      <nodeDefinition DefName="od.adf.mp.datamodel.views.item.ItemCountrySystemsVO"
                      id="ItemCountrySystemsVONode">
        <AttrNames>
          <Item Value="Item"/>
          <Item Value="CountryId"/>
          <Item Value="SystemCd"/>
          <Item Value="Status"/>
          <Item Value="StatusDate"/>
          <Item Value="PrimarySupp"/>
          <Item Value="CheckBox"/> 
        </AttrNames>
        <Accessors>
          <Item Value="ItemCountrySystemsLangVO"/>
        </Accessors>
      </nodeDefinition>
      <nodeDefinition DefName="od.adf.mp.datamodel.views.item.ItemCountrySystemsLangVO"
                      id="ItemCountrySystemsLangVONode">
        <AttrNames>
          <Item Value="Item"/>
          <Item Value="System"/>
          <Item Value="Lang"/>
          <Item Value="LangDescription"/>
          <Item Value="CountryId"/>
          <Item Value="ItemDescription"/>
          <Item Value="OrigItemDescription"/>
        </AttrNames>
      </nodeDefinition>
    </tree>

Using the refresh condition was definitely the better approach and it worked great. Unfortunately not refreshing the parent iterator did not prevent the reexecuting of the child node. I am at a loss on how to prevent this from happening. I am at a loss to explain why the reexecuting of the child view object happens at all when the parent hasn't changed.
Any help is appreciated.

Similar Messages

  • Popup not firing on closing browser or refreshing

    Hi ADF experts,
    I have set the af:document tag uncommittedDataWarning="on". But my popup not firing.
    I have made inputText's autoSubmit="true"
    Please help me out.
    Thanks.

    Hi Frank,
    Yes I made a POJO in model layer and created a datacontrol from that. After that I dragged to the jsff as a table with 2 columns.
    The 2 columns are inputText.
    The below scenario happened
    Created a sample taskflow and a jsff page fragment
    Created model based on POJO.
    The POJO datacontrol dragged onto a jsff page as a table with 2 fields.(The fields made inputtext).
    First field I kept autoSubmit=”true” and added a valuechangeListener
    Second field kept as it is.
    Tested as below:
    I tried entering a value in the first textbox. And closed the browser it got closed(No warning message)
    Second textbox after I entered value and closed browser(warning message shown)
    Difference: valuechangeListener implemented in first.
    Product.java
    public class Product {
        private String productId;
        private String productName;
        public Product() {      
            super();
        public Product(String productId,String productName) {      
           this.productId=productId;
           this.productName=productName;          
        public void setProductId(String productId) {
            this.productId = productId;
        public String getProductId() {
            return productId;
        public void setProductName(String productName) {
            this.productName = productName;
        public String getProductName() {
            return productName;
    ProductBean.java
    public class ProductBean {
        private List<Product> products=new ArrayList();
        public ProductBean() {
           this.createData();
        private void createData(){
            products.add(new Product("101","Alto"));
            products.add(new Product("102","Benz"));
            products.add(new Product("103","Chevrolet"));
            products.add(new Product("104","Cruze"));
            products.add(new Product("105","Accord"));
        public List<Product> findAllProducts() {
            return products;
    jsff
    <af:table value="#{bindings.Product.collectionModel}" var="row"
                  rows="#{bindings.Product.rangeSize}"
                  emptyText="#{bindings.Product.viewable ? 'No data to display.' : 'Access Denied.'}"
                  fetchSize="#{bindings.Product.rangeSize}" rowBandingInterval="0"
                  filterModel="#{bindings.ProductQuery.queryDescriptor}"
                  queryListener="#{bindings.ProductQuery.processQuery}"
                  filterVisible="true" varStatus="vs"
                  selectionListener="#{bindings.Product.collectionModel.makeCurrent}"
                  rowSelection="multiple" id="t1">
          <af:column sortProperty="#{bindings.Product.hints.productId.name}"
                     filterable="true" sortable="true"
                     headerText="#{bindings.Product.hints.productId.label}" id="c1">
            <af:inputText value="#{row.bindings.productId.inputValue}"
                          label="#{bindings.Product.hints.productId.label}"
                          required="#{bindings.Product.hints.productId.mandatory}"
                          columns="#{bindings.Product.hints.productId.displayWidth}"
                          maximumLength="#{bindings.Product.hints.productId.precision}"
                          shortDesc="#{bindings.Product.hints.productId.tooltip}"
                     valueChangeListener="#{pageFlowScope.managedBean1.sdas}"     autoSubmit="true" id="it2">
              <f:validator binding="#{row.bindings.productId.validator}"/>
            </af:inputText>
          </af:column>
          <af:column sortProperty="#{bindings.Product.hints.productName.name}"
                     filterable="true" sortable="true"
                     headerText="#{bindings.Product.hints.productName.label}"
                     id="c2">
            <af:inputText value="#{row.bindings.productName.inputValue}"
                          label="#{bindings.Product.hints.productName.label}"
                          required="#{bindings.Product.hints.productName.mandatory}"
                          columns="#{bindings.Product.hints.productName.displayWidth}"
                          maximumLength="#{bindings.Product.hints.productName.precision}"
                          shortDesc="#{bindings.Product.hints.productName.tooltip}"
                          id="it3">
              <f:validator binding="#{row.bindings.productName.validator}"/>
            </af:inputText>
          </af:column>
        </af:table>
    Please help..Shall I raise it as a bug.
    Thanks,
    Roy

  • I can not use my iTunes it keeps asking me two secrurty question that I was not asked when I set it upa

    I Can't get music from iTunes it keeps asking for a secruity questions I was not asked for when I set up my itunes

    If you log into your account via the 'manage your apple id' button on http://appleid.apple.com and select the Password And Security section of your account are you able to set the questions ? If not then is there a reset link beneath the questions on that screen (the link will only show if you have a rescue email address, which is not the same thing as an alternate email address, on your account) ?
    If you can't set them or reset them yourself then you will have to contact Support in your country to get the questions reset.
    Contacting Apple about account security : Contact Apple for help with Apple ID account security.
    If your country isn't on that page then try this form and explain and see what they reply with : https://ssl.apple.com/emea/support/itunes/contact.html
    When they've been reset, and if you don't already have a rescue email address, you can then add one for potential future use : Manage your Apple ID primary, rescue, alternate, and notification email addresses
    Or if it's available in your country you could change to 2-step verification : Frequently asked questions about two-step verification for Apple ID

  • Crystal Report Alerts not firing when no records are fetched from the DB

    Hello,
    The crystal report alert i have created in the report in the event of no records being fetched from the query is not firing.  The condition used is isnull ( count(DB Field ) ).
    Is there a limitation with alerts that they would be fired only when some records are fetched in the report.
    Appreciate any pointers
    -Jayakrishnan

    hi Jayakrishnan,
    as alerts require records to be returned here's what you will need to do:
    1) delete your current alert
    2) create a new formula with syntax like
                  isnull(DistinctCount ()) or DistinctCount () = 0
    3) create a new Subreport (which you will put in a report header)
    4) the subreport can be based off of any table
    5) have the subreport record selection always return only 1 record...for performance reasons
    6) change the subreport link to be based on the new formula
    7) the link will be a one way link in that you will not use the "Select data in subreport based on field" option
    8) now in the subreport, create the Alert based on the parameter created by the subreport link
    i have tested this and it works great.
    jamie

  • Safari 5.1 flash mouse_leave not fired when mouse button is down

    Hi all, anyone know a work around for the fact that Event.MOUSE_LEAVE is not fired in Safari 5.1 (OSX 10.6.8) if the mouse button is down? I tried the latest beta player and the issue is not resolved. Thanks!

    WOT alerts you to dangerous web sites.
    That function is already built into Safari, and has been since version 3:
    http://www.macworld.com/article/137094/2008/11/safari_safe_browsing.html
    I had never heard of the WOT extension until today!
    If you go to Safari Preferences/Security you will see a box marked 'Warn when visiting a fraudulent website'. That is what that is.
    The blacklists from Google’s Safe Browsing Initiative (where Safari checks for 'fraudulent websites') are contained in a database cache file called SafeBrowsing.db  - the file was created when you first launched Safari, and if you have the browser open, the file is modified approximately every 30 minutes.

  • JSF selectOneMenu valueChangeListener not firing

    I am using JDeveloper 10.1.3.4.0
    I am trying to select a value from a list when that value is selected it will fire a valuechangelistener that will call another list that will be populated based on the selected value.
    The valuechangelistener never fires.
    Here is my selectonemenu:
    <h:selectOneMenu binding="#{backing_careerPreparation.selectOneMenu1}"
    id="selectOneMenu1" value="#{backing_careerPreparation.testvalue}"
    valueChangeListener="#{backing_careerPreparation.selectOneMenu1_valueChangeListener}"
    onchange="submit()">
    <f:selectItems value="#{backing_careerPreparation.allMItems}"
    binding="#{backing_careerPreparation.selectItems1}" id="selectItems1"/>
    </h:selectOneMenu>

    Hi twolf,
    I am testing this on JDev 11g and notice that the selectOneMenu component do not have a autoSubmit attribute.
    Are you using ADF Faces or Trinidad components? I've never used the selectOneMenu component but hopefully you can substitute it with the selectOneChoice component. You can then set the autoSubmit attribute to true and have the valueChangeListener event fire as soon as you select a different value.
    In your current case, the valueChangeListener do fire. Unfortunately, it doesn't fire immediately after selecting a different value. Try clicking a submit button or something that calls an action to the server. You will notice that the valueChangeListener does get fired then.
    Regards,
    Chan Kelwin

  • Why is this table trigger not firing when insert/update from servlet?

    Hi!
    I have this servlet that parses XML and stores values into Oracle tables. I have created a table trigger so that when one table is updated, a trigger is fired and the current system date is store in another table's field.
    I have tested the trigger in Toad and it works, that is, if I update the table that the trigger is set to, the SYSDATE is stored as intended.
    Here is the trigger's code:
    DECLARE
    tmpVar NUMBER;
    NAME: transaction_time
    PURPOSE:
    REVISIONS:
    Ver Date Author Description
    1.0 9/14/2007 1. Created this trigger.
    NOTES:
    Automatically available Auto Replace Keywords:
    Object Name: transaction_time
    Sysdate: 9/14/2007
    Date and Time: 9/14/2007, 8:00:42 AM, and 9/14/2007 8:00:42 AM
    Username: (set in TOAD Options, Proc Templates)
    Table Name: MS_RESLIMITS (set in the "New PL/SQL Object" dialog)
    Trigger Options: (set in the "New PL/SQL Object" dialog)
    BEGIN
    tmpVar := 0;
    UPDATE MS_Misc SET mi_lastrun = SYSDATE;
    EXCEPTION
    WHEN OTHERS THEN
    -- Consider logging the error and then re-raise
    RAISE;
    END transaction_time;
    Now, when the table is updated by the servlet, the trigger does not fire. And here is the code from the servlet:
    --- <start of code> ---
    boolean recordExists =
    this.isRecordPresent("MS_ResLimits", "rl_compcode",
    compCode, url);
    Connection rlConn = null;
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    rlConn = DriverManager.getConnection(url, dbUser,
    dbPwd);
    Statement stmt = rlConn.createStatement();
    PreparedStatement xmlUpdate = null;
    if (recordExists) {
    xmlUpdate =
    rlConn.prepareStatement("UPDATE MS_ResLimits SET rl_compcode = ?, rl_maxreslimit= ? WHERE rl_compcode =?");
    xmlUpdate.setString(1, compCode);
    xmlUpdate.setString(2, maximumReservationDate);
    xmlUpdate.setString(3, compCode);
    } else {
    xmlUpdate =
    rlConn.prepareStatement("INSERT INTO MS_ResLimits VALUES(?,?)");
    xmlUpdate.setString(1, compCode);
    xmlUpdate.setString(2, maximumReservationDate);
    } //end-if-else
    int n = xmlUpdate.executeUpdate();
    rlConn.commit();
    } catch (Exception ex) {
    out.println(ex.toString() +
    "-> error inserting Max Reservation Date<br>");
    } finally {
    if (rlConn != null) {
    rlConn.close();
    } //end-try-catch-finally
    --- <end of code> ---
    What causes the trigger to fire? the commit? My understanding is that executeUpdates are in autocommit mode by default, or am I mistaken? Do I have to programmatically send something to the DB so that the trigger fires?
    BTW, I'm using JDeveloper 10.1.3.3.0. The project is being compiled with Java 1.5.0_06. The servlet is running in OCJ4 standalone. DB is 10g (don't know the release version).
    ...and, for some reason this message is not keeping format from my edit window to the post...
    Thx!
    Message was edited by:
    delphosbean
    Message was edited by:
    delphosbean
    Message was edited by:
    delphosbean

    You are supposed to be able to preserve you formatting using the <pre></pre> tags but I can't get this to work either<br>
    <br>
    Patrick.

  • IRR dynamic action filter does not work when condition set.

    Hi All
    I've set up a filter on an Interactive report using a dynamic action. The fiilter is used to display records that expire within a term ( example 30,60,90 days.) The dynamic action is set to fire On Change. This all works fine as long as I do not set the report condition to only display when P1_DAYS is not null.
    I am using a report template that includes #REGION_STATIC_ID# as referenced in this post -
    http://anthonyrayner.blogspot.com/2010/07/report-filtering-with-apex-40-dynamic.html
    I hoped not to display a blank report region .. wait until after the user selects the "term" before displaying the results. Any workaround suggestions would be appreciated.
    Version -
    Application Express 4.0.1.00.03
    Thanks
    MO

    Kindly check the following link for reference.
    sample configuration link
    http://www.cisco.com/c/en/us/td/docs/wireless/controller/5700/software/release/3se/security/configuration_guide/b_sec_3se_5700_cg/b_sec_1501_3850_cg_chapter_01110.html
    http://www.cisco.com/c/en/us/td/docs/wireless/controller/7-0/configuration/guide/c70/c70intf.html
    Trouble shooting link
    http://www.cisco.com/c/en/us/support/docs/security/secure-access-control-system/113485-acs5x-tshoot.html

  • Dynamic Actions not firing when using date picker?

    The dynamic actions don't seem to be triggering when selecting a date from the date picker, but trigger just fine when the dates are manually entered. Anyone else have this problem and if so is there a workaround to get it to work from the date picker as well? I am using Application Express 4.0.1.00.03
    And how can I report this problem?

    I'm already using Change.
    If it matters, I have it set to:
    Event: Select
    Selection Type: Item
    Condition: No Condition
    My action type is just an alert right now since all I want to do is to see if I can trigger it (as in you have to walk before you can run).
    Event Scope: Live
    Conditon type: Dynamic Action not Conditional
    Authorization Scheme: No Authorization Required

  • Significant digits not obeyed when value set through property nodes

    Hi, I have a front panel with a large number of indicators on it. As updating each one is a very straight forward task, I am using the This.Panel.Controls array to step through and update each indicator appropriatly. The problem is, that because I have so many indicators, and the actual numbers aren't that important (they are also being logged elsewhere) I only wish to have 4 significant digits displayed so that the value fits into the size of the indicator. I set each indicator to have a display format of %_4f, but when I run it this is not obeyed and 7+ digits are displayed. I'm guessing this has something to do with updating the controls via the property node, but I'm not sure why that should cause an issue. Any ideas?

    Nope, I double checked the format string. I do mean significant digits by the way. My imput values are expected to be in the range 0-100 but I've sized my indicators to fit only 4 digits, which will give me at worst a 0.1% error over the full range, which is good enough. Right now the channels from which I am grabbing data are all disconnected, so I am just getting noise. I've attached images of both the format string I'm using, the relavent part of my code where I update values, and an example of the output I get. Thanks,
    Jon
    Attachments:
    FormatString.PNG ‏32 KB
    ouput.PNG ‏2 KB
    ValueUpdating.PNG ‏25 KB

  • Menu directory setting does not stay when I set it.

    I am using 6.1.  I changed the location of the library directory (under tools options) and at first I thought I also wanted my menu directory to be in the same place.   So I set that way and  closed LV and restarted.  Later I decided that I wanted the menu library to be the default.  It lets me change it but when I close and reopen LV it goes back to the directory being used by the library directory setting.  I can only get it to stay at the default if I also set the library to default.  I've also tried setting everything to default and closed LV and restarted and then changed just the library directory, closed and reopened but still the menu directory goes back to the new library directory setting.  What can I do?  '
    Summary:  I want the library directory to be at my chosen location but the menu directory to be the default.  How do I do that?

    vickielfl,
    It is my understanding that the menu directory must be a subdirectory of the library directory.  Consequently if you change the library directory the default menu directory is not in library directory's path and LabVIEW ignores it.
    Regards,
    Simon H
    Applications Engineer
    National Instruments

  • DAQEvent=2 not fired when double buffered operations stop

    Hi,
    I am using Config_DAQ_Event_Message with DAQEvent==2 to get an event when synchronous DAQ and WFM are finished. This works fine with single buffered operation, but i get no event in double buffered mode ?
    Especially I like to get an event in case of Buffer-Underrun etc. errors.
    My hardware: PCI6111
    Software: NIDAQ6.9.3 with VisualC++
    Thanks in advance
    Michael

    Hi Michael,
    One of the possible causes of this error-10608 is a high update rate. The update rate might be high enough that you are not allowing enough time to fill the buffer with new data. This error can also be the result of having the regeneration option, within software, set to OFF. If you turn the regeneration option to ON, the error will go away. You can also reduce the update rate to see at which point you stop getting the error -10608
    I found the following links about errorcode -10843:
    http://digital.ni.com/public.nsf/websearch/EC38736BBF430DDC8625677C006F395C?OpenDocument
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=506500000008000000CA780000&ECategory=Measurement+Hardware.Digital+I%2FO
    regards
    TN

  • When validate item not firing when exit with mouse

    Hi
    I have a when validate item tirgger on an item.
    it fires fine when I use tab from keyboard after validating
    but when i navigate to another field with the mouse, the trigger does not fire.
    it only fires when i try to close the window..
    how can i overcome this?
    thanks

    Normally, a WVI trigger ALWAYS runs when you leave a field no matter how you leave it (after you have entered something, of course). If it is not running, then you should check whether you have messed around with Set_Form_Property and Validation_Unit.
    Or maybe you have some code in your key-next-item trigger that runs that makes you think it is the when-validate-item trigger.

  • WFM_Op does not return when iterating indefinite​ly?

    I'm using the WFM_Op function with a DAQPad 6020E with the WFMsingleBufRegenerate.C that is provided with NI-DAQ. If I change the number of iterations to zero (i.e., indefinite iterations), it never proceeds to the next instruction.
    I'd ideally like to be able to have it repeatedly output a waveform in the background, but so far I've been unable to do it.

    Hello;
    If you input a zero as the iterations parameter, the NI-DAQ driver will probably hang your computer.
    The way to keep generating the same waveform on a output channel, is to set up a continuous Analog Output operation, and pass the same array of point (the array that will determine the waveform), and keep running the Analog Output task in a loop.
    That will make the same array of point to be generated over and over again, which will accomplish what you need.
    Hope this helps.
    Filipe A.
    Applications Engineer
    National Instruments

  • Air 3.4 iOS Push Notification is not fired when app is not running and is not in background

    Hello,
    I'm making an Air iOS application which uses the iOS Push Notification from Air 3.4.
    All is working perfectly except when I receive notifications when the app is not running and is not in background (The app is killed).
    I suppose the RemoteNotificationEvent.NOTIFICATION must be dispatched when I receive a notification even if my app is not currently running or in background ?
    Do you have already get the same issue ? Do you know what can prevent the notification to be handled ?
    Thanks,
    Loïc

    issue has been fixed in the build available at http://labs.adobe.com/downloads/air3-5.html.
    You would now have to attach listener to InvokeEvent. For cases, when application is killed, InvokeEventReason will be InvokeEventReason.NOTIFICATION. The notification payload can be accessed by the following code
    protected function onInvokeEvent(event:InvokeEvent):void
         trace("Invokehandler called .... \n");
         trace("reason: " + event.reason + "\n");
         if( event.reason == InvokeEventReason.NOTIFICATION)
                        var payload:Object = Object(event.arguments[0]);
              for (var i:String in payload)
                    trace("Key:value pair " + i + ":" + payload[i] + "\n");
              // TODO: DO THE NEEDFUL ON RECIEVING A NOTIFICATION HERE

Maybe you are looking for

  • Currency with 3 decimals

    Hi ! i need to manage prices with 3 decimals and not 2 only. So i think i will set customising (set decimal places for currencies) in order to change all currencies decimal defined on 2 decimals. Is there a risk to change this customising ? Thanks Ja

  • Startup problem after restore in recovery mode

    Hello, My iPhone 5S stuck in apple logo and did not start to home screen. I found that the best solution is restore in recovery mode, but it did not work. my device started but made the apple logo loop. seems that it start and shot down. even the iTu

  • Remove/Reduce Shuffle Button on Mobile for Premium Users.

    In almost every view on the Mobile app, there's a giant floating "Shuffle" button that never leaves the screen. I believe free users have access to *only* shuffle on mobile, correct? So in that sense, that Shuffle button makes sense. It's their only

  • Logic Express or Digital Performer 5?

    Recently swtiched from PC to Mac, and looking for a new DAW software. Was using Cakewalk. I can get DP5 for $350 with the competitive upgrade. Trying to decided if that or Logic Express would be best. Anyone familiar with both? Why did you choose L.E

  • NUMC field in WD4A view

    hi experts,    In my WD4A view i have an input filed which has data type PERNR_D means it is NUMC8 field. Now  when my field  get displayed in view it gets '00000000' as default value. Then i can input any value in it and it takes  that  value.. that