Matt - thanks for the help.  I had not noticed the trh tags.

Chris....

Matt Cooper wrote:
Hi Chris,

The tr:table component does not support column spanning.

(Note, my original panelGroupLayout example is what I was imagining you'd put inside of each of your tr:column components.)

If the layout is that you're looking for, you may want to take a look at the trh:tableLayout/trh:rowLayout/trh:cellFormat components which will let you build an HTML table where the trh:cellFormat supports column spanning. However, this type of table is purely layout, no table data binding or paging of records is provided.

Regards,
Matt

http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_table.html
http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_column.html

http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/trh_tableLayout.html <http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/trh_tableLayout.html>
http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/trh_rowLayout.html
http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/trh_cellFormat.html

On 6/12/07, *Chris Hane* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Matt,

    Thanks for the idea.  I'll try it out.

    In my current form (which I'm migrating to JSF/Trinidad/etc...) the
    second
    "row" of the record is spanned across all of the columns.  To give a
    concert example we show a list of activities.  Something like:

    |Action    | Start   | Stop    | Who             |
    |View Full | Note Summary                        |

    |View Full | 1/1/07  | 1/5/07  | User 1          |
    |View Full | This is the first record summary..  |

    |View Full | 1/5/07  | 1/9/07  | User 2          |
    |View Full | This is the second record summary.. |

    I put the hard breaks between rows for visual effect only.  In the
    application, they are not there - highlighting is used instead.

    Thanks,
    Chris....

    Matt Cooper wrote:
     > Hi Chris,
     >
     > Not sure if this is exactly what you want but but for each cell, you
     > could have 2 lines of data, e.g.:
     >
     > <tr:panelGroupLayout layout="vertical">
     >   <tr:outputText value="#{ row.columnALine1}"/>
     >   <tr:outputText value="#{row.columnALine2}"/>
     > </tr:panelGroupLayout>
     >
     > Regards,
     > Matt
     >
     > On 6/12/07, *Chris Hane* < [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
     > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote:
     >
     >     sorry, forgot to prepend with [Trinidad]
     >
     >     Chris Hane wrote:
     >      >
     >      > Is it possible to show two rows for each record using a
    <tr:table>?
     >      >
     >      > For example, I am trying to create something like:
     >      >
     >      >  Start   Stop    Who
     >      >  Note Summary...
     >      >
     >      > I've tried the <tr:table> with a detailStamp; but I could not
     >     figure out
     >      > how to have the detail automatically open.  I don't really
    need the
     >      > "detail" column either - but that is not important right now.
     >      >
     >      > Other than using an iterator tag and building the <table>
    myself,
     >     I did
     >      > not see anything in the Trinidad component set that would
    allow
     >     me to do
     >      > this.
     >      >
     >      > Thanks for any suggestions.
     >      > Chris....
     >      >
     >
     >


Reply via email to