myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Udo Schnurpfeil <...@schnurpfeil.de>
Subject Re: [Tobago] Multiple dynamically created menu items.
Date Fri, 22 Oct 2010 09:00:44 GMT
Hi DOM!

I'm not sure what you are looking for.

You can use this:

Am 20.10.10 18:42, schrieb d.o.m.e@gmx.net:
> Dear all,
>
> Is it possible to dynamically create multiple "tc:menuItem"s. I am looking for a similar
behavior that can be implemented with "tc:selectItems" for e.g. "tx:menuRadio".
>
> Something like:
>
> <tc:menu label="test">
>    <tc:menuItems>
>      <tc:selectItems value="foo" />
>    </tc:menuItems>
> </tc:menu>
>
> Where "foo" references to a List<SelectItem>  in a backing bean. The elements in
this list should be displayed as individual menu items.
>
> Thanks a lot for any hints.
> Greetings,
> dom

Mime
View raw message