> page is the top level page from which you want to start drawing the
menu

OK, then how can I instantiate an object instance of the page I want to
start with?

> Why use the drawChildren method from the tag class? Wouldn't it be
easier for you to write your own tag CustomSimpleNavigationTag?

Haven't gone through the taglib tutorial yet, but yes, the code should
be moved to a .class or .jar or tag. For me, scriptlets are easy to work
with. I figure I can always move the java out of the JSP later when
things work how I want.

I want to define an array, or table, or some data structure, containing
roles required for resources & have SimpleNavigation check this list as
it iterates to see if it should output particular links or not. I'm
talking about Tomcat Realm Roles, not Magnolia Security Roles. 


> Hope you found it helpfull

Yes, but still need instances of 'page' and 'JspWriter'.

The J2EE methodologies are beginning to sink in. The Greekness expounded
by the developers looks less and less Greek. I've dropped classes into
JSP's before and encountered issues ith static methods. Now I know that
doing so makes them into inner classes of the JSP class, and inner
classes can't have static methods. This sheds some light on some old
questions.

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to