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.
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