Data not displayed from List using h:datatable

hi
iam getting the error:
Error getting property 'cell' from bean type of java.lang.String...
can u please tell where might i have gone wrong.....and actually what does this error mean...
iam using jsf 1.1,netbeans 5.5 and tomcat 5.5.17
thanks in advance

hi.......thank you very much
iam getting different error :Error getting property 'Cell' from bean of type org.TData1
here iam sending necessary part of code as the code is large....can u please check where iam going wrong..
bean class
public class Htpg
List data=new ArrayList();
UIData projectTable;
private TData1 td;
public Htpg() { }
public List getData()
try {
Element element;
int total = 0;
while(i.hasNext()) {
element=(Element)i.next();
if(element.getName().equalsIgnoreCase("tr")) {
if(i.hasNext()){
element = (Element)i.next();
if(element.getName().equalsIgnoreCase("td")) {
td=new TData1(); // has getters and setters
td.setCell(element.getContent().toString().trim());
element = (Element)i.next();
td. setMade(element.getContent().toString().trim());
element = (Element)i.next();
total++;
data.add(td);
}//if
}//if
}//if
}//while
} catch (Exception e) {
System.out.println("exception");
return data;
public void setData(List data)
this.data=data;
public UIData getProjectTable() {
return projectTable;
public void setProjectTable(UIData ProjectTable) {
this.projectTable = projectTable;
public String selectData()
td=(TData1)projectTable.getRowData();
return "found";
jsp page
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<h1>JSP Page</h1>
<f:view>
<h:form>
<h:dataTable value="#{htpg.data}" var="td" binding="#{htpg.projectTable}">
<h:column>
<f:facet name="header">
<h:outputText value="CELL" />
</f:facet>
<h:outputText value= "#{td.Cell}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="MADE" />
</f:facet>
<h:outputText value= "#{td.Made}" />
</h:column>
</h:dataTable>
</h:form>
</f:view>
</body>
</html>
getters and setters
public class TData1 {
private String Cell;
private String Made;
public TData1() {}
public String getCell() {
return Cell;
public void setCell(String Cell) {
this.Cell = Cell;
public String getMade() {
return Made;
public void setMade(String Made) {
this.Made = Made;
faces-config.xml
<faces-config>
<managed-bean>
<managed-bean-name>htpg</managed-bean-name>
<managed-bean-class>org.Htpg</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<navigation-rule>
<from-view-id>/index.jsp</from-view-id>
</navigation-rule>
</faces-config>
iam trying from so many days.........i have to submit this....so this is very much needed..
thanks in advance...

Similar Messages

  • Hierarchy Node Variable is not displaying full list of Hierarchy

    Hi,
    I loaded Hierarchy  to an info object using flat file.
    When i created a test reports and settings to display of MAster Data of Char and executed the report
    The output displays full list of Hierarchy
    Now to have a User Entry on Hierarchy ...created a Hierarchy Node variable and executed the value help of Hierarchy Node variable is not displaying fill list of Hierarchy ...its only displaying first 15 entries in Hierarchy.
    I changed the settings of variable...etc but couldn't get the Hierarchy full list in User entry selection
    How can i fix it...
    Thanks in advance

    If anyone has the same problem, I think I found the reason when transported to production.
    BW7.3 (at least) can not show the hierarchy nodes if there is no transactional data loaded.
    So do your hierarchies only after the data has been loaded..

  • I just bought a new Mac and I want to transfer some data (not all) from my old Mac.  Basically, I want to move my itunes library, iphoto library, and a few documents.  I have not even turned on my new Mac yet.  Is the best way by an external hard drive?

    I just bought a new Mac and I want to transfer some data (not all) from my old Mac.  Basically, I want to move my itunes library, iphoto library, and a few documents.  I have not even turned on my new Mac yet.  Is the best way by an external hard drive?

    If both have Firewire ports then you can accomplish your goal by using Target Disk Mode. If this is not possible then you can do using an external drive or if you have a local network connect both to your network and use filesharing between the two computers.
    File Sharing on Macs
    Mac 101- File Sharing

  • I am really pisssed off at two characteristics of Firefox 4: Size and position do not stick, and view menu selections do not stick from one use to the next.

    I am really pissed off at two characteristics of Firefox 4: 1) Toolbar selections don't stick and 2) firefox window position and size settings do not stick from one use to the next.
    The Bookmarks toolbar is the selection that does not stick, and Firefox, even though I set it to the size and position I want every time I use the program, always loads flush left, full top to botton, and about 1/3 of the width of the screen EVERY TIME it loads. These two characteristics are extreme pains in the ass.

    This problem occurs on the Juno webmail site?
    I assume you are doing something different than just correcting the squiggly red underlined words. How are you spell-checking the email: using an add-on or using a feature of the Juno webmail site? If it's an add-on, which one is it?

  • Expiration date not displaying after upgrade from 2007 to 2013

    I recently upgraded from MOSS 2007 to 2013.  I have information management set up on a library of InfoPath forms.  For the forms that were created prior to the upgrade, the expiration date is displaying and actually get updated if I modify them. 
    But none of my forms that have been created after the upgrade, are displaying when the expiration date is, which should be one year from modify date.  If I modify the forms created prior to the upgrade, they reflect the new, update date.
    Are these new forms not getting the policy applied to them, and why not?  I am not sure why the older forms are getting updated, but not my new ones.
    Denise E.

    Hi Denise,
    According to your description, my understanding is that the Expiration date column was not displaying values after upgrading from SharePoint 2007 to SharePoint 2013.
    Per my knowledge, we can only use the date column which is added to the library or list or the Declared Recorded date to set the retention policy, so if the Expiration date is used in the retention policy then the Expiration date should be a column in the
    library or list.
    I recommend to check the retention policy in the library and see which column is used in the retention policy as the image below shows:
    After that, go to the Library settings to find this column.
    Could you please provide screenshots of the retention policy and the columns in the Library settings page?
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Intel MacBooks not displaying users list from WGM

    Hello folks,
    I have a situation where all my Intel iMacs connect to my OD server fine, pulls down the WGM user lists and logs in fine. However I also have about 8 Intel MacBooks that are meant to connect wirelessly to this same server. For some reason I can not figure the MacBooks, connect fine, I can even bind them but they do not display the users list. I thought maybe the wireless connection may have something to do with it, so I plugged them directly into the data cable and still no luck. I ensured that on the local machine the user account is set to display as a list. I have created the computer list in WGM for the MacBooks, all to no avail. I have been scouring the forums but no breakthrough yet. Any ideas from anyone will be greatly appreciated.
    G5 Mac OS X (10.4.8)

    The list of users is a plist file and should be at at /Library/Preferences/com.apple.loginwindow.plist on the clients. See this thread for more information:
    http://discussions.apple.com/thread.jspa?messageID=2368769&#2368769
    If you've got a good plist from a client that sees the right users, you should be able to copy it over. If not, try backing up the file from one client and then deleting it and restarting.

  • Header data not coming from vendor master when creating SA using BAPI

    Hello,
    I am creating SA using BAPI_SA_CREATE. I am passing the vendor code and other header related data in the header table of the BAPI.
    SA is created successfully with all the data that is passed to the BAPI. Now if the payment term and inco terms data is passed initial to BAPI then this data is not taken from vendor master. This data appears blank in SA.
    Shouldn't this data be picked up from vendor master as they are maintained properly in vendor master?
    I just need confirmation whether BAPI picks or not from vendor master if the data (payment term and inco terms) passed is initial.
    Thanks and Regards,
    Saba

    Hi,
    Are u passing X to corresponding fields of HEADER structure what ever you have populated in HEADER structure .

  • How to add new field to table control data not displayed

    hi
    I have added some nwe fields to already existing table control added three new fields...
    though the recoreds are inserted in teh table properly with the three new fields user id data and time fields
    but on display only the data is not shown in these three columns though the data is coming in internal table...but not to the screen output
    pls suggest where the problme may be
    nishant

    First try the small button Configuration on top right of the table control, as displayed when you run the program. Hit 'Administrator' and see if the fields are checked as invisible. Uncheck them, activate and save.
    If the fields are not in that list at all, then check if the table control is initialized for the screen you use. For example
    CONTROLS: tc_ent_lines TYPE TABLEVIEW USING SCREEN '0100'.
    but you copied your screen and use the same table control in the new screen 0200. Then all you have to do is
    REFRESH CONTROL 'TC_ENT_LINES' FROM SCREEN '0200'.
    before you show the screen.

  • Problem with data not displaying in website

    Hello All,
       I am having a problem with one of our applications. It is written in ColdFusion and uses SQL server. The problem that we are having is when we use the URL Http://bma.com (that is not actually the site name)  we cannot see all the data that it is suppose to pull in. I get an error on page and when I select to view the error this is what I get
    Message: 'WddxRecordset' is undefined Line: 184 Char: 2 Code: 0 URI: http://bma.com/user_maintenance.cfm and Message: 'jsusersTLV' is undefined Line: 3208 Char: 6 Code: 0 URI: http://bma.com/user_maintenance.cfm
    If I put the IP address in the URL for example http://165.83.109.246/bma/login.cfm all of the data is displayed as it should.
    Any thoughts or sugguestios on how to correct this?
    Thanks

    Yes, the user_maintenance.cfm is one of the forms that the data is not displaying on. There are multiple forms in the application and that just happens to be one of them. the login.cfm is just the login screen. Once you select your name and enter your password to the application then you can select the user maintenance form. If you select someones name the application should pull in all of that persons information. That is the problem, it is not pulling in any information on the user. We get a blank screen where data should be. When we use the IP address in the URL and select someones name in the user manintenance form, it pulls in all the data from that user as it should.

  • Data not displayed for Key Figure of MultiProvider

    Hi Folks,
    I have created a Query on MultiProvider which is actually copied from another Query(based on InfoCube) using RSZC. Now I have the problem with display of data for a KeyFigure in report. No data is displayed for the KeyFigure. The MultiProvider has Two InfoCubes where the KeyFigure is related to one of the two Cubes. The data is shown at the MultiProvider level. I have also checked for a new query on the same MultiProvider. Here too the data is shown in the report for the KeyFigure. But it's not showing in the Query which is copied from another.
    Any assistance on the same is really appreciated.
    Thanks,
    Raju. Dupadally

    Hi Diaz,
    Thanks for your answer. Could you make it understandable. I haven't understood fully.
    Thanks,
    Raju. D

  • Files not displaying in list view?

    I recently upgraded my MacPro (early 2008 8core) from Snow Leopard (10.6.8)  to Lion.
    At first i wanted to do a fresh install on my machine but soon realised it wasnt possible to import old accounts from another internal drive so i opted to upgrade the system instead.
    After doing so I was faced with an odd problem of files not displaying in my finder windows when switching through internal drives or changing from 'file view' to 'list view' or 'column view' etc...
    The attached screenshots were taken in sequence youll also note that the path bar & top window name dont update either.
    The relevant drives are in healthy condition with several tests run over them to ensure their healthy(Disk Utility & Drive Genius). I have also run permissions repair, and a utility to empty cahces etc (OnyX). From what i can see its possibly something to do with the Finder not updating or refreshing the window? The issue seems to be isolated to the drives however intermittently the problem exists deeper into the directory on 'TerraTank' Volume.
    The finder also crashes semi-frequently and the problem seems to dispaear for a while and revealing the contents of these volumes for a few mins.
    I have also checked activity monitor to see if any particular process was going haywire and all seemed relativly normal.
    Has anyone else experienced this problem?
    Regards,
    JP

    Onyx may be causing problems.  Don't use it on a non-backed up system, as cleaning caches may damage them, and make things not work.    Make sure your Spotlight indexes all drives you wish to be searchable.  Go to Apple menu -> System Preferences -> Spotlight and add each hard drive to the Privacy section, and then remove it again.  Then click on the Spotlight menu every half hour to see when it stops saying that it is indexing.  It might take a few hours.  But once done, it should be fixed.

  • Database Data Security: both from within (using MIMEbase64 encoding) and from without (using encryption).

    In my MDB file databases (Jet 4.x format) I turn on both compression and encryption.  This gives me data security from without, meaning, I can't open a MDB file in a Word Processing software (or otherwise) and read the data in a humanly recognized
    format.   But I am also using MIMEbase64 encoding of my stored data so that the data is humanly unreadable from within - meaning that anyone performing an SQL query will not be able to humanly read the data in my database.  I do the decoding
    (from MIMEbase64) within my end-user software interfaces to the databases. 
    I found out just recently (last few months) that I can do this from Win32 Perl, so I encorporated this feature into my Perl database applications.   Only thing is that MIMEbase64 increases the size of the data stored.
    Is there a better encoding strategy available today which might actually compress the data a little?    

     INSTRUCTIONS FOR SECURE/CUSTOM (non-formula based) TEXTFILE ENCODING (should be undecipherable w/o mappings file):
    by Eric C. Hansen. You may freely use these encoding instructions, and the code I have provided, but please
    acknowledge me as the author where credit is due - such as in a publication. And do not try to sell it.
    However, any code I have provided you may freely use in any programs you write to be sold for your own profit,
    except you may not attempt to sell this encoding scheme (or my code provided), as a generic encoding tool, for
    general use, to be marketed as a turn-key custom encoding solution. 
    (1) Create a unique code list 
          Using the characters:  A-Z a-z 0-9 only. That's 62 characters only.  
           62 (1 char codes) + 3844 (2 char codes) + 238,328 (3 char codes) = 242,234 total codes
                     62x1         +      62x62         +       62x62x62    
           REMINDS ME of my college Genetics course i.e. dominant/recessive trait inheritance tables  
           EXAMPLE CODES:  a, k, 3c, A4, xy1, H8j
    (2) Create a unique word(+punc) list from your textfile which is to be encoded. You know how to do this.
           Example of 9 words(+punc) found between whitespace within a textfile input line:
                "Hello", this is Mr. Bell-va-deer. My number is 999-342-8998.   
                    1       2    3   4       5              6      7       8       9
     PERL code for STEPS 3-7 is provided below. Code for STEP 1 above was previously provided. 
             You should have little trouble writing the textfile encode/decode logic yourself.  
    (3) Read your list of unique codes into an array.
    (4) Read your list of unique words(+punc) into another array.
         LOOP   #-- 0 to number of elements in words array
                (5)     select a random code and a random word(+punc) from the 2 arrays.
                (6)     now remove that code and that word(+punc) from each array using "splice".
                (7)     then save them as key/val pairs to persistent Perl SDBM database files ("mappings").  
         END LOOP
     (8) Once you have your persistent, random code/word mappings, you can convert your textfile
          to an encoded textfile. Read in one line at a time from your textfile (chomp), parse the words(+punc.)
         between whitespace within that line, then for each word(+punc) parsed, perform
         the word-to-code mapping conversions by doing a lookup within the Perl SDBM database
         file of key/val pairs, where KEY=word and VAL=code. You will then need to 
         concatenate these codes (space delimited) to your outputline, in the same order as found in your
         inputline, finally writing the outputline (newline "\n" terminated) to your new encoded textfile.    
    (9) Keep your persistent Perl SDBM database file ("mappings") in SAFE KEEPING, with a naming
         convention of your choice that perhaps hides any relationship to the name of
         your encoded text document - which it specifically pertains to. But keep a record of that joint
        relationship somewhere.  Keep a copy of both the original textfile and the encoded textfile,
        or perhaps you'd like to keep just the encoded textfile?, and not the original?  You can always decode it. 
    (10) Send your encoded text document via email as an attachment, to the recipient of your choice.
    (11) Upload your persistent Perl SDBM database "mappings" file to your secure login FTP download site. 
         NOTE:  If your encoded text document is very large, you may want to reverse 10 & 11, putting the encoded file
             on the FTP site, and sending the Perl SDBM database file ("mappings") as the email attachment.
    (12) Call your recipient to see if they have received the encoded textfile, email attachment.
         Let them know that the "mappings" file is uploaded for them to download from the FTP site.
        You can have a LINGO you both use/know on the phone, to secretly convey this message, if you like,
          to avoid possible interception of this sensitive information.
         Recipient will then take the encoded textfile email attachment, the FTP downloaded "mappings" file,
        and place them both in a directory on their PC where the Perl decoding program is located which you
         had previously sent them to handle all the decoding anytime you send them an encoded textfile + "mappings".
         Recipient will run the Perl decoding utility program to create the original textfile.
    use Win32;         #-- as you can see, I use a Windows O/S Perl distribution. 
    use IO::Handle;
    use SDBM_File;     #-- my understanding is this module comes standard with every Perl distribution
    use Fcntl;
        $PWD=Win32::GetCwd();  #-- get current working directory on Windows O/S platform.            
        srand;        #-- random seeding initiated, do this just once at top.
        @codesARR=();    @wordsARR=();          #-- initialize the arrays
        print "working.  please wait...\n\n";
        unlink( "$PWD\\Project_0836_Mappings_CtoW.pag" )
                    if (-e "$PWD\\Project_0836_Mappings_CtoW.pag" );
       unlink( "$PWD\\Project_0836_Mappings_CtoW.dir" )
                  if (-e "$PWD\\Project_0836_Mappings_CtoW.dir" );
        unlink( "$PWD\\Project_0836_Mappings_WtoC.pag" )
                  if (-e "$PWD\\Project_0836_Mappings_WtoC.pag" );
       unlink( "$PWD\\Project_0836_Mappings_WtoC.dir" )
                 if (-e "$PWD\\Project_0836_Mappings_WtoC.dir" );
         unlink( "$PWD\\Project_0836_Mappings.txt" )
                 if (-e "$PWD\\Project_0836_Mappings.txt" );
       $cnt1=0;    $ret="Y";
        open(CODES,"$PWD\\codes.txt") || do {$ret="N";};
        if ($ret eq "N") {  
               print "Codes input file not opened \n";  
               sleep 5;   die;  
        while (<CODES>) {
               chomp $_;
              $codesARR[$cnt1]=$_;
              $cnt1++;
        print $cnt1 . " codes loaded\n\n";
       close(CODES);
       $cnt2=0;    $ret="Y";
       open(WORDS,"$PWD\\words.txt") || do {$ret="N";};
        if ($ret eq "N") {  
                print "Words input file not opened \n";  
               sleep 5;   die;  
       while (<WORDS>) {
               chomp $_;
              $wordsARR[$cnt2]=$_;
                $cnt2++;
        print $cnt2 . " words loaded\n\n";
        close(WORDS);
        sleep 3;       #-- a little time to check on record counts loaded to both arrays
      tie( %Project_0836_Mappings_WtoC, "SDBM_File", '.\Project_0836_Mappings_WtoC', O_RDWR|O_CREAT, 0666 );
       if (tied %Project_0836_Mappings_WtoC) {
               print "WtoC Hash/SDBM File are now tied\n\n";    
       } else {
              print "Could not tie WtoC Hash/SDBM File\n\n";  sleep 5;  die;
       tie( %Project_0836_Mappings_CtoW, "SDBM_File", '.\Project_0836_Mappings_CtoW', O_RDWR|O_CREAT, 0666 );
        if (tied %Project_0836_Mappings_CtoW) {
                 print "CtoW Hash/SDBM File are now tied\n\n";    
        } else {
               untie(%Project_0836_Mappings_WtoC);  #-- close the successful tie made directly above 
              print "Could not tie CtoW Hash/SDBM File\n\n";  sleep 5;  die;
      open (OUT,"> $PWD\\Project_0836_Mappings.txt");
       OUT->autoflush(1);
       $cnt2=$#wordsARR;   #-- we do this because we will be removing elements from wordsARR
       for ($i=0; $i<=$cnt2; $i++) {
             $index   = rand @codesARR;    # get a random index from the codes array
            $code    = $codesARR[$index]; # get the value of that array element
            splice(@codesARR,$index,1);   # removes only this element from the codes array.
            $index   = rand @wordsARR;    # get a random index from the words array
            $word    = $wordsARR[$index]; # get the value of that array element
            splice(@wordsARR,$index,1);   # removes only this element from the words array.
            $Project_0836_Mappings_WtoC{$word}=$code;   # key/value pair where: word is key, code is value
            $Project_0836_Mappings_CtoW{$code}=$word;   # key/value pair where: code is key, word is value
        print "Your Mappings have been created and saved to (.dir and .pag extension files)\n\n";
        print OUT "Here are your Mappings you just created:\n\n";
        foreach $key (keys %Project_0836_Mappings_WtoC) {
              print OUT "word=" . $key . "     code=" . $Project_0836_Mappings_WtoC{$key} . "\n";
      print OUT "##################################################\n";
       foreach $key (keys %Project_0836_Mappings_CtoW) {
               print OUT "code=" . $key . "     word=" . $Project_0836_Mappings_CtoW{$key} . "\n";
        untie(%Project_0836_Mappings_WtoC);  #-- now you have saved a persistent word/code mappings file
        untie(%Project_0836_Mappings_CtoW);  #-- now you have saved a persistent code/word mappings file
        close(OUT);   
        print "Done.  Goodbye!\n";
        sleep 5;
        exit;

  • Query data not displayed

    Hi Experts,
    I have trasported the standard report from DEV to production.
    The query(report) works fine in development and is built on multiprovider, so when i check in production the query say no data found.
    What would be the solution?
    can i re-import the query(Only query)  again to production?When i cheked
    Edited by: Bharath Kumar on Dec 3, 2008 12:10 PM

    Hi,
         First check the data in multi provider level in production, means apply all the restrictions on multi provider while displaying the data of MP, which are used in filters and restricted key figure in the query.
    See whether the data is available or not. I think the data which satisfy the restrictions is not available in the MP.
    Ravi

  • Choose From List used in UDO (B1 2004)

    Hi,
    in the presentation "Creating a UDO of document type.pps" (slide 53+55) provided with the SDK 2004 they use the Choose From List to select business partners and/or items in their UDO form when adding a new document. Does anyone know, how this has to be done? The sample, from the presentation is not provided in the sample codes.
    Do I have to use an implementation DLL for my UDO to use this functionality?
    My problem is, that it takes too long (about 5 times longer than with the system CFL) to get all items in my custom defined matrix.
    thanks,
    Markus

    Hi Markus,
    You cannot use the built-in CFL in version 2004. It is only exposed from version 2005. The only suggestion is to look at optimizing your matrix. All CFLs in the system uses DB Datasources which makes populating the grid faster than using User data sources.
    Hope it helps,
    Adele

  • Data not displaying on MI client

    hii all,
    i have created a mi application in which i m fetching data from oracle database, first i have written  a code in function module to fetch the data from oracle database in to an internal table and also i checked in ABAP debugging mode.Data is coming in internal table but i have to keep on pressing f6 untill whole data comes.Is there is any problem in using internal table since in other normal case(i.e fetching data from r/3 bcakend) in debugging mode all data is displayed by pressing f6 once only.MI application is running but only structure is coming ,data is not displaying.
    Also how can i fetch the oracle table data in to to abap dictionary table(i have already establised the connection with oracle database ).
    Can anyone can suggest what can be the problem.
    Thanks in advance.
    Devendra Phate

    Hi geetha,
    Declare one variable at top level and assign by ORG_ID.
    Print this variable where you wanto show value of ORG ID.
    Thanks
    Ravi
    [email protected]

Maybe you are looking for

  • Sharing iTunes on a single computer with multiple users

    Greetings, I have been troubleshooting a problem sharing iTunes on a single computer with multiple users that cropped up a few weeks ago and have not had very good luck. Several months ago I successfully set up my wife’s G4 Laptop (PowerPC processor)

  • IMac G4 flat panel will not start up

    Hi My imac G4 will not start up when I power up. The fan kicks in but nothing comes on, no chimes, no screen, no noise from the hard drive. I have tried the PMU switch but to no avail. many thanks Dave

  • Spam term "number of hits"?

    I am trying to understand this underpinning of combatting spam, referring to the "number of hits required before mail is considered spam." What does it mean? "Number of hits?" Thanks.

  • Running out of disk space if I don´t have too much!!!

    My hard disk is running out of space, what to do? music + iphoto + aperture + videos + docs = around 40 gb but my 250 it´s almost full. Since I got this macbook pro i get a 1tb wifii hard disk so any item i got, i put it on that hard disk. This is my

  • Getting Error IB_CRM_OBJECT 006

    Hello, in some cases we are getthing the following error message: IB_CRM_OBJECT 006  when creating a POD with CRM 7.0. Unfortunately it is not possible to find a possible regularity. It seems that the failure is coming up "casual". First we used Note