On Jul 7, 2011, at 12:42 PM, Christophe Laprun wrote:
On Jul 7, 2011, at 12:11 PM, Julien Viet wrote:
> I don't understand :
>
> Navigation sub = nav.getChild("sub");
> Navigation navigation = portal.createNavigationTo(sub, portal.getNavigation());
>
> in creatingANavigationShouldLinkNavigationAndNode() method
It basically creates a new Navigation pointing to the existing sub navigation, using the
root navigation of the portal as parent.
I can remove Targetable altogether if needed.
Looking at it some more, it really didn't make sense. I've removed Targetable from
Navigation and Portal and fixed the test accordingly.
Cordialement / Best,
Chris
==
Principal Software Engineer / JBoss Enterprise Middleware Red Hat, Inc.
Follow GateIn:
http://blog.gatein.org /
http://twitter.com/gatein
Follow me:
http://metacosm.info/metacosm /
http://twitter.com/metacosm