Tables in Xpages

I am new to Xpages but have read up as much as I can. My first application is almost done but there is one thing I am really struggling with and I think it should be easy.

In the client I have a standard set of tables I use to layout my fields so they are very attractive and usable. I need to “forms” in the Xpage database (I know they are really not forms); I guess I should say I need to Xpages that will display field and allow the user to enter data.

I have used the Table container and it is a total nightmare. How can I set column width? How to I get fields to left or right justify? How can I make a table with two tables inside of it?

I must be missing something easy…please please help.

Bryan

Subject: You can do this through the UI or through CSS

You can select an individual table cell and set its properties. Select the cell by clicking inside it in the design tab. Alternatively use the outline navigator - bottom left panel - to expand the table, then table row to select your cell.

Below the design tab the Properties tab contains vertical sub-tabs. The first tab (Table Cell) allows you to set the width and alignment, etc. Note that you have to select the units before it will allow you to enter anything in the value boxes. You can enter a fixed value or click on a diamond to compute the value.

Alternatively, apply a class name to your cells and use a style sheet.

You can even play with the settings in the design tab so that you get the basics right, then export them to your style sheet with a button on the Style tab.

As for tables within tables, just drag the table control inside your existing table.