Yes, the standard sample velocity macro is getting called, so the
rootMenu object has been added and from java code I can see entire menu.
thanks...Roy
On 14/10/2010 23:30, Malcolm Edgar wrote:
Hi Roy,
I think the main drivers very much have their heads down doing work.
With the Menu control often the rendering is done via a velocity
macro. How is it done in your application?
regards Malcolm Edgar
On Fri, Oct 15, 2010 at 5:18 AM, Roy Bailey <[email protected]
<mailto:[email protected]>> wrote:
Hi,
I've been playing around with sample click app that used basic
menu and Tomcat security model. Very impressed and pleased with
the speed and simplicity I've been able to put something useful
together, including the use of PagingDataProvider for large
datasets and easy form/navigation.
Now I'm ready to show my employer and I need to take out the
security model so I can put a custom model in place. Having taken
out the security-constraint, login-config and security-role
elements from web.xml I no longer get the menu rendered. I've
checked everywhere but cannot seem to get the menu to render, even
though the #if($rootMenu) condition is true and from debug I can
see the menu object in java has all children etc. The sample does
not have security on but doesn't seem to do anything different,
though the menu is shown. Any ideas where I need to look? I just
get blank bar, like the root menu was empty? I've even given my
own AccessController that simply returns true for all requests,
but this is never called.
One other concern is the lack of updated information on main site.
It still states June for v2.3 and the low volume of traffic here
and activity on the project raises the question of whether the
framework will be supported and continue to be evolved. Have the
main drivers of this project moved on? or just busy with every
intention to continue this project?
Great work, take my hat off to those involved, appreciate any help
and comments on above.
thanks...Roy