JSF datatable - any difference with JSF 1.1 and JSF 1.2

Hi All,
In my project there are lot of Datatables, which retrieve data from the database and display it to the user. For each datatable, the columns are not fixed. I want to create some kind of component that can be reusable.
It is basically a JSF portlet. Now i have to use RAD 6. RAD 6 supports only JSF1.1. I have to migrate this to RAD7 in the near future. Are there any differences between the Datatable in JSF 1.1 and JSF 1.2?
I had this approach in mind.
a) Create the datatable programmatically and put the contents to panelgrid. This way the jsp code will be minimized. Is it a good option.? Are the APIs same in both the versions?
b) Is it possible to create a custom datatable which can take some key as input. Then based on the key the datatable can be populated with as many columns as desired.
Please let me know if there are any other good options.
~Anitha.

Hi guys,
my code goes like this..
for (int j = 0; j < size; j++) {
               UIColumn column = new UIColumn();
               dataTable.getChildren().add(column);
               HtmlOutputText header = new HtmlOutputText();
               header.setValue(periodHeader[j]);
               column.setHeader(header);
               HtmlOutputText output = new HtmlOutputText();
               output.setValue(new Double(periodLiability[j]));
               ValueBinding vb1 = FacesContext.getCurrentInstance()
                         .getApplication().createValueBinding(
                                   ("#{liability.periodLiability["+j+"]}"));
               output.setValueBinding("value", vb1);
               column.getChildren().add(output);
this code gives me the number of headers i need. But, it doesnt render the columns. I have an array of Double (periodLiability) which stores few values of Double type. I want to show thesee values inthe dataTable Column.
Please help me..

Similar Messages

  • JSF Datatable - Any difference with JSF1.1 and JSF 1.2

    In my project there are lot of Datatables, which retrieve data from the database and display it to the user. For each datatable, the columns are not fixed. I want to create some kind of component that can be reusable.
    It is basically a JSF portlet. Now i have to use RAD 6. RAD 6 supports only JSF1.1. I have to migrate this to RAD7 in the near future. Are there any differences between the Datatable in JSF 1.1 and JSF 1.2?
    I had this approach in mind.
    a) Create the datatable programmatically and put the contents to panelgrid. This way the jsp code will be minimized. Is it a good option.? Are the APIs same in both the versions?
    b) Is it possible to create a custom datatable which can take some key as input. Then based on the key the datatable can be populated with as many columns as desired.
    Please let me know if there are any other good options.
    ~Anitha.

    Doublepost. Please don't use the back button to edit a topic, you're going to repost it. Use the edit button. Continue here: [http://forums.sun.com/thread.jspa?threadID=5336694].

  • I'm about to buy a Macbook pro in Spain, with a spanish QUERTY keyboard. Are there any differences with a UK one, other then a few keys.?

    I'm about to buy a Macbook pro in Spain, with a spanish QUERTY keyboard.
    Are there any differences with a UK Macbook Pro, other then a few keys on the keyboard.?

    Here’s a couple of links to get you started on your research...
    OS X Lion Overview
    iLife 11
    http://www.apple.com/ilife/video-showcase/
    http://www.apple.com/ilife/
    Running Windows on a Mac
    http://www.pcmag.com/article2/0,2817,2344661,00.asp
    And just in case you didn't know... This is a User to User Forum

  • Is there any difference running W7Pro 64 bit and 32 bit for Adobe Acorbat 9 Pro Extended

    My primary system runs Windows 7 Pro 64 bit system. My other system runs a 32 bit system.  I would like to buy Adobe Acrobat 9 Pro Extended. Is there any difference with running it on either systems? Or will one version work on both the 64 bit and 32 bit systems.

    It would work on both systems, but you no longer can buy Acrobat 9...
    Mylenium

  • Is there any difference in SAP 4.7 and ECC 5.0

    Dear,
    Is there any difference in SAP 4.7 and ECC 5.0...
    Thanx & Regards,
    Mohammad Nabi

    Hi,
    Check this out
    Hi I'm providing the ECC 6.0 functionality if you knows the
    4.7EE the difference is as follows:
    ECC 6.0 New GL Functionality
    1.Activate the New General Ledger Accounting by a single
    click on the clock icon
    2.You will reach to change view "activation of New GL A/cg"
    detail screen and tick the checkbox and save.
    3. After activation of New General Ledger Accounting, you
    exit the IMG screen when you re-enter, you find that a new
    node is added Financial Accounting (New)
    4.After activation of New General Ledger Accounting; a new
    sub node appears in the IMG structure.
    This sub node is Define Segment
    The menu path is:
    SAP Customizing IMG ---> Enterprise Structure -
    >
    Definition --> Financial Accounting --> Define Segment
    In this IMG activity, you define your segments.
    If you then define your profit centers, you can enter an
    associated segment in the master record of a profit center.
    The segment is then derived from the assigned profit center
    during posting.
    5. Activation has created a new field in Profit Center
    Master Record: the SEGMENT
    6.Leading and Non- Leading Ledgers
    In General Ledger Accounting, you can use several Ledgers
    in parallel. This allows you to produce financial
    statements according to different accounting principles. A
    ledger uses several dimensions from the totals table it is
    based upon. When defining Ledgers, one must be defined as
    the Leading Ledger. The Leading Ledger is based on the same
    accounting principles as that of the consolidated financial
    statements. It is integrated with all subsidiary ledgers
    and is updated in all company codes. This means that it is
    automatically assigned to all company codes. In each
    company code, the Leading Ledger receives exactly the same
    settings that apply to that company code : the currencies,
    the fiscal year variant and posting period variant .
    You must designate one of your ledgers as the Leading
    Ledger. It is not possible to designate more than one
    ledger as the leading ledger.
    The menu path is:
    SAP Customizing IMG -
    > Financial Accounting (New) -
    >
    Financial Accounting Basic Settings (New) -
    > Ledgers ---
    -> Ledger -
    > Define Ledgers for General Ledger
    Accounting
    Clicking on the checkbox identifies one of your ledgers as
    the Leading Ledger.
    7. Activation of Non Leading Ledgers
    Non Leading Ledgers are parallel ledgers to the Leading
    Ledger . They can be based on local accounting principle,
    for example. You have to activate a non- Leading Ledger for
    individual company codes. Non- Leading Ledgers can have
    different fiscal year variants and posting period variants
    per company code to the Leading Ledger of this company
    code.
    The menu path is :
    SAP Customizing IMG -
    > Financial Accounting ( New ) -
    > Financial Accounting Basic Settings (New) -
    > Ledgers -
    ---> Ledger -
    > Define and Activate Non --Leading
    Ledgers
    8.Assign scenarios to ledgers
    A Scenario combines Customizing settings from different
    business views. Each business view specifies which posting
    data is transferred from different application components
    in General Ledger Accounting, such as cost Center update or
    Profit Center update .You assign the desired scenarios to
    your ledgers. For each ledger, you define which fields are
    filled with posting data from other application components.
    SAP delivers a number of scenarios in the standard system.
    It is not possible to create additional scenarios.
    The menu path is:
    SAP Customizing IMG -
    > Financial Accounting (New) -
    > Financial Accounting Basic Settings (New) -
    > Ledgers -
    --->Fields -
    > Display Scenarios for General Ledger
    Accounting.
    9. Cost of sales accounting
    Cost of sales accounting is a way to create a profit and
    loss statement (P&L) for a company by comparing the
    revenues to the costs or expenses incurred to obtain these
    revenues.
    The expenses are mainly divided by functional area such as:
    Manufacturing
    Administration
    Sales
    Research and Development
    We can activate Cost of Sales Accounting by the following
    menu path :
    SAP Customizing IMG -
    > Financial Accounting ( New ) -
    -> Financial Accounting Basic Settings (New) -
    >
    Ledgers ->Ledger---> Activate Cost of Sales Accounting
    Offsetting Account Report ECC 5.0
    Offsetting account report for vendors in ECC 5.0 is
    possible after implementing the OSS Note 1034354
    Reward if helpful.
    Regards
    Ravi

  • Is there any difference between the commerical product and the Teacher/Student version?

    In Adobe Photo Shop Elements 13 and Premiere Elements 13 is there any difference between the commerical product and the Teacher/Student version? I don't remember them having two versions in the past.

    Is there a difference? Sure. Will it be noticable? Maybe.
    The 9i client will use one of the 9i ODBC drivers. The 8i client will use one of the 8i ODBC drivers. The 9i drivers will generally have more bug fixes & more features than the 8i drivers. It is possible, though rare, that the 9i drivers will fix a bug whose behavior your application was dependent on and/or introduce bugs that were not in the earlier version. Of course, you have to consider the different features of the underlying clients as well-- i.e. a 9.2 Oracle client cannot communicate with a 7.3.4 database, an 8i client doesn't know how to handle data types introduced in 9i (i.e. TIMESTAMP), etc.
    Justin

  • I am considering a Apple iMac but would be interested in adding a second monitor. Does it have to be an Apple monitor or can i add any monitor with a thunderbolt cable and DVI or vGA adapter?

    I am considering a Apple iMac but would be interested in adding a second monitor. Does it have to be an Apple monitor or can i add any monitor with a thunderbolt cable and DVI or vGA adapter?

    I found that the Thunderbolt input accepts the mini-DVI (in my case converter to VGA for a tutorial use monitor)
    BUT, you have to really oush it in 'til it clicks.  I thought it too loose until I tried it.  works just fine!!
    i get a solved for my own  LOL
    Ed

  • I did not find any difference from my iPad 2 and iPad 3?

    I did not find any difference from my iPad 2 and my iPad 3, I am wondering did they sell me the same iPad

    Look at the model number on the back of the box and enter that number into a Google search. That will tell you wich model you have.
    The new iPad comes in a box that simply says iPad on it so you can probably rest assured that you did receive the new iPad, but do the Google search if it makes you feel better.
    Try here as well.
    http://www.everymac.com/ultimate-mac-lookup/
    I stole this from Texas Mac Man .... Sorry Tex!
    Here's the various iPad model numbers and order numbers. The model numbers are on the back of the iPad
    Apple iPad Wi-Fi (Original) 16, 32, 64 GB
    The wi-fi only iPad configurations are assigned model number A1219.
    MB292LL/A is the order number for the 16 GB configuration. The 32 GB configuration is assigned MB293LL/A and the 64 GB configuration is assigned MB294LL/A.
    Apple iPad Wi-Fi/3G/GPS (Original) 16, 32, 64 GB
    The Wi-Fi/3G/A-GPS iPad configurations are assigned model number A1337.
    MC349LL/A is the order number for the 16 GB configuration. The 32 GB configuration is assigned MC496LL/A and the 64 GB configuration is assigned MC497LL/A.
    Apple iPad 2 (Wi-Fi Only) 16, 32, 64 GB
    The wi-fi only iPad 2 configurations are assigned model number A1395.
    MC769LL/A is the original order number for the 16 GB configuration in black. The 32 GB configuration in black is assigned MC770LL/A and the 64 GB configuration in black is assigned MC916LL/A. The original 16 GB, 32 GB and 64 GB configurations in white are assigned MC979LL/A, MC980LL/A, and MC981LL/A, respectively. On March 7, 2012, Apple discontinued the 32 GB and 64 GB configurations and assigned new order numbers of MC954LL/A and MC989LL/A for the black and white 16 GB configurations, respectively.
    Apple iPad 2 (Wi-Fi/GSM/GPS AT&T) 16, 32, 64 GB
    The Wi-Fi/GSM/GPS iPad 2 configurations are assigned model number A1396.
    MC773LL/A is the original order number for the 16 GB configuration in black. The 32 GB configuration in black is assigned MC774LL/A and the 64 GB configuration in black is assigned MC775LL/A. The original 16 GB, 32 GB and 64 GB configurations in white are assigned MC982LL/A, MC983LL/A, and MC984LL/A, respectively. On March 7, 2012, Apple discontinued the 32 GB and 64 GB configurations and assigned new order numbers of MC957LL/A and MC992LL/A for the black and white 16 GB configurations, respectively.
    Apple iPad 2 (Wi-Fi/CDMA/GPS Verizon) 16, 32, 64 GB
    The Wi-Fi/CDMA/GPS iPad 2 configurations are assigned model number A1397.
    MC755LL/A is the original order number for the 16 GB configuration in black. The 32 GB configuration in black is assigned MC763LL/A and the 64 GB configuration in black is assigned MC764LL/A. The original 16 GB, 32 GB and 64 GB configurations in white are assigned MC985LL/A, MC986LL/A, and MC987LL/A, respectively. On March 7, 2012, Apple discontinued the 32 GB and 64 GB configurations and assigned new order numbers of MC755LL/A and MC985LL/A for the black and white 16 GB configurations, respectively.
    Apple iPad 3rd Gen (Wi-Fi Only) 16, 32, 64 GB
    The Wi-Fi Only iPad 3 configurations are assigned model number A1416
    MC705LL/A refers to the 16 GB configuration in black. The 32 GB and 64 GB configurations in black are MC706LL/A and MC707LL/A, respectively. The 16 GB, 32 GB and 64 GB configurations in white are MD328LL/A, MD329LL/A, and MD330LL/A, respectively.
    Apple iPad 3rd Gen (Wi-Fi/4G LTE AT&T/GPS) 16, 32, 64 GB
    The Wi-Fi/4G LTE AT&T/GPS iPad 3 configurations are assigned model numberA1430
    MD366LL/A refers to the 16 GB configuration in black. The 32 GB and 64 GB configurations in black are MD367LL/A and MD368LL/A, respectively. The 16 GB, 32 GB and 64 GB configurations in white are MD369LL/A, MD370LL/A and MD371LL/A, respectively
    Apple iPad 3rd Gen (Wi-Fi/4G LTE Verizon/GPS) 16, 32, 64 GB
    The Wi-Fi/4G LTE Verizon/GPS iPad 3 configurations are assigned model numberA1403
    MC733LL/A refers to the 16 GB configuration in black. The 32 GB and 64 GB configurations in black are MC744LL/A and MC756LL/A, respectively. The 16 GB, 32 GB and 64 GB configurations in white are MD363LL/A, MD364LL/A, and MD365LL/A, respectively.

  • Any problems with Adobe CS5.5 and the Maverick system?

    Has anyone had any problems with Adobe CS5.5 and the new Maverick OS? I don't want to install if there are issues. Thanks!

    First thing I would suggest is to upgrade your server OS to a newer version if possible. Secondly try removing the apps out of the allowable apps list and instead change it so that you allow the apps that are within the specific application folder, ex: Applications/Adobe Photoshop CS5
    I had similar problems with CS5 apps and by adding the apps by allowable folder instead it corrected my problem. Granted, if you have savvy users, there is the potential to open a can of worms here but it was the only way I could get it to work for "standard" non-admin user types.

  • Is there any difference in quality between mp4 and m4v?

    Is there any difference in quality between mp4 and m4v? I am figuring out how best to save old VCR files. Is the 264 category the best?

    So, what would that software be? Anything that I mentioned, e.g., iMovie? Any Video Converter?
    I'm a Mac user so I want files that play "natively" in QT X, QT 7, QL, iPod Touch, iPhone, iPad, and/or TV players. This means I want the H.264/AAC compressed data in MOV, MP4, or M4V file containers. I can use QT 7 Pro, MPEG Streamclip, and /or QT X to move MPEG-4/AAC compressed data to MOV file containers, MPEG Streamclip to movie M4V and MOV MPEG-4/AAC data to MP4 file containers, and Subler to move MP4 or MOV MPEG-4 AVC/AAC/AC3/Chapter data to M4V file containers. This is strictly a simple "copy" operation and no recompression of data is involved. (I.e., the quality is not changed.)
    iMovie is a video editor and it forces an export conversion of your project once completed which can degrade quality. Have never used the Any Video Converter so I don't know if it has an audio and/or video "passthrough" feature for data already in a compatible compression formats. If it doesn't then any conversion it makes has the potential to degrade video content.
    As to AVI, this is a legacy file container abandoned by Microsoft a dozen years ago in favor of their modernized WMV compression format/file type products. Compared to MKV, AVI is an outmoded/out-of-date container which I don't recommend you use unless you are a glutton for punishment. However, if you must use it, then you might try the AvidMux app. It can "copy" compatible content to a number of file container types—including AVI and MKV. Just don't blame me if its use creates more problems than it solves on current Mac systems.

  • Any experience with tep pocket WiFi and skype while traveling

    Anyone had any experience with tep pocket WiFi and skype while traveling. Seems like a good solution in the UK

    Did you ever get an answer to this or take the plunge? I'm curious what you found out...

  • Any difference between iphone 5 black and white

    hi all, i want to know any difference bet iphone 5 black and white. thank u

    i believed ever since there is difference between the white & black iphone ... the white is automatic detection  means if some1 is calling you & you put already in your ear the white iphone automatically turn off the light while in the black no...thats why the black is easily get hot

  • What is the Difference with FMLE 3.1 and 3.2? having problems with my stream

    What is the difference with FMLE 3.1 and 3.2?
    I am having major problems with my live stream, i am currently using FMLE 3.1 and using a Imac computer.
    The stream seems to be delayed by 20mins and keeps on crashing
    I have a 2MB upload speed and frame rate 25.00 and bit rate 800 kbps fromat VP6
    Can anyone help me with getting the settings right and what is the best computer to use to allow FMLE not to crash and stream to run smooth?
    Please Help
    Thank you

    Hello!
    I would be interested in helping you with your question. You are going to need to provide a little more information about your current configuration in order for me to better understand your issue. Until then, I'll do my best to answer your quesitons.
    There are subtle changes from 3.1 to 3.2. Both are stable releases. With your setup, you should be using 3.2.
    Issues with FMLE typically deal with your capture card. The issues you are having sound like a streaming server issue. Stream delayed 20min? This isn't typical behavior. What streaming media server are you usign? FMS or Wowza? Define 'crashing'. Anything in the output log in FMLE or is your server 'crashing'.
    Thank you,
    Stephen Apple
    Independent Broadcast

  • The are any difference between the late 2008 and early 2009 15' MacBook Pro

    Hello,
    This is my first post here so I salute you all. I would like to know if there is any difference between the 15 inch MacBook Pro produced at the end of 2008 and the one produced AFTER iLife 09 has been launched (at the beginning of 2009). I see that the declarations of conformity are a little bit different: http://images.apple.com/euro/compliance/pdf/M98EMC_IntE_EuroDoC.pdf vs http://images.apple.com/euro/compliance/pdf/M98AIntE_EuroDoC.pdf (see the Emissions and wireless radio equipment sections). I don't know if those declarations are relevant and if the fact that they complies with different standards and/or directives means that the hardware is different... What do you think?
    Just a little note: I am NOT talking about the late 2009 17' version. I'm referring only at the 15' versions produced before and after the launch of iLife09
    Message was edited by: vamist

    Hi, I think I know why Apple is able to offer 8gb ram support on the revised 2.66 MBP and not on the 2.53 or 2.4 MBP.
    Take a look at this:
    15'' 2.4-2,53 NVDA Chipset
    http://s1.guide-images.ifixit.com/igi/oEmmaxSOKDDvZfZh.large
    17'' NVDA Chipset
    http://s1.guide-images.ifixit.com/igi/SSLSgODWYbiIuTLL.large
    There are TWO different revisions. The first is B2 and the latter is B3.
    I think that the former does not support 8GB of RAM and the latter does. That explains why the 17'' has support and now the NEWs 15'' also have, Apple gave the 15'' not only a speed bump but also the newer revision of the chipset!

  • Is there any difference between a WinNT VI and a Win98 VI?

    Hello!
    I have been writing a VI using Labview 6.1 on a WinNT machine. When I build it into an application and place it on a machine running the run-time engine and Win98, it doesn't work.
    It works fine on the NT machine, but not on the 98 machine. I've read where you should be able to transfer between the different Win versions, so I'm at a loss to explain why there would be any difference in the two.
    Thanks,
    Dave Neumann
    [email protected]

    Oops. I guess my question was awfully open-ended wasn't it?
    OK, here's the deal.
    The VI I created is simply trying to toggle outputs on a digital I/O card. Nothing complicated.
    On the WinNT machine, I can toggle the outputs. When I set them high, I see a high voltage from the card. It remains high until I switch it low, when the voltage drops. This is good.
    On the Win98 machine, I attempt to toggle the output high, and I hear the click of a relay, and a short current spike, but the voltage does not remain high. When I switch back to low I get no response back at all. The voltage remains low the entire time, with a small impulse jump when I try to set it high.
    We assume that the card is switching high, then immediately switching low ag
    ain, not holding the high state.
    The card on the Win98 machine, however, DOES work with the software included with the card, so we know it can toggle it's outputs.
    The Win98 and WinNT machines are nearly identical in their components, with the exception of their OS.
    The card I'm attempting to use is a Quatech PXB-32IO/PCI I/O card.
    Hope this clears it up a little!
    Thanks for the help,
    Dave Neumann
    [email protected]

Maybe you are looking for

  • Internet access to new sharepoint foundation 2013 site collection

    I had sharepoint 2010 installed on my WHS 2011. I successfuly created a new web application and site collection. I created a new SP default site on a port different from 80 and restarted the WHS 2011 default site in IIS. I could see both the WHS 2011

  • Correct Forum? CGI and Server behaviour on Solaris at system()-call

    Hi to you all, Do not know if i am in the correct forum, but maybe it is a Webserver problem. I have Sun ONE Webserver 6.1 running on Solaris. Craete some CGI`s in C. Now I have a problem with one CGI, which have to call a Shellscript via system() ca

  • Can you tell me how to displays my browser based help?

    I am using RH8, generating Browser based Air, and have windows 7. This is a continuation of my previous discussion. I was able to generate browser based air help for my merged projects just once.But I just tried it again and it won't work. Here is wh

  • Enhacement in xk02

    Does anybody knows the enhacement for puting new fields in the purchasing screen of the xk02? Thanks in advance

  • Query on Non-base-table column in form

    Hi, Does anyone have an example of code to allow users to query on non-base-table column from forms? For example, a personnel form displays a persons' name and department name. The form is based on PERSON table, which contains the department id, not