Link a JSF table to a list of data that does not come from a database

Extract data from a database, I can just jDev Wizard allows you to 'Create EJB from the table' and link the EJB to a table of JSF in a NamedQuery.

However, in this case I am recovering from a list of data from an existing API or a Web service.

Someone at - it a good example of the best way to do it?

Hi Owen,.

You mean that you do not use anything from the ADF (RC components or controls data)?

Extract data from a database, I can just jDev Wizard allows you to 'Create EJB from the table' and link the EJB to a table of JSF in a NamedQuery.

The principle must be the same, regardless of how you get the data you return from the method (NamedQuery or something else).
Your example seems ok, so 4) is clear to you (I don't know how you lie the DataTable to the method, never used).

Pedja

Tags: Java

Similar Questions

  • Select the list with a shipment does not save to the database

    OK, I have a form with several fields (text, radiobox, selection list, display text). I have one of these lists of selection fill a display in the text field. When I chose a selection of the selection list, she filled the screen in the text field with the correct information but erased all the other information that was the inscription in the other fields. I searched the forum and found that the selection list should be a selection with mailing list and the branch page on itself, which works, but now these 2 fields information is not saved in the database. All other fields are saved, but not both. Anyone know what im missing? Thank you

    Deanna

    Hi Deanna,
    First the display as a text cannot insert data into the database. It can only display data from database. I guess you do not want the user to enter these areas, and that's why you use display as text field.

    There is a good way to resolve this situation. Say, you have 3 select list P1_ITEM1, P1_ITEM2, P1_ITEM3 in your page. For the change of P1_ITEM1 the screen Select the list and the LOV type in your query, assuming you want the value to be retrieved from a table. Therefore, type-

    Select emp_id, ename from emp;

    type the default value and null -1 and display null YESvalue. Make sure that under the type of source, you have the selected with the correct name database column.
    for P1_ITEM2 to the section LOV retype your query - i.e.

    Select mng_id, executive pay where emp_id = NV('P1_ITEM1') or NV ('P1_ITEM1') = 1

    Basically, this statement updating the data in the list select second after the first selection. type the default value and null -1 and display null YESvalue. Make sure that under the type of source, you have the selected with the correct name database column.

    Do the same for the third. It should work fine.

    I hope this helps.

    Kind regards

    Pascal M
    http://Tajuddin.whitepagesbd.com

  • After the upgrade from my bookmarks list shows the entries less than before; the indications you have search a Profiles folder that does not exist.

    After Update Firefox on all November 9, I lost the list of bookmarks that I had before and it could access it from my homepage. Now it does not appear there. When I followed the instructions on your mozillazine.org help page, it says to find a profile file that does not exist with this version.

    One possible cause is a problem with the places.sqlite file that stores the bookmarks and history.

  • If I click on Favorites and then scroll through the list of favorites, it does not show the entries in each file.

    * Original title: to access Favorites

    If I click on Favorites and then scroll through the list of favorites, it does not show the entries in each file but suddenly close showing the list of favorites. . I use Chrome and it happened all of a sudden. It was functional this morning. All the advice to fix this will be greatly appreciated

    Have you tried the Chrome forum? https://productforums.google.com/forum/#! forum/chrome

  • Media Player: I can't find a way to create a burn list, because the music does not appear in the media player library

    Hi all

    I loaded music from a USB key for the 'my music' folder in the document library, even though I can play music through media player, I can't find a way to create a burn list, because the music does not appear in the media player library - can you please help?

    Thank you

    Yvonne

    No need to copy and paste.  Simply add the folder that contains the music files to the library in this same dialog box.

  • Web sites appear in the form of lists of hyperlinks that are not interactive.

    I can't use certain websites, such as Charter.net and company store because they appear as a mishmash of lists of hyperlinks and pictures.  It happened all of a sudden this week.  Besides the change to Mozilla or another browser, what can I do to fix this?

    Hi Keverh,

    Welcome to the Microsoft community. According to the description of the problem sites appear in the form of lists of hyperlinks that are not interactive. Provide the following information:

    ·         Did you do changes on the computer before the show?

    ·         You get the error message?

    ·         You use Internet Explorer? If so, what version are you using?

    I'll help you with this problem. I suggest you follow these methods.

    Method 1: Follow the steps in the article.

    Can't access some Web sites in Internet Explorer

    Method 2: Perform an optimization of Internet Explorer.

    How to optimize Internet Explorer

    Note: Reset the Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.

    You can also read these articles for more information:

    Why a few blank pages or incorrectly displayed in Internet Explorer?

    Why can't I view some websites?

    I hope this helps. Let us know if you need help with Windows.

  • How to pin a point to move the list that does not appear in the common?

    http://www.eightforums.com/attachments/F1/F11/8991d1348615884-jump-lists-back-up-restore-Windows-8-file_explorer_jump_list.jpg

    I have file Explorer related to my taskbar. In the jump list, I can able to locate an element in the common area. But necessary file appears automatically on the point frequented it take time. I don't know how windows take to put inside of the frequent. With waiting for that appears automatically, is there a way we can pin an item that does not appear in the jump list frequent list?

    http://www.eightforums.com/attachments/F1/F11/8991d1348615884-jump-lists-back-up-restore-Windows-8-file_explorer_jump_list.jpg

    I have file Explorer related to my taskbar. In the jump list, I can able to locate an element in the common area. But necessary file appears automatically on the point frequented it take time. I don't know how windows take to put inside of the frequent. With waiting for that appears automatically, is there a way we can pin an item that does not appear in the jump list frequent list?

    The answer depends on what type of element you want to pin.  The only type of element you mentioned being a folder, you can easily do what you're wondering now and does not need to wait for a later version.

    In the 8 Windows desktop, when you drag an executable file (or shortcut) on the taskbar, a message appears that says "PIN to the taskbar.

    If you drag a document file (or a shortcut), the message will say "pine [associated application]"-in other words, "[name of the default browser] pine" for a html, "Pin to Notepad" file to a txt file, etc..

    For a folder, File Explorer is the associated application.  Therefore, if you open a file Explorer window, look for the desired folder and drag it to the taskbar, the message that appears is "PIN to the file Explorer."  Just click on it, and it will appear in the jumplist FE, above the frequent places, in a separate section called "Pinned".  You can drag things and down from there to order at your leisure.

    (The Control Panel, even if it is displayed in FE as 'File system', only let you pin on the desktop, for not not FE jumplist.)  There may be other special cases like this; I don't know, but it works usually as I've described, including for other system folders.)

    Just to be clear, I am a new user of Windows 8, far from being an expert.  I only know how it works because I heard today by trial and error.  So there may be more to what I can't help with.

  • The menu list of lateral nevigation does not (+) I put the Parent for some items list entry! Why?

    Dear all,

    The menu list of lateral nevigation does not extend I put the Parent list entry for some elements. (sublist extention does not) why? (APEX 4.2.4...)

    any iadea?

    cordially siya

    Siya,

    you choose wrong

    Model list-> vertical list with subtext and icons

    which consist of list with additional information about the entry in the list

    not a child of list (sublist)

    in order to choose another list as "Hierarchical expanding" model that adapts very well to your needs

    or

    See more blog which refer, what you want to achieve

    Creating a navigation menu of the accordion as jQuery | APEXPLAINED

  • Player version listed in the GUI does not match that of the executable file (new)

    I've posted about this before (http://forums.adobe.com/message/4817948), but has never been able to find an answer.

    I am currently deployment of Adobe Reader versions 10.1.5 using the MSI installer and group policy. The problem is that a user stops his midway to Windows 7 computer while installation MSI interrupt (i.e. screwing) installation process. I had to remove some entries from the registry and restart the PC of the user in order to restart the installation of the reader (something I've done in the past).

    To verify that the drive has been installed successfully, I navigate to the Reader (AcroRd32.exe) executable Program Files, double-click the executable, select on Adobe on the Help menu, check the version number in the info box and see that the version number is 10.1.4 (i.e. the old version that I'm upgrading to). However, when I travel to the Reader (AcroRd32.exe) executable in Program Files and and open the properties of the file, I see the version 10.1.5 (i.e. the new version I am upgrading to).

    So the Player version listed in the GUI does not match that specified in the executable box.

    It's the second time that this has happened with a Windows 7 PC. I've never known this kind of thing with a PC running Windows XP.

    Why is the different version number in the GUI? Where the version number read to leave for the GUI? The registry? Anyone can shed some light on this situation?

    Hi Grittyminder,

    Remove some reg entries is not going to give you clean uninstall if you pouvez get a viable product. You can run this to get a better result: http://labs.adobe.com/downloads/acrobatcleaner.html.

    While I don't know what the problem is, it would be interesting to check the version of the product using the MSI API as described in the guide of the administrator to the www.adobe.com/go/acrobatetk.

    Ben

  • How to uninstall an add-on that does not appear on my list?

    When I go on my Facebook page, part of it has a message that maybe reading "ads go to save" a hundred times on the page. If I click on a photo or something, "ads browse for save" will reappear, as long as the window is open, it is almost impossible to comment/read of other comments. I clicked on the link and it brought me to browsetosave.com which gives instructions on how to uninstall from firefox.

    The PROBLEM is that 'Browse to save' does not appear on the list of extensions/add-ons/plug-ins. It's happened before with an 'ad' different Web site and I had to uninstall/reinstall firefox. I was hoping to not have to do it again, especially since I don't know what is the cause. I would like to make the screenshots (although I don't see where to add it).

    Any help would be appreciated!

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do not click on the reset button on the start safe mode window or make changes.

    Do a check with some malware malware, analysis of programs on the Windows computer.

    You need to scan with all programs, because each program detects a different malicious program.

    Make sure that you update each program to get the latest version of their databases before scanning.

    Alternatively, you can write a check for an infection rootkit TDSSKiller.

    See also:

  • Installation of windows 7. Install says that I must remove anti-virus program that does not appear in my program list? __

    I am trying to install windows 7 Home Premium on the Visa.  Setting up tells me that I have to remove "Kaspersky Anti-virus".  It is, I don't have any listed program like "Kaspersky Anti-virus" in my programs.   I have an my ISP anti-virus program, however, does not Kaspersky.  I got anti-virus turned off when you try to install windows.   Anyone have any ideas?

    Hi algrant,.

    Welcome to the Microsoft Answers site!

    during the uninstallation of Kaspersky products such as Kaspersky Internet Security, Kaspersky Anti-virus , it leaves some files on the computer and is not completely uninstalled. But you can remove it completely using Kaspersky remover tool. Download the tool and remove the program completely. Search using your favorite for more information search engine.

    After uninstalling Kaspersky, also turn off the Windows Firewall or any other third-party firewall and then start the installation.

    You can download the Kaspersky remover tool from the link below:

    http://support.Kaspersky.com/FAQ/?QID=208279463

    Important note: this response contains a reference to third party World Wide Web site. Microsoft provides this information as a convenience to you. Microsoft does not control these sites and no has not tested any software or information found on these sites; Therefore, Microsoft cannot make any approach to quality, security or the ability of a software or information that are there. There are the dangers inherent in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Kind regards
    Amal-Microsoft Support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Lists of reminders app does not display all the reminder

    Hello

    I updated my Apple Watch watch OS 3 day it out and he was happy to see a new application of recalls has been added, because I use it on my iPhone 6.

    Unfortunately, when I open it on my watch, I don't see any of my reminders or recall lists. Just a 'regular' list which is empty, even if I have the items in the list on my iPhone.

    ask yourself how can I fix?

    iPhone 6 - iOS 10

    Apple Watch purchased Oct 15 - Watch BONES 3

    Got my iCloud account as default for reminders, as well as on the iPhone and watch.

    Thank you

    I'm having the same problem, but also another friend.  The functionality of Siri to set a reminder on the watch does not either.  How can I fix?  It's an update, I was more enthusiastic.

  • How to remove a Gmail folder that does not show in the list of subscription?

    I have a folder in my Gmail Inbox that I can't remove it using either Delete, and that is not appear in the list of subscribers. How can I remove it? There is no in my Web Gmail account. I get an error message that the Gmail server cannot delete a "folder from an unknown source.

    I solved my problem. Everything simply closing and reopening the tree Gmail made the folder disappear.

  • Why don't the bars of links or search on the top half of the page does not work on any site when I use firefox but work fine in Internet Explorer?

    links and bars research on top of half of the pages do not work and is not that I click on them and they don't work, but it won't let me click on it it's like he doesn't see the

    Recently, the Yahoo toolbar and the extension of Babylon have been reported because of this problem. They appear to overlap invisibly on the top of the display of the web page. If you have one or both, uninstall or disable them/it or see if an update is available that solves the problem.

    If this does not resolve the problem:

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

  • Why is the link "Firefox cannot load Web sites but other programs can" does not? "

    This link seems broken.

    Works fine for me: https://support.mozilla.com/en-US/kb/Firefox%20cannot%20load%20websites%20but%20other%20programs%20can

    What do you get when you try?

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

    Not related to your question, but...

    You must update some plug-ins:

Maybe you are looking for

  • Repair Bootcamp

    Hello I use bootcamp for over a year now and it has worked perfectly well. Now the problem is quite complex I'll try my best to explain here: I have a MacbookPro, 500 GB of HDD, and my bootcamp is 100 GB that, although Macintosh HD or 396, I also own

  • FCPX analysis sequences for stabilization, then stabilization rounds off the coast, which escapes me?

    I have the clip in a cam multi format, but I realized that I just couldn't stabilize a multi-cam even, the option was not available. So I went in the multi-cam clip and tried stabilizing angle, cut the part I was using and let the stabilizer integrat

  • Satellite L855 - why updates cannot be more precise?

    Update BIOS to L855The only detail I can find is:* This update of the Bios adds functionality to your system *. A more detailed explanation of this "feature" would be useful to decide whether to update the bios, or if a update to importance of course

  • Windows Vista update KB980248 on my Sony VGC-JS160J installation returns error code 80070017

    There is a persistant problem with my computer. It is a 64-bit system with Pentium Dual - Core CPU E5200 @ 2.50 GHz and 4.0 GB RAM. No idea why the update fails? What are the consequences of not being able to install it?

  • Update the domain in the event Manager

    Hi, I have a problem with a PostProcess EventHandler.My code gets "ID Manager" of a user, search for it in the "employee number" of all users and gets the "display name" of the corresponding Manager to put in the 'Manager' of the user field.It works