ValueChangeListner do not get fired when I entered the same value after you remove the first.

Hello world

Can anyone help on this.

JDeveloper version 11.1.1.7

I use '< af:inputText >' with valueCaangeListner.

Here as soon as I entered a value, valueChangeListener get fired...

Problem:

When I remove the and I entered the same gain value in the text entry box, ValueChangeListner do not get fired.

When I came again, a value different valueChangelistner get me fired.

Kind regards

Malenfant.

What you say is logic and sense, you enter 500 then delete 00 then add 00 in inputText perspective there is no change in place, therefore, the converter does not occur because there is no changes occur.

To do something like that you can do a work around using javascript. You can follow these steps:

1. Select af:inputText and bind it to the backbean


2 - Add clientListener and serverListener inside inputText as:


    
    
    

3 - Add handelEnterButton as javascript method:

function handelEnterButton(event)
{
  var code=event.getKeyCode();
  if (code==13)
  {
     var source = event.getSource();
     AdfCustomEvent.queue(source,"serverListenerOperations", {}, false);
  }
}

4. in the method of serverListener back bean refresh as inputText component:

  public void serverListener(ClientEvent clientEvent)
  {
    RequestContext.getCurrentInstance().addPartialTarget(getMyInputTextComponent());
  }

5. now, try to change something in the inputText and then press enter

Tags: Java

Similar Questions

Maybe you are looking for

  • Screen becomes black when it is connected to the charger, gets it back on in hibernation

    Material: -Lenovo thinkpad T60 -three gigabytes of RAM (DDR 3) -ATI X 1300 readon mobility (think a GB Vram, not sure) -HARD DRIVE 60 GB -1.84 processor Dual-Core (34 bits) (Intel) This morning, after logging in as usual my screen suddenly and withou

  • Compatible HDD with T61

    Hello I recently updgraded old T61 with a Sandisk 128 gb SSD (model 'MORE'). It worked perfectly for about a month when the error "2100: hdd0 initialization error" started to happen at every boot. As my mother's computer, I was able to check a few th

  • After the firmware update, cannot add new reading lists

    I updated from 1.01.29 to 1.01.32 and noticed some changes. 1. the layout of the directory of the Clip is a little different.  It allows to view the Clip in this framework, "Internal memory" and in this framework, records.  Now it's just the Clip, in

  • 4.2 ACS running on Windows 2008 Server 32-bit?

    I have an old 4.2 ACS running on an old Windows Server 2003.  I bring out of the Windows Server 2003 for security reasons.  I know that 4.2 is not supported any longer.  Unfortunately, I don't have time now to migrate from 4.2 to 5.x - and the 4.2 do

  • Download apps problem

    I'm unable to download apps from windows8 store and I saw all the answers that you gave and I also applied all the methods that you said but then also I am unable to download apps