I want use an ArrayList into a DataTable in JSF application, but the JSP gi

jsf code
<h:dataTable value="#{EmpBean.lDocumentos}" var="TBean" id="TablaDoc">
<h:column>
<f:facet name="header">
<h:outputText value="N�mero"/>
</f:facet>
<h:outputText value="#{TBean.numero}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Revisi�n"/>
</f:facet>
<h:outputText value="#{TBean.revision}"/>
</h:column>
</h:dataTable>
Entity Bean for Table
public class TBean {
String numero = "";
String revision = "";
/** Creates a new instance of EmpBean */
public TBean() {
public void setNumero(String _numero) {
numero = _numero;
public String getNumero() {
return numero;
public void setRevision(String _revision) {
revision = _revision;
public String getRevision() {
return revision;
faces config file
<managed-bean>
<description>Input Value Holder</description>
<managed-bean-name>TBean</managed-bean-name>
<managed-bean-class>emp.TBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
Bean refer by jsf
public class EmpBean {
ArrayList lDocumentos = new ArrayList();
/** Creates a new instance of EmpBean */
public EmpBean() {
TBean ob1 = new TBean();
ob1.setNumero("ee");
ob1.setRevision("rr");
lDocumentos.add(ob1);
public ArrayList getBranchList() {
return getAllbranchList();
public ArrayList getLDocumentos() {
return lDocumentos;
public void setLDocumentos(ArrayList _lDocumentos) {
lDocumentos = _lDocumentos;
IM getting the following error
javax.servlet.ServletException: javax.servlet.jsp.JspException: Error getting property 'lDocumentos' from bean of type emp.EmpBean
pls replay
Thanks

#{EmpBean.lDocumentos}I don't see the EmpBean in the faces-config?
Anyway, this is not the way to use datatables and you're using the confusing name "bean" for an ordinary data wrapper object. Also you assigned var="TBean", which makes it even more confusing.
Check http://balusc.xs4all.nl/srv/dev-jep-dat.html how to use datatables.

Similar Messages

  • Register Applications photoshop CC   Lightroom 300 baht per month Creative Cloud desktop install and load the program into Lightroom down normally open normally, but the work load photoshop program installed. Open access Like we use it to fill a 30-day tr

    Register Applications photoshop CC   Lightroom 300 baht per month Creative Cloud desktop install and load the program into Lightroom down normally open normally, but the work load photoshop program installed. Open access Like we use it to fill a 30-day trial version, serial no.

    1) WHAT if I juse JUST ONE Adobe program pretty often? 
    They have a single use subscription for $20/mo.  Similar to upgrading extended version every 1.5 years.
    2)  WHAT if I created projects like 2 months ago and I didn't use Photoshop for a full month.  Who assures us that with the CC series the projects are opened with the old CS ones?Or don't use it every day?
    Same problem if you own it.  If upgrade price is $400 every 1.5 year that is same as $16/month.  You can choose not to update and version will be same as when you last used it.
    3) WHAT if I don't use Adobe 24/7?  and 5) Making an day-based subscription??  Same problem if you own it.  If upgrade price is $400 every 1.5 year that is same as $16/month.
    4) Adobe, do you think to be the only one making these softwares?
    Competition is always a factor in market.
    6) After all this mess, you discriminate Europeans, too?
    Taxes charged by Governments and municipalities are not controlled by Adobe.

  • I had to re-install XP on my laptop. I installed itunes. Now I want to restore my music from backup CD's. But the option device under file is greyed out. I can't select restore from backup. How do I make the restore option active. I have an ipod nano

    I had to re-install XP on my laptop. I then installed itunes again. Now I want to restore my music from backup CD's. But the option device under file is greyed out. I can't select restore from backup. How do I make the restore option active? i have an IPOD nano.

    I think it's QuickTime player causing the problem, when I try to open it I get the windows error that an error has occured
    Let's try swapping out your QuickTime again, taking a few extra explicit precautions this time.
    Head into your Add/Remove programs. uninstall QuickTime.
    Next, we’ll manually remove any leftover program files and folders.
    1. On the Start menu, click My Computer (or double-click My Computer on the Desktop).
    2. In My Computer, open Local Disk.
    3. Open Program Files.
    4. Right-click on the QuickTime folder and click Delete from the shortcut menu.
    5. Navigate to C:\Windows\system32\.
    6. Remove the files QuickTime.qts and QuicktimeVR.qtx. (If “Hide filename extensions for known file types” is enabled on the PC, then those two files will appear as “QuickTime” and QuickTimeVR”.)
    7. Restart your computer.
    Now download and save a copy of the latest standalone QuickTime installer to your hard drive. (We'll run the install from there rather than online.)
    Latest Quicktime Installers … get the one that doesn’t mention iTunes
    Switch off antivirus and antispyware applications prior to the install. Start the install by doubleclicking the QuickTimeInstaller.exe.
    If that install goes through okay, restart the PC and try launching iTunes again. Does your iTunes launch properly now?
    (If you get an error message on the QuickTime uninstall or standalone reinstall, let us know what it says. Include error message numbers if you're getting any.)

  • I want to restore my data after my pad was reset, but the latest backup was 5 months back. What can I do?

    I want to restore my data after my pad was reset, but the latest backup was 5 months back. What can I do?

    There is nothing that you can do. If you don't have a more recent backup, you can't magically create a current backup now. You can use the 5 month old backup, or simply start all over again. You can download most of your purchased content again as long as you use the same Apple ID that you used to make the purchases.

  • I'm trying to create a list using CustomSchemalXml property in ListCreationInformation object in CSOM. But, the code throws an error "Invalid List Schema".

    I'm trying to create a list using CustomSchemalXml  property in ListCreationInformation object in CSOM. But, the code throws an error "Invalid List Schema". Any pointers on how to set the CustomSchemalXml property?
    Sri

    Hi Lakshmanan,
    Thanks for your reply.
    I checked this post and there was no solution to the problem there. I undersand we cannot create a list based on custom template in CSOM, but what I'm looking for is how of form xml and set it to CustomSchemalXml
     property, so that everytime when I want to create a list with similar content types and stuff, I can just set the
    CustomSchemalXml  property. 
    Sri

  • I can not download any files using Safari ? when I choose to download application file the URL include the file name and stop responding. Any help??

    I can not download any files using Safari ? when I choose to download application file the URL include the file name and stop responding. Any help??

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up a guest account” (without the quotes) in the search box.
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem(s)?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault in Mac OS X 10.7 or later, then you can’t enable the Guest account. The Guest login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    *Note: If FileVault is enabled under Mac OS X 10.7 or later, you can’t boot in safe mode.
    Test while in safe mode. Same problem(s)?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • Why the bottom of the screen of my ipod can not be used to open the application but the application could be to shift

    why the bottom of the screen of my ipod can not be used to open the application but the application could be to shift, please help me

    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                                              

  • I want to change my security question in my apple accnt. but the problem is, there is no Link shown that i could reset or change my security questions. please help!!

    i want to change my security question in my apple account. but the problem is, there is no Link shown that i could reset or change my security questions. please help!!

    You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
    (117399)

  • I wanted to tie my new iPhone by its serial number, but the message that it is already bound to another Id. Why, because a new phone?

    I wanted to tie my new iPhone by its serial number, but the message that it is already bound to another Id. Why, because a new phone?

    Can you explain what you mean by "...tie my new iPhone by its serial number?"

  • I have the Iphone 5, and it shuts off randomly and the screen glitches. I have taken it into verizon and had it reset but the problem still continues. Is the only way to fix the problem to get a new phone?

    I have the Iphone 5, and it shuts off randomly and the screen glitches. I have taken it into verizon and had it reset but the problem still continues. Is the only way to fix the problem to get a new phone? Also, why is it if I do need a new phone I can only get a refurbished one when I am paying insurance every month?

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved.
    If the issue persists, take the device to Apple for evaluation.

  • Upgraded to iPhone 6, cannot get into iCloud. "The password you entered is incorrect" even though I used the same Apple ID and password that I used to log into this session.  My wife has the same issue with her iPhone 6 as well.

    iPhone 6 (iOS 8.1.2) My wife and I were able to log into iCloud when we bought and activated the phones.  In the last 2 days, we have not been able to do so.  Have reset the password 3 times.  Can get into iTunes and iCloud via MacBook Pro.  Every attempt to log in via iPhone we get a message saying the password is incorrect.  I noticed someone else had a similar problem about 1 hour ago.  Apple support's answer did not fix the problem for them.

    have you managed to fix that? i'm facing the same issue on iPhone 6 (8.1.3)

  • I have an MP4 home vid in itunes.  I cannot get it onto my ipad. I tried "create new version" to make it into a format suitable for ipad, but the options were greyed out.  Any help appreciated.

    I have created a home video, using my Panasonic Camera, and a high definition SD card.  It is now on my computer as anMTS file, which I converted into an MP4 as well.
    But I cannot get this file onto my ipad.  I have tried countless ways.  I finally today thought I had the answer..........the MP4 file is now in Itunes (I hate itunes, it is so user-unfriendly) and I read that I need to click on it, go to "create new version" and select the ipad version.  But those options were greyed out.  !!!  Aaargh!  Frustration!  Any help gratefully recieved.

    You can try and import your MP4 using free OPlayer HD Lite via File Sharing.
    https://itunes.apple.com/sg/app/oplayerhd-lite-best-free-video/id385896088?mt=8

  • Using Azure Python API to create VM without exception, but the VM is not launched....

    This is the scenarios:
    I have created a custom Linux VM image and I have successfully launch a VM using the Python API on region US-WESt.  
    My goal is to create a custom Linux VM on a VNET.
    This is what I have done:
    1. Knowing that using Python API to create Virtual Network (VNET) is not supported yet, I manually created a VNET using Console.
    2. Using Python API to create hosted service (cloud service) on the same location as the VNET I created.
    3. Using Python API to launch the VM on the VNET.
    4. without any exception nor error, the VM is just not created...
    The Python APIs I used:
    #create a VM
    name = 'myCloudN'
    location = 'West US'
    sms.create_hosted_service(service_name=name,
        label=name,
        location=location)
    image_name = 'cloudN-Azure-20150205-os-2015-02-05'
    media_link = 'https://xxxxxxxxxxxxxxxxxxxxxx.windows.net/vhds/cloudN-Azure-20150205-os-2015-02-05.vhd'
    linux_config = LinuxConfigurationSet('cloudN-1', 'ubuntu', 'ubuntu1!', True)
    os_hd = OSVirtualHardDisk(image_name, media_link)
    vnet_name = 'test1'
    sms.create_virtual_machine_deployment(
        service_name=name,
        deployment_name=name,
        deployment_slot='production',
        label=name,
        role_name=name,
        system_config=linux_config,
        os_virtual_hard_disk=os_hd,
        virtual_network_name=vnet_name,
        role_size='Small')
    <azure.servicemanagement.AsynchronousOperationResult object at 0x90669ec>   <=====I got this
    try:
       props = sms.get_deployment_by_name(name, name)
       print vars(props)
    except Exception as pe:
       print "Error on get_deployment: %s" %str(pe)
    Error on get_deployment: Not found (Not Found)  <======== Cannot find my VM
    Did I miss anything or the Python API is not ready for this yet....
    Please help.
    Big thanks in advance...

    I did create the cloud service.   In my original post, the first thing I do is to create the cloud service.
    The API I used to create cloud service was "create_hosted_service".
    #create a VM
    name = 'myCloudN'
    location = 'West US'
    sms.create_hosted_service(service_name=name,
        label=name,
        location=location)
    Please help.

  • Can i use ADF faces in Eclipse to develop JSF applications

    Hi,
    i have used Jdeveloper to develop JSF based application but for some reasons
    i need to run this application in Ecplise. Is there any possibility for that.

    Yes,
    you can run ADF Faces applications in Eclipse. However, if you use ADF for binding then this may be a bit more complicated
    Frank

  • Using NI LabVIEW PID.vi to control 4 quadrant dc power supply in MOKE application; but the Process Variable won't achieving Zero Set Point, oscillating either side of zero instead !! Please help me to resolve this issue

    Please see the image also where the PID values can be seen.
    Thank You

    Hi Aruvi,
    PID controls are made for linear systems. When your system acts nonlinear you need to use a different control algorithm - or adapt your PID to use different PID parameters depending on system workpoint!
    In the PID toolkit you will find a GainSchedule function that helps you in this matter…
    And PLEASE put more text in the message body and (much) less in the topic title!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

Maybe you are looking for

  • Calling a bounded task flow from  an unbounded task flow

    How can I navigate from an unbounded task flow to a bounded task flow.... My situation is as follows: In the adfc-config.xml, I have a view activity ADMhome, Wildcard as well as a task-flow-call, admTaskFlow.  A control flow goes from the wildcard to

  • Cross-intercompany purchasing --about goods receipt in the receiving plant

    Hello, everyone. In cross-intercompany purchasing process, the goods receipt in the receiving plant can not posted at the same time as the goods issue in the issuing plant, but i have done  the relevant custom design in system, the path as below: Mat

  • Flash player skips to a green screen when fast forwarding video OSX 10.8.2

    Right so I have searched the forum and found a few threads about flash videos generally being a green screen, but nothing there helped my problem, nor did it seem similar. I have a 15" MacbookPro Retina running OSX Mountain Lion 10.8.2, my flash play

  • CProjects- Control Plan

    Hi All, I am working on cProjects. When I assign the control plan on the Project definition it is created. I can create the process & assign the tools & characteritics. But in the additional data for characteristics the fields are greyed. Example ; I

  • Develop on Windows, run on Solaris - Best Practices?

    We're moving from windows 2003 server to Solaris x86-64/sparc environment - 10gR2 app server and db. Currently, since our servers are in a remote datacenter, we just VPN onto one of our windows server, which has the dev tools and standalone oc4j runn