Hi,
I'm using Appfuse 1.9.4, Struts framework. I've made a few basic
appearance changes and just want to know whether it was the correct way to
go about it. Also have some questions at the same time.
Seems correct now, but you never know how the wrong way of doing things
will affect later on.
1) On the login page, I didn't want the 'Main Menu' link showing up.
So, I added the role attribute to the MainMenu item in menu-config.xml. It
helped but is it the correct way to resolving my issue?
2) I wanted to control access to a particular method
'viewInstallations'. I added the appropriate value to
objectDefinitionSource property of methodSecurityInterceptor. However, it
didn't really work until I added roles to the @struts.action in
InstallationAction.java. Am I correct here or have I messed up somehow?
3) I have a question about menus. There are so many menu pages out
there..menu-config.xml, menu.jsp, mainMenu.jsp. Why are all these
necessary?
4) appConfig --> I know that there is a string constant 'CONFIG' in
Constants.java which is set to this value. Looking at login.jsp and some
other pages, I see a url (c:url
value='/styles/${appConfig["csstheme"]}/layout-1col.css') that uses it as
a variable. I did a search, but couldn't really find where it is set. Is
it the same as CONFIG?
Thanks in advance for any answers to my questions.
Vanessa Pacheco
Programmer
Bowman Systems L.L.C
318.213.8780x307
======================================
IMPORTANT WARNING: This message is intended for the use of the person or
entity to which it is addressed and may contain information that is
privileged and confidential, the disclosure of which is governed by
applicable law. If the reader of this message is not the intended
recipient, or the employee or agent responsible to deliver it to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this information is strictly prohibited. If you
have received this message in error, please notify the sender immediately
and arrange for the return or destruction of these documents.