Hi Jacopo,
I agree with you, the Example (and all application) should follow the common
pattern to implement the AppBarMenu (with menu widget).
The reason the example component has been reverted to use a .ftl AppBar was
to have a dynamic AppBar.
Actually the menu-items that are displayed in the Example AppBar are
retrieved from a dynamic list (read from the DB) so that all available
portal pages are displayed in the bar.

I think that this could be solved if we improve the Menu widget so that it
could accept a map containing the menu-items to display.
I have proposed this on the ML but no comments yet. May be this time I will
get better luck! ;-)

-Bruno

2009/2/4 Jacopo Cappellato <[email protected]>

> Hi all,
>
> due to recent work on the Portal now the Example application is rendering
> the top menu using an ftl template and not as a Menu widget definition (as
> it was previously, if I am not wrong).
> Is there a reason for the switch (sorry but I still don't know much about
> the Portal framework)?
> I think the Example application should demonstrate all our best practices,
> and using menu widget is one of them.
>
> Jacopo
>
>

Reply via email to