ViewObject attribute is not updated to the last LOV

I met the problem with LOV. Following the use case.
There is a form where the user fills fields and selects values from the lists of values.
Just after the user change the last mandatory attribute, triggers valueChangeListener on and values are to be stored in the database.
I noticed that the last attribute is not defined in the view object (it is not yet defined, I guess, because valueChangeListener is triggered before). I have to manually set.
This way, I have to get a LOV access and retrieve the selected value somehow. How can I do this? Is it possible to have this attribute set before the event to change the value?

Just in case, here is the attribute and the part definition LOV in myVO.xml

< ViewAttribute
Name = "ROrgtype".
IsPersistent = "false".
IsNotNull = 'true '.
PrecisionRule = 'true '.
Type = "Oracle.jbo.domain.Number"
ColumnType = 'NUMBER '.
AliasName = 'R_ORGTYPE. '
Expression = "R_ORGTYPE."
SQLType = 'DIGITAL '.
LOVName = "LOV_ROrgtype" >
< DesignTime >
< name Attr = "_DisplaySize" Value = "22" / >
< / DesignTime >
Properties of <>
< SchemaBasedProperties >
< LABEL
ResId = "LABEL_ORGTYPEEO_NAME" / >
< CONTROLTYPE
Value = "choice" / >
< / SchemaBasedProperties >
< / properties >
< / ViewAttribute >


< ListBinding
Name = "LOV_ROrgtype".
ListVOName = "OrgtypeVO1".
ListRangeSize = "-1".
NullValueFlag = 'none '.
NullValueId = "LOV_ROrgtype_LOVUIHints_NullValueId".
MRUCount = "0" >
< AttrArray Name = "AttrNames" >
< point Value = "ROrgtype" / >
< / AttrArray >
< AttrArray Name = "ListAttrNames" >
< point Value = "Num" / >
< / AttrArray >
< AttrArray Name = "ListDisplayAttrNames" >
< point Value = "Num" / >
< point Value = "Name" / >
< / AttrArray >
< DisplayCriteria / >
< / ListBinding >

Thank you!

Published by: euggie on November 9, 2009 06:04

Published by: euggie on November 9, 2009 06:05

Hello

You can delay your valueChangeListenerEvent. Try this code:

if(event.getPhaseId().equals(PhaseId.INVOKE_APPLICATION)){
      //Your code here
}else{
            event.setPhaseId(PhaseId.INVOKE_APPLICATION);
            event.queue();
}

in this way, your code will be executed during the Invoke application phase.

Hope this helps

Joseba

Tags: Java

