Hi,

I just upgraded to click-2.3.0-RC1 from 2.2.0 and I am having an issue
with the org.apache.click.extras.control.Menu class.  For some reason
getAccessController() on line 876 is always null even if i explicitly
set an AccessController after creating my menu like this:

Menu rootMenu.setAccessController(new MyAccessControler());

I even tried overriding the getAccessController() method to always
return a new object, but that failed as well.

This always worked in version 2.2.0.

Here is a little bit about my setup:

1) im not using menu.xml, im building my menu programatically
2) i dont have a macro.vm anywhere in my project
3) im using guice (no spring, no acegi)
4) im deploying to jetty and tomcat (no container based security)

Does anyone have any ideas about why this is happening?  I suspect it
has something to do with the fact that the AccessController in
Menu.java is transient.

Any thoughts would be appreciated.

Thanks,
Curt

Reply via email to