[appfuse-user] AppFuse 2 + Struts 2 - JSP logging support?

2007-11-24 Thread Rob Hills
Hi All, I need to do some logging in a JSP and before I go and work out how to do this, I thought I'd check that there wasn't any built-in support for it within AppFuse or one of its contained frameworks. I looked through the Struts and JSTL tag libraries and found nothing (apart from a very t

Re: [appfuse-user] Re[appfuse-user] quest parameters in include uri

2007-11-24 Thread Rob Hills
Hi, rdr wrote: or Where publishers.html is mapped to a multiaction controller and viewActivitySummary is not the default method. For some reason, the default method gets invoked instead of the one specified (viewActivitySummary) when the page is rendered for the first time. The para

[appfuse-user] Re[appfuse-user] quest parameters in sitemesh decorator uri

2007-11-24 Thread rdr
Where numbers.html is mapped to a multiaction controller and viewSummary is not the default method. For some reason, the default method gets invoked instead of the one specified (viewSummary) when the page is rendered for the first time. The parameter "method" does not even exist in the request

[appfuse-user] [OffTopic] Eclipse Integration for Apache Maven project proposal

2007-11-24 Thread Abel MuiƱo
First, my apologies if this announcement is too offtopic for this list. As you might know, I'm the developer behind http://candy4appfuse.sourceforge.net/Welcome.html Candy for AppFuse eclipse plug-in. Development of that plug-in was suspended so I could dedicate time to the maven support in ecl

Re: [appfuse-user] Sitemesh decorator based on ROLE

2007-11-24 Thread rdr
Although the decorator names I posted here are different, I did test with same and different names for same request patterns. I skimmed through the code. I do not understand how this could have worked since the PathMapper always returns the last decorator for which the request pattern matches. An

Re: [appfuse-user] Sitemesh decorator based on ROLE

2007-11-24 Thread Dale Newfield
rdr wrote: find another way of doing this. It's amazing that a system with as many configuration options as sitemesh and its decorator mappers is still hard to configure the way you want. I'm currently using the both ParameterDecoratorMapper and ConfigDecoratorMapper, and I still don't get

Re: [appfuse-user] Sitemesh decorator based on ROLE

2007-11-24 Thread rdr
Dale, Thanks for the pointer. No the admin user does not have any other role. I think I'll take your advice, ditch the sitemesh *role* approach and find another way of doing this. Thanks Ram R DNewfield wrote: > > I bet your admin users *also* have role user, so any mapping restricted > to u

Re: [appfuse-user] NoSuchFieldError: TRACE while installing fresh Spring MVC Basic archetype

2007-11-24 Thread emmby
Hah. That was exactly it. I had forgotten that we had made some ugly changes to our $JAVA_HOME/lib/ext directory to support another project I work on. Being a new user I wasn't sure if the problem was mine or someone else's. Fantastic, thanks for the help. I look forward to getting down and

Re: [appfuse-user] Entity list in mainMenu.jsp

2007-11-24 Thread Matt Raible
Spring's ClassNameControllerHandlerMapping will lowercase the name - so it should be at /mainmenu.html. HTH, Matt On Nov 24, 2007, at 10:16 AM, George.Francis wrote: If I want to add a list of entities ('Projects') on my mainMenu, I assumed I had to define a MainMenuController class, and

[appfuse-user] Entity list in mainMenu.jsp

2007-11-24 Thread George.Francis
If I want to add a list of entities ('Projects') on my mainMenu, I assumed I had to define a MainMenuController class, and create a mapping for it in dispatcher-servlet.xml with id = mainMenuController. Having done this, it looks like my controller isn't called before mainMenu.jsp is displayed, so

Re: [appfuse-user] Sitemesh decorator based on ROLE

2007-11-24 Thread Dale Newfield
I bet your admin users *also* have role user, so any mapping restricted to user will also catch admin. There are a number of ways to select decorators: http://www.opensymphony.com/sitemesh/dm.html -Dale - To unsubscribe, e-ma

Re: [appfuse-user] NoSuchFieldError: TRACE while installing fresh Spring MVC Basic archetype

2007-11-24 Thread Matt Raible
Do you have any classes/jars in your system classpath? We haven't seen this issue from other users so I suspect it may be your environment. Matt On Nov 23, 2007, at 6:11 PM, emmby wrote: Trying to create a fresh AppFuse 2.0 spring MVC app. As per quickstart on http://appfuse.org/displ

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-24 Thread sparqle
I found the problem. My web.xml was not configured correctly. I started a new appfuse 2.0 project from scratch, and I compared the web.xml to my web.xml, and was able to find the missing xfire servlet and filter definitions. It works now. Alejandro Castro wrote: > > Hey there, > > Base on the