It is not officially deprecated, sorry if that was misleading. I tried to use dataList, and found that it was not updating my backing beans at all. So I did some googling and found a thread on the very issue. They said to use a 1 column dataTable instead and it was implied from the conversation that the myfaces team was not going to fix dataList. In fact they talked about recommending that dataList be not used at all or removed and just have the ability to use dataList rendering types (bullet for example) with dataTable. Unfortunately I don't have the conversation bookmarked, but you should be able to find it using google (look for updaing backing beans with dataList). dataList should work for read-only data, but don't bother trying to put input elements into it as it will not update on post.
On 3/1/06, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote: > Is this deprecation official? I didn't see anything in the JavaDoc > indicating this. We're using this in our reports to output a list of > tables. What's the risk of using this, or is there a replacement > component that provides similar functionality? > > Thanks, > > - Brendan > > -----Original Message----- > From: Andrew Robinson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 28, 2006 10:45 PM > To: MyFaces Discussion > Subject: Re: How to make complex layout using datatable? > > > dataList is deprecated. The Tomahawk developers recommend that you do > not use it. It doesn't not correctly process the update components > phase > > On 2/28/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote: > > Or you could use t:dataList. You're responsible for generating the > > tags, but the component will handle the iteration for you. > > > > On 2/28/06, Andrew Robinson <[EMAIL PROTECTED]> wrote: > > > The other alternative, although not as nice perhaps, is to use > > > dataTable with one column and then build div tags with your own > > > width/height settings for each row. The CSS will be more complex, > but > > > you have complete control, and since you are using dataTable, the > data > > > will post back correctly during the update models phase of JSF. > > > > > > On 2/28/06, Frank Felix Debatin <[EMAIL PROTECTED]> wrote: > > > > The table component of ADF faces supports column groups (by > nesting > > > > <af:column>), and, maybe you also need the column attribute > "separateRows" > > > > that forces childs to be rendered as separate cells. Have a look > at: > > > > > > > > http://tinyurl.com/p98e8 > > > > > > > > HTH > > > > Frank Felix > > > > ________________________________ > > > > > > > > From: wang kai [mailto:[EMAIL PROTECTED] > > > > Sent: Tuesday, February 28, 2006 10:04 AM > > > > To: MyFaces Discussion > > > > Subject: Re: How to make complex layout using datatable? > > > > > > > > > > > > Thanks for your reply. > > > > > > > > > > > > 2006/2/28, Amit Jain <[EMAIL PROTECTED]>: > > > > > > > > As far as i know dataTable dont support colspan and > rowspan. If you > > > > need such thing, you have to make your own renderer for > dataTable(extend > > > > HtmlTableRenderer) to support colspan and rowspan. > > > > > > > > ----- Original Message ----- > > > > From: wang kai <mailto:[EMAIL PROTECTED]> > > > > To: [email protected] > > > > Sent: Tuesday, February 28, 2006 2:12 PM > > > > Subject: How to make complex layout using > datatable? > > > > > > > > > > > > Hi all, > > > > > > > > I got a demand that need to show comlex data in a > datatable > > > > like the following table. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Could anyone direct me how to implement it using > datatable? > > > > > > > > Thanks > > > > > > > > > > > > > > > > ________________________________ > > > > > > > > No virus found in this incoming > message. > > > > Checked by AVG Free Edition. > > > > Version: 7.1.375 / Virus Database: 268.1.1/270 - > Release > > > > Date: 2/27/2006 > > > > > > > > > > > > > > > > > > > > > > > > > >

