The problem is that the first row is going to show only "Opening balance " written under all the columns. Then from the next row the details of the balance sheet would be populated.
How am I to insert just one row in the table showing only two columns - 1st showing the text "Opening balance " , 2nd showing the balance. While the rest of the rows contain more columns than the first one. One way would be to merge the column lines of the first row only two form just 2 columns. Is that possible some how? Can I do something like- bind the first row to a different model, while the rest of the rows to some other model? Thanks, Dushyant --- On Thu, 24/7/08, Andrew Robinson <[EMAIL PROTECTED]> wrote: From: Andrew Robinson <[EMAIL PROTECTED]> Subject: Re: [TRINIDAD] How to insert a row in a tr:table component To: "MyFaces Discussion" <[email protected]>, [EMAIL PROTECTED] Date: Thursday, 24 July, 2008, 8:39 PM There must be a row in the model. If you wish have your model have an inner model that is wrapped. That way you can merge multiple models into one. Just extend the data model and create a custom one. On Thu, Jul 24, 2008 at 4:17 AM, dushyant agarwal <[EMAIL PROTECTED]> wrote: > Hi, > I am developing a JSF page that shows a financial balance sheet. It has > columns for date,a mount, cheque no, balance etc. But the first row is > supposed to show the line opening balance and a partcular amount that is the > opening balance. > > How can I add a row to the tr:table that does not take value from the table > model. Instead shows the value of opening balance from some other source. > > Thanks, > Dushyant > > ________________________________ > From Chandigarh to Chennai - find friends all over India. Click here. Download prohibited? No problem. CHAT from any browser, without download. Go to http://in.webmessenger.yahoo.com/

