Hi can I reset the value that is assigned to < af:inputtext

Hi, please find the code below

IAM trying to find the value on which the user has clicked in the outputtext in a pop up


< af:forEach var = "item" items = "#{backing_TestSample.friendlist}" >
< af:inputText value = "#{point}" id = "inputText" >
< af:clientListener method = "clientMethodCall" type = "click on" / >
< af:serverListener type = "customEvent" method = "#{backing_TestSample.onPreRender}" / >
< af:showPopupBehavior popupId = "popup1" triggerType = ' click on ' align = 'afterEnd' >
< / af:showPopupBehavior >
< / af:inputText >
< br >
< here >
< / af:forEach >


< af:popup id = "popup1" >

< af:inputText text = "Say" id = "inpu1" >


< f: event listener = "#{backing_TestSample.changePopup}" type = "preRenderComponent" / > "
< / af:inputText >
< / af:popup >



----------------------------------------------------------------------------------------------

public list getFriendlist() {}
frndsList = new ArrayList < String > ();
frndsList.add ("a");
frndsList.add ("ba");
frndsList.add ("c");
frndsList.add ("d");
frndsList.add ("f");
frndsList.add ("g");

Return this.frndsList;
}


{} public void onPreRender (event ClientEvent)
InputText RichInputText = (RichInputText) event.getComponent ();
this.chatId = (String) inputText.getValue ();

}



{} public void changePopup (ComponentSystemEvent event)


System.out.println ("change POP" + this.chatId);


((RichInputText) FacesContext.getCurrentInstance () .getViewRoot () .findComponent ("inpu1")) .setValue (this.chatId);

}


---------------------------------------------------------------------------

In the console, I am able to see the correct output, I want to say if I click on 'a' I could see the POS 'POP A change' and even in the pop up it shows me the correct value, but if I click on another aoutputtext value in the menu contextual does not evolve, it's always show the first value that is "a".


Please let me know what that iam missing to update the values in the pop-up window

You can set the following property to the pop-up window contentDelivery = "lazyUncached" ?









contentDelivery = "lazyUncached" >



Thank you
Nini

Tags: Java

