Nathan: Thanks a lot. This really helped, especially since I'm only a 1 yr
old programmer. Previous to this I spent 4 years in QA ;-)

Matt: I'd like to thank you too for your extremely prompt replies, most of
which have helped me solve my issues

What I like most is the fact that I get replies almost immediately. So
working with Appfuse has been more of a pleasure. Ofcourse I do face my
challenges, since I'm kinda new to programming, but I'm confident of
getting the help I need from this group.

Thanks a bunch,

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.
-----Original Message-----
From: Nathan Anderson [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 03, 2008 10:08 PM
To: [email protected]
Subject: Re: [appfuse-user] just want to confirm if this is the correct
way

Hi Vanessa,

See inline comments below...


----- [EMAIL PROTECTED] wrote:
> 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?

There probably is no one "correct way".  The way you described sounds very
reasonable to me.  And more importantly, it seems like something logical
to check if you needed to change it back at some point.

> 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?

That all sounds good to me too...

> 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?

Each of those files serve a different function and they are all used by
AppFuse out of the box, but they may not all be necessary depending on the
needs of application you are developing.
  menu-config.xml - the config file for Struts Menu
  menu.jsp - the file that sitemesh uses to insert the menu into most
pages
  mainMenu.jsp - this is more of a "home page" than a "menu"... it is the
default page users see after logging on if no specific page is requested.

> 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?

I don't have an app open in front of me, but I believe the "csstheme" is
set in web.xml.

> Thanks in advance for any answers to my questions.
>
> Vanessa Pacheco
> Programmer
> Bowman Systems L.L.C
> 318.213 .8780x307
>

Enjoy,
Nathan :)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to