On Jul 7, 2011, at 11:25 AM, Julien Viet wrote:
only Page should extends Targetable.
why do we have Portal and Navigation also extending it ?
For Portal: it's there so you could create Navigations automatically from a Portal
instead of having to create the whole tree by hand.
For Navigation: so that you could reuse a navigation subtree elsewhere.
See NavigationTestCase for some use cases.
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