Similar Questions

  • How can I change the group that is assigned to a contact?

    I synchronize contacts on my 2 iPhones, 2 iPads, MacBook Pro and iMac. I would like to change some of my current designations of the group for some of my contacts. How can I change the group that is assigned to a contact?

    Mark,

    First of all, make sure that you deal with iCloud contacts.

    With the help of your MacBook Pro or iMac Contacts open and remove unwanted contacts outside the group. You will be asked "do you want to remove the card for 'XXX' or delete Group 'YYY'.» Choose "remove group.»

    Then go to "All Contacts" and drag the name of the new group.

    If you want to see what the contact belongs to groups, click on the contact and press 'option '. All groups with this name will be highlighted.

  • can I reset the passwords that are saved on my options? Where would be saved?

    I want to delete the folder that stores my passwords for my PC, where can I find it? Thank you

    Hi jennh2012,

    Firefox has a very convenient password manager. Take a look at this article. It contains lots of useful information on the use of the password manager and manage your passwords.

    Hope this helps!

  • How can I reset the page that appears when I open a new tab "white"?

    MySearchDial reset my settings in several browsers. I deleted the program, I set my home page and removed the site from the list of engines of research possible, but when I opened a new tab "in white", it always opens with MySearchDial features. I tried the SearchReset extension, it did not work. I tried the subject: config newtab url, that does not work either.

    How to reset it?

    Could you take a second look at everything: config?

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the search above the list box, type or paste newtab and make a pause so that the list is filtered

    (3) If you check the browser.newtab.url preference, what is he on? These are the typical things:

    • (Default) page thumbnails = > subject: newtab
    • Blank tab = > subject: empty
    • Built-in Firefox homepage = > topic: welcome
    • Any other page = > full URL of the page

    If it is already set correctly, but still, you get a white page MySearchDial, one of your other extensions may be the problem.

    You can consult, disable and/or remove extensions on page modules. Either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. Then, when in doubt, turn off...

    If it indicates that it is locked or refuses to save the changes, Check Control Panel, uninstall a program for a program called research protect and remove that. Locked preference may also indicate the presence of a mozilla.cfg file. If you think that, please post back for more information, by simply removing this file can cause problems.

  • How can I change the value of a print job in Visio 2003. It is for 1 or 2 pages, I want that he 9 printing pages. Thank you.

    How can I change the value of a print job in Visio 2003.  He is currently configured to print pages 1 and 2, but I want to print all 9 pages at a time.  Thank you

    You can remove 1-2 and type 1-9? All HP and Epson printers I have worked this way.

    That's all I can offer as I'm not familiar with your printer.

  • I have an acer laptop about a year ago, I put a username and password, but now that I want to use again, I forgot the password. How can I reset it so that I can get into my laptop?

    I have an acer laptop about a year ago, I put a username and password, but now that I want to use again, I forgot the password. How can I reset it so that I can get into my laptop?

    Happy that he sorted out for you. Thank you for taking the time to let me know. MS - MVP - Elephant Boy computers - don't panic!

  • I am using Windows XP Pro SP3. IE8 or FF8 can open all the links that appear in my subscription newsletters.

    original title: links in e-mail newsletters don't work

    I am using Windows XP Pro SP3. IE8 or FF8 can open all the links that appear in my subscription newsletters. The message I get is:

    Firefox can't establish a connection to the server...

    Because this happens with both browsers, I suspect that some settings in Windows is the origin of the problem - maybe an update. Everyone knows about this type of behavior? Someone at - it suggestions for me?

    Hello

    This information should be useful.

    1. the HOSTS file would have an impact on all browsers. If you do not deliberately use the HOSTS file to block some websites, run the FixIt in this article to reset (clear on) the HOSTS file.
    How can I reset the default Hosts file? :
    http://support.Microsoft.com/kb/972034

    2 key is only, but go to Internet Options > privacy and try a cookie of low value or accept all.

    3. from security on the IE command bar > InPrivate filtering settings, disable filtering.
    Always safe > Filter SmartScreen > disable the SmartScreen filter.

    4 disable third-party security programs (antivirus, antispyware, firewall, etc.) * just long enough * to test some links.

    5. similar to the #3, but more in depth...
    The clean boot troubleshooting, try.
    331769-how to perform a procedure to clean boot (XP & Vista)
    http://support.Microsoft.com/kb/331796

    Don

  • Reset the value of the selection list

    APEX version: 4.2.2

    I'm fighting to implement a solution to reset the value of an element from the list of selection on a page in my application.

    I currently have about 4 pages in my application with a level of tabs with every page on its own tab.

    I have a report of Emp page that lists employees. The page contains an element of selection list for emp_no who submits the page when the value changes. The query for the list of selection queries the emp for name and emp_no table. It has:
    Display additional values: Yes
    Display Null values: Yes
    Display NULL value: all THE
    Return NULL value:
    (no value for the return NULL value)
    Page, in itself, works the way you want. During the first visit to the page, EVERYTHING is selected and the report shows all the EMOS. If I select a specific employee, the page refreshes with just this employee.

    On the Main page is another employee list report. The report has a link between the employee id column and the Emp report page. The link sets the value of Emp.emp_no to the value of Main.emp_no. It works very well so if I take emp hand 123, 123 shows Emp.emp_no and the report shows that retail for emp 123.

    The problem is when a specific employee has been selected previously from the homepage or the Emp page and I click on a tab to another page, say the status tab / page and then click on the tab of the page of the Emp. The current behavior of the page, is that it continues to show some used was previously selected regardless of how it has been set, either Emp or to the homepage page. I want to reset select Emp.emp_no ALL (or null) if I navigate to the page of the Emp to any other page except hand or Emp itself.

    I searched through the forums and tried to use processes at the level of the page and after region to reset the value of Emp.emp_no, but nothing has worked. I believe there is a 'simple' way to do it that doesn't require coding on each page to set Emp.emp_no on a null value before calling it.

    I would like ideas on solving this seemingly simple task that has managed to escape.

    Thanks in advance.

    cagora

    Use a query in your link for filtering the selection list. Create a compuation on the definition page of the selection to NULL list if the request is NULL > PL/SQL Expression >: APPLICATION IS NULL. In this way, you can check the list of selection gets nulled while accessing the page normally.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Apress.com/9781430235125
    https://Apex.Oracle.com/pls/Apex/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • Need help to reset the values and toggle items based on a value

    Experts,
    I have a problem with the set_item_property
    Here's the background. I have a form with a single block, and a canvas. He has 10 points, depending on the value of the first element, the remaining items can be enabled or disabled.

    I wrote a trigger "pre-record", whereas before the outputs in the new record based on the value of the first element of the new record the other elements in the new record are enabled or disabled.

    The problem is any value of the box, if I put it in set_item_property ('blockname.item_name ', set', property_false), sound very good, but in a new record, when I tried to
    activate the same element to help set it set_item_property('blockname.item_name',enabled,'property_true) it does not work.

    In singles, I can do as property_false but not back to property_true.

    And when I used the command set_item_property ('blockname.item_name ', on', ") to reset the value back to its design time value form is to throw an error
    withMessage ' FRM-41046'.»

    Guys I need your help on this. Please let me know how can I this and why the error message when I try to reset the value.

    Property_false value ENABLED also affect the Update_allowed/Navigable FALSE at the same time. You must set these properties to return true explicitly, if that's what you hear ' market do not. Search for 'Propagation of changes to property' in Froms help for more details.

  • Reset the value of the item page to null

    Hello
    On one of the pages of my site, my I list of some articles and each value of the element is a link, and if I click on the name of the element, a pop up appears which shows me the history of the issue. This pop-up history item, I have two elements of date picker where I provide the start and end date between which I want to see the story from this point. I add two calculations (before header) to set the values of the selectors of dates for the minimum and maximum dates for the mark of history goes back to this article in the database and on the first time, a complete history of the item turns in pop. Now I can choose my own minimum and maximum dating bicker date element and press a button, now the pop up refreshes and shows me the story between the dates, I have chosen.
    Now I close the pop-up windows and click on something else, but here when pop up is charged, I see the old values of date (that I selected for the previous article) in the date picker and ideally my calculations must have worked and dates selectors should see the minimum and maximum dates for this item.

    Can someone help me solve the problem so that if ever a new pop-up is open to a new element, the element in date picker must have updated them to the values that should be linked to the new item I clicked on that moment rather than date of previous section values.

    Thanks in advance

    Salman

    Hello Salman,

    I think I understand now what you are aming at.
    You say you have a calculation for the popup that defines the values where they are used for the first time. What conditions you have on these points? I guess they are submitted every time that you run the update, so the State of the item is updated with these values. If you don't reset it, these values will persist and be taken to the next item, which is what you currently see.
    You can place a process in your calling page that resets the page desired elements to be null before your calculation evaluates their condition, so the calculation allows you to retrieve the values of database. Another option would be to send a trigger element (for example a hidden item PX_TRIGGER get value 1 on submit) to the target page, which is part of the condition of your calculation (PX_TRIGGER = 1) and reset the trigger in your calculation (: PX_TRIGGER = 0).
    Please correct me if I am wrong.

    -Udo

  • I can't reset the security questions. We received notice as below:

    Hello world

    I can't reset the security questions. We received notice as below:

    "Cannot reset Security Questions."

    We have insufficient information to reset your security questions. "

    Please help me as soon as possible! Thank you very much.

    Hello

    You will need to contact the Apple Support.

    The information is available here:

    Contact Apple for assistance with the security of the Apple ID - Apple Support accounts

    (I'm afraid that no one here can solve the problem for you - this is a user-based community).

  • НЕ МОГУ СБРОСИТЬ СЕКРЕТНЫЕ ВОПРОСЫ.  I can't reset the security questions.

    НЕ МОГУ СБРОСИТЬ СЕКРЕТНЫЕ ВОПРОСЫ. ДЕЛАЮ ВСЕ ПО ИНСТРУКЦИИ В ИТОГЕ ВЫХОДИТ: 'НЕДОСТАТОЧНО ИНФОРМАЦИИ ДЛЯ СБРОСА КОНТРОЛЬНЫХ ВОПРОСОВ' КАРТОЧКА ПРИВЯЗАНА ДЕЛАЛ ПОКУПКИ. ПОМОГИТЕ МОГУ ПРЕДОСТАВИТЬ ВСЮ ИНФОРМАЦИЮ.
    I can't reset the security questions. Do all that goes the instructions at the end: "not enough information to restore security" map is shopping. Help can provide all the information.
    -СТРАНА УКРАИНА ПОЭТОМУ И НЕ МОГУ ОБРАТИТЬСЯ В ПОДДЕРЖКУ-
    -LANDS OF UKRAINE AND CAN THEREFORE NOT APPLY TO THE SUPPORT.

    Did you follow this instruction? If you forgot your Apple ID - Apple Support security questions answered

  • Can I change the values of the variables in the variables view control?

    I want to use the variables view control in Labview. I see only the values, but I can't change the values or create new Variables. Will there be a chance to do?
    I use Labview 8.6.1 and Teststand 4.1.1.

    You must activate the edit mode for the ApplicationMgr, by setting ApplicationMgr.IsEditor to true. Note that you must have at least the license of the custom editor for teststand so that it works (otherwise it will prompt the user to activate a license with these privileges).

    Hope this helps,

    -Doug

  • How can I change the value of a control on front panel?

    On the front panel, I'm doing a complex control that consists of a Slider control and control of the digital inputs. Both controls display the same information and either may be used for entry. When changing value, I want the other control to display the same value.

    How can I change the value of a control on front flap when another control changes the value? I know how to use a structure of the event to detect value has changed, but I do not know how to impose control on front panel to change its value in the block diagram.

    Why do you not use a digital display on the slider, and no code is required:

    EDIT: Yes, he said. ***

  • How can I write the value of floats Unitronics vision230 PLC with modbus Ethernet

    How can I write the value of type Float in unitronics PLC Vision230 modbus ethernet (Ethernet Master Query.vi MB) usinsg I read and write register 32 bits, for example, I want to write the value 23.45 2nd Add. MF. And registry MF is the 32-bit registry. I read and write register 32-bit.

    Narendra.

    Narendra,

    Two characters can type cast into a uint16 you VI supports.

    To summarize. Take one (4 bytes). Flatten it to a string (4-byte) divided this string into two parts of 2 bytes each. Cast in u16 (16 x 2 = 32-bit).

    However, if you really want to follow the IEEE standards then you will need refer this KB. His is not that simple, but seems closer to what you are looking for.

    Amit

Maybe you are looking for

  • Workout app stuck with zoom

    (Apple Watch Sport, watch OS 2.2.1) Except for the initial menu of training options, the rest of the screen in the application of the training session is displayed as one might expect if we had zoomed in a little display (enough to cut the numbers to

  • Updating BIOS for Tecra M7

    Hi guys,. I tried a bios upgrade for my Tecra M7 (as it is on version 1.70 - 17/10/2006).I found version 3, 20-victory - but of course, I've replaced Windows with Linux. I'd feel safer doing the traditional way anyway, so is there a way to get the fo

  • Satellite C55: error - no boot device

    My laptop showing No. BOOTABLE DEVICE - insert the diskette of starting, and then press any key I do not have any disk how do I fix this

  • High-speed router of the provider is located in the basement

    Hello I think buying a system of Vonage, unless someone has something better to offer.  My wireless router is in the basement because when Verizon Fios we passed to the fiber is the simplest installation method.  My question is this: with my router i

  • Fake Notification icon blackBerry Smartphones!

    Hello all, I hope someone can help me with this problem. I did some research on this problem, and several others have the same problem, but no solutions. First of all, let me give you the basics: Info on the device Carrier: AT & T Info on the model: