myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CD <dcyphe...@gmail.com>
Subject Re: Re: Re: nested datatable
Date Fri, 04 Aug 2006 16:48:23 GMT
Is there some sort of selection mechanism which causes these categories to
be dynamically show based on the selection of the assortment or do you have
a list of assortments and each assortment in the list has an associated list
of categories assigned to it?


On 8/4/06, urswagner@bluemail.ch <urswagner@bluemail.ch> wrote:
>
>
> The bean or the interaction to the bean is the point.
>
> The categories list should have always different values.
> I am looking for example for a listener of datatable to tell the Category
> bean change all values of categories list for the inner data table.
> Of course it can be an other mechanism.
> Until now I get for all cell the same categories values. This is only the
> half work.
>
>
> ----Urspr√ľngliche Nachricht----
> Von: dcypher67@gmail.com
> Datum: 04.08.2006 18:01
> An: <urswagner@bluemail.ch>
> Betreff: Re: Re: nested datatable
>
>
> As it should according to what I see.  Everything looks ok from here.
> Bean code?
>
> What is the undesirable behavior you are seeing?
>
>
> On 8/4/06, urswagner@bluemail.ch <urswagner@bluemail.ch> wrote:
> >
> >
> > Yes it is really a dilemma.
> >
> >     <h:dataTable var="assort" value="#{assortments}">
> >         <h:column>
> >             <h:outputLink value="">
> >                 <h:outputText value="#{ assort.description}" />
> >             </h:outputLink>
> >             <h:dataTable var="category" value="#{categories}">
> >                 <h:column>
> >                     <h:outputLink value="">
> >                         <h:outputText value="#{category.description}" />
> >                     </h:outputLink>
> >                 </h:column>
> >             </h:dataTable>
> >         </h:column>
> >     </h:dataTable>
> >
> > The categories list must always have different values.
> >
> >
> > ----Urspr√ľngliche Nachricht----
> > Von: dcypher67@gmail.com
> > Datum: 04.08.2006 17:15
> > An: "MyFaces Discussion"<users@myfaces.apache.org >, <
> > urswagner@bluemail.ch>
> > Betreff: Re: nested datatable
> >
> >
> > Greetings,
> >
> > Would you mind explaining your dilemma a bit more clearly?  I'm not sure
> > I follow what you mean.  Perhaps provide a code sample outlining what you
> > are trying to accomplish and what your results are?
> >
> >
> > On 8/4/06, urswagner@bluemail.ch < urswagner@bluemail.ch> wrote:
> > >
> > > Hello
> > >
> > > I would like to use a a datatable in the datatable.
> > > My problem the inner datatable has in every cell of the outer
> > > datatable different values.
> > > How can I change the content of the data list for the next row?
> > > First row content 1, second row content 2, ... last row last
> > > content.
> > >
> > >
> > >
> >
> >
> >
>
>
>

Mime
View raw message