I'd love to have this but its proven difficult to have a solution that
works for both client-side toggle and server-side toggle.  Search the
archives for an earlier discussion on this.  Let me know if you come
up with something.

sean

On 8/5/05, Dennis Byrne <[EMAIL PROTECTED]> wrote:
> You can try the below ... but it looks like you might need
> something that was specifically designed to handle tabular
> data.
> 
> Let's say you want a node to display as though it were
> stagerred across four columns.  In your facet for that node,
> slap each segment between a span tag.  Using the id and/or
> class of the span tag, set the width using CSS .  This only
> works in situations where you KNOW that nodes of a particular
> facet type are going to fall in the same "generation" of the
> hierarchy.
> 
> ---- Original message ----
> >Date: Fri, 5 Aug 2005 01:58:37 -0400
> >From: Edwin Mercado <[EMAIL PROTECTED]>
> >Subject: RE: tree2 and treeColumn
> >To: MyFaces Discussion <[email protected]>
> >
> >I'm thinking of having a table with 4 or more columns and
> the first column
> >would be a tree. The rows of the table must be dependent on
> the
> >levels (branches if you will) of the tree. In a nutshell, I
> >currently have a tree2 component and there are
> >some extra values that I'd like to display for each of the
> nodes in a
> >tree (name, description, weight, length, etc), and I thought
> that
> >displaying a tree in a table would allow me to use the
> columns in the
> >table to display extra information. For example,
> >
> >+-----------+---------+------------+---------+---------+
> >| tree      |  name    | description   |       weight |
> >+-----------+---------+------------+---------+---------+
> >| |-node 1  | whatever
> >+-----------+---------+------------+---------+---------+
> >|   |-node2 | name2
> >+-----------+---------+------------+---------+---------+
> >| |-node z  | name z
> >+-----------+---------+------------+---------+---------+
> >| |-node t  | name t
> >+-----------+---------+------------+---------+---------+
> >
> >I'm wondering if I can use a dataTable component to do this.
> >Do you think it's possible? Can you think of any other
> >possible way of displaying this information?
> >
> >thanks
> >Edwin
> >-----Original Message-----
> >From: Dennis Byrne [mailto:[EMAIL PROTECTED]
> >Sent: Friday, August 05, 2005 1:41 AM
> >To: MyFaces Discussion
> >Subject: Re: tree2 and treeColumn
> >
> >
> >I think might be a long time before you get those two
> working
> >together ;) What are you trying to do?
> >
> >---- Original message ----
> >>Date: Fri, 5 Aug 2005 01:30:43 -0400
> >>From: Edwin Mercado <[EMAIL PROTECTED]>
> >>Subject: tree2 and treeColumn
> >>To: [email protected]
> >>
> >>Hi,
> >>Is it very difficult to get <x:treeColumn> working with the
> >tree2 component
> >>instead of the tree component?
> >>
> >>Edwin
> >Dennis Byrne
> Dennis Byrne
>

Reply via email to