Similar Questions

  • I have the time to default iPhone 4 iOS 7.1.2 iPhone App not updated since the last 3 days and also checked all the settings for location and also set as new iPhone always present problem... Please try to fix... Thanx

    I have the time to default iPhone 4 iOS 7.1.2 iPhone App not updated since the last 3 days and also checked all the settings for location and also set as new iPhone always present problem... Please try to fix... Thanx

    Turn off your device and turn it on again. If this does not help, sign out of your account and reconnect.

    In addition, you can try to reset your settings.

    • Press and hold the sleep/wake button
    • Press and hold the Home button
    • Press and hold both buttons until the display turns off and on again with the Apple logo on the subject.

    Alternatively, you can go to settings - general - reset - Reset all settings

  • Recent file list is not updated with the last update of PS.

    In the last update of Photoshop CC, the list of recent files is not updated. The new splash screen, nor in the list once inside the app. He showed an old list and the list remains the same. I even deleted the list and he brought back the old list even when I reopened Psalm

    My version is: 20151114.r 301 x 64

    I am on Windows 7

    Have you cleared up the recent file list of file > open recent item > clear recent file list

    ~ Assani

  • Error code: code 80072EE2, computer will not update, since the last big update.

    Original title: 80072EE2

    computer will not update. also wdi prob host service. a lot of prob since the last big update. need help

    Hi Denny,

    We may refer to the article and check if it helps to solve the problem.

    Windows Update error 80072ee2

    Otherwise, you can read the article and try the steps to solve the problem.

    Temporary connection related errors may occur when you use Windows Update or Microsoft Update

  • My iPhone with iOS 9.2.1 5s is deleting random contacts.  This happened for several months is not just with the last update of iOS.  Any suggestions?

    My iPhone with iOS 9.2.1 5s is deleting random contacts.  This happened for several months is not just with the last update of iOS.  It deletes recently used contacts and removes also from my iPad.  Any suggestions?

    That you synchronize your contacts with? A decision-making application supported on the computer, a Cloud Computing service?

  • Windows Update was not able to verify the new updates for the last 30 days, go to windows update to resolve this problem

    Hi people

    I'm on Windows 8, and in these last days, I get this message

    " " Windows Update was not able to verify the new updates for the last 30 days, go to windows update to resolve this problem"

    It is on a blue banner that goes directly to the screen and it is very annoying

    I get updates through so I do not understand this

    Any help would be great

    PS I have tryied the restoration of the system, and it's always the same

    Lee was soon

    Original title: looking for some help please

    Hi Lee,.

    I had this same problem and it drove me crazy, but I solved it.

    I clicked on the link above that 'Shubham Chin"gave, and in this link all the topic, if you click on the topic" my PC is not responding all by searching for the or to install updates.

    below that it will then say "try to run windows update convenience store", click on that and it should get rid of this very annoying pop to the top and other problems with your laptop... hope I helped :)

  • Mice are not appearing after the last update of Windows 8

    After update to the last version of windows 8, my mouse does not work on my computer no more. I use a "HAMA Optical Mouse AM-5000" and a 64-bit Windows 8 operating system to my office. Before the update, everything worked very well, but a little at the time (perhaps a week?) there was a software update that began when I shut down my computer for the night and after, my mouse wouldn't just appear. Then I want to restore my computer to before the update and everything would work fine. It happened maybe 3 times in the past week. Today, however, every time that I restored it to an earlier date, the mouse still does not. I tried the following things:

    Deactivation and reactivation of the mouse
    Uninstall the drivers and search for updates
    Try different mouse (2 USB, 1 green connector)
    Using the troubleshooting in the Device Manager tool, a fine of the question
    Non of them did it no matter what and I wonder if I'm the only one to receive the problem. and what I can do about it. Trying to navigate in windows using only the keyboard becomes very annoying XD.
    Thanks for the reply of Kevin,

    In the (Control Panel > system and security > Windows Update > View Update History) all there is "you have not tried to install the updates for this computer. There "18 updated important and 5 available optional updates to install, but I think that those who might be updates that have been the cause.

    In the (Control Panel > programs > programs and features > Installed Updates) there are a bunch of installed updates. The most recent is "Word Viewer 2003 Service Pack 3 (SP3): WDVIEWSP3" which has been installed on 26/09/13 and "update for Microsoft Windows (KB2889543)" which has been installed on 25/09/13.

    I downloaded the latest drivers from the mouse on the site that you have linked and no change. By chipset are you referring to the processor (Intel i7)?
  • Had to do a restoration complete my xp machine and will not update, in the past, system automatically updated with cartridges of siema etc service?

    Had to do a restoration complete my xp machine and will not update, in the past, system automatically updated with cartridges of siema etc service?

    What is happening, it is that it is so more the possibility of a user friendly hands on automatic update of Windows XP from a clean install.  Windows Update will NOT synchronize with and updated in the current order status to update a machine with a clean install of XP, but you separately download some patches and intermediate updates and apply them manually, to have a machine that connects a bit normally with Windows Update.

    Install the last update cumulative security for the version of Internet Explorer you have currently is essential, and you need to download separately and install it before going any further.

    http://support.Microsoft.com/kb/2888505

    Scroll to the information file for XP and Server 2003

    Download the file corresponding to your version of Internet Explorer and install first.

    It is also highly recommended that you install Firefox because IE8 is limited, probably compromised and sometimes useless and will crash on many sites, including Microsoft sites, including linked just above.

  • iCloud backup after iOS 10 - some files were not available during the last backup

    HI - we are a company with about 350 users of iPhone and iPad.  I put this in the iCloud in the community section, but I've seen other users have the same problem in this section, so I thought I would add here.

    In order to stop users add their own e-mail accounts on the iPhone that lock us the device through restrictions - deactivation of the accounts section.  It stops and then access the iTunes settings.  In the test of iOS 10.0.1, we have one of the devices (a 16 GB 5 s, who had been a backup at 7:20 that morning), improved 9.3.2 that went well with no obvious problems, then, after a few days to leave the handset to the function, we have lifted the restriction and the backup on iCloud to find any backup not occurred since the upgrade and a message 'some files were not available during the last. backup"in its place.

    If all our staff upgrade their phones (we gave says not yet) then the backups look like they stop.  It is easy to fix, as a manual backup, will complete the process, but you have to remove the restriction to do this.

    We tested on iPhone 5, 5 s, air iPad iOS 8 to 9.3.5 and all have this problem.

    I have exactly the same problem, 16 GB iPhone 5s as well. I plan on raising at my Genius Bar appointment today.

  • Calendar in dock not updated to the date of the day after El Capitan updated to v10.11.5

    El Capitan, updated in version 10.11.5 May 25, 2016, now the calendar in the dock is not updated to the current date, everyone had it?, how he was healed?

    See you soon

    Bill Edge

    What happens when you inspect system preferences > Date & time?

    • The correct time and Date displayed here?
    • Your time zone is correctly indicated?
  • deployment error: unable to locate all the subVIs screws saved because a Subvi is missing or the VI is not registered in the last version of LabVIEW.

    Hello world

    I want to deploy my project Teststand and got a strange error when creating the image.

    For many additional files with the suffix as .tso, alias, lvlpb, exe, dll... deployment tool launches the error message "unable to locate all the subVIs screws saved because a Subvi is missing or the VI is not registered in the last version of LabVIEW.» (see also the attached picture).

    If I exclude the files of my distribution or set them to "include without treatment or dependencies of elements of" the generation works fine.

    After the error, I checked the Temp folder. The temporary project LV is not yet created.

    I used the deplyoment-installation in the same way within a fromer project and had no problems like that...

    I use Win7 / LV2013 SP1 & Teststand 2013 f1 (5.1.240).

    Could someone help or support? Thank you!

    Finally, I tried the construction with LV2015 & TS2014 - no problems... Everything works fine...

  • string does not update in the state machine

    Help

    I'm pulling my hair out on this one.

    I have a control over the channel I want to get the value that out of the front at a certain point in a type of State machine architecture, but the value contained in the string of LabVIEW not updated during the enforcement program for the purposes of the block diagram.

    I checked that the VI is not corrupted by creating this simple VI to illustrate what I'm doing. (otherwise empty)

    The length of the string, or the indicator related to the local variable, or updated a probe on a wire connected to the string if during 2 seconds after the start of the VI, something is typed in the control of the chain.

    LabVIEW 2009 version

    Windows 7 operating system

    This could be and OS related issue? -J' I normally use XP not Windows 7 with 2009 and I've never noticed this before.

    Any quick feedback this weekend would be greatly appreciated

    Thank you

    James

    Try setting the chain control to "update the value while typing". (right click...).

  • The latest version of Lr does not work with the last WIN10, I need help

    The latest version of Lr does not work with the last WIN10, I need help

    Finally I understand it by putting at level c ++ Redistributable Package, surprisingly it works. Anyway, thanks for your answer...

    Good day!

  • I tried to open an old lightroom on an external hardrive to access photos and he replaced my current lightroom with this former... How do you find my lightroom course content? Note the lightroom currently on my computer was not saved in the last

    I tried to open an old lightroom on an external hardrive to access photos and he replaced my current lightroom with this former... How do you find my lightroom course content? Note the lightroom currently on my computer was not saved in the last two weeks.

    Please re - locate all of the missing images.

    Reference: How to find the lack of photos in Photoshop Lightroom

    Kind regards

    ~ Mohit

  • After update to the last version of the space bar no longer give me hand tool / to navigate around my image, everyone knows this? Even for the button on my wacom pen...

    After update to the last version of the space bar no longer give me hand tool / to navigate around my image, everyone knows this? Even for the button on my wacom pen...

    ... computer update restarted... everything seems to work again.

Maybe you are looking for

  • What is WiFi really intended?

    Obviously, it can be used to download web pages, but I'm curious to know what it can be used so that I know when and when not to turn on. (here the battery problem has been resolved, so I might just leave it on... but anyway) I'm assuming that its al

  • Can I use NEITHER-DAQmx 8.6 with LabVIEW 2010?

    Can I use the software version 8.6 OR DAQmx on LV 2010? Or do I have to use the corresponding versions?

  • DC 7700: Power HP DC7700

    I got this motherboard and not power. I want to know what food to use and also if possible what is the configuration for edge micro ATX plug so I can use a normal ATX power supply power supply.

  • Change of operating system

    Hello, I just make a change on an old computer from Spanish to English using a reinstall of XP drive. The disc is my old dell dimension 2400 er, the computer that received the change was a compaq presario 5000 series. Everything seems fine, but now I

  • LaserJet P2055dn

    The mechanics of the plateau of the envelope has a problem.  He won't shoot an envelope into the printer to print an address.  He goes through the motions but will not seize the envelope.  If I put one or 8 envelopes into the tray, it makes no differ