Re: [appfuse-user] Submenu problems in appfuse 2 and struts-menu

2009-04-09 Thread oscar perez
I was having this problem and spent some time trying to fix it. I am not velocity expert but it seemed to me that velocity had problems with recursivity (didnt keep the values in the stack after the call was finished). What I finally did was to have an iterative version of up to 3 levels (I dont t

[appfuse-user] security in Acegi

2009-04-09 Thread nani2ratna
Hi, I got one small doubt when I am debugging Appfuse. If you see the secuirty configuration in web.xml -- securityFilter org.springframework.web.filter.DelegatingFilterProxy targetBeanName springSecurityFilterChain How we are

Re: [appfuse-user] Circular placeholder while running in Eclipse

2009-04-09 Thread tibi
so if i understand correctly there is no way of telling eclipse to replces the placeholders in de application*.xml files before running tests? (yes i have the same problem when running test from within eclipse, commandline all is fine) thanks tibi -- View this message in context: http://www.n

Re: [appfuse-user] test coverage - UserAction

2009-04-09 Thread tibi
wait i found this: MockHttpServletRequest request = new MockHttpServletRequest("GET", "/editUser.html"); ServletActionContext.setRequest(request); much better :D tibi wrote: > ok no answers so i guess there is no solution jet. > i think the best way is to mock the request. but t

Re: [appfuse-user] test coverage - UserAction

2009-04-09 Thread tibi
ok no answers so i guess there is no solution jet. i think the best way is to mock the request. but then there is some refactoring needed can i change this: baseAction /** * Convenience method to get the request * @return current request */ protected HttpServletRequest getReq

Re: [appfuse-user] test coverage - UserAction

2009-04-09 Thread tibi
and it worked all fine. just added the userActionTest patch to the jira tibi wrote: > wait i found this: > > MockHttpServletRequest request = new > MockHttpServletRequest("GET", "/editUser.html"); > ServletActionContext.setRequest(request); > > much better :D > > > tibi wrote: >

Re: [appfuse-user] Removal of Ajax4JSF in appfuse light

2009-04-09 Thread Saeed Iqbal
It seems to not work when i remove the view handler. Can I know what to modify in web.xml and faces config to make it run properly please. On Wed, Apr 8, 2009 at 5:37 AM, Matt Raible wrote: > What do you mean by "it didn't work". Do you mean it's still in your final > WAR? If so, you probably n

[appfuse-user] Error in web test

2009-04-09 Thread Matias Berrueta
Hii, in locale "es", "mvn install" throw an error, while execute the ant web test. The error is with the value of mainMenu.title in ApplicationResources becase in spanish is "menu principal"(this is ok), but the test require "Registro | AppFuse" I temporaly change in web-tests.xml the "mainMenu.

Re: [appfuse-user] Error in web test

2009-04-09 Thread Matt Raible
I'm slightly confused - is there a bug in AppFuse or is something not working right? Matt On Thu, Apr 9, 2009 at 9:24 AM, Matias Berrueta wrote: > Hii, in locale "es", "mvn install" throw an error, while execute the > ant web test. > > The error is with the value of mainMenu.title in Application

Re: [appfuse-user] Error in web test

2009-04-09 Thread Matias Berrueta
is a bug in the web test of appfuse, if i disable this, work fine Matias Berrueta On Thu, Apr 9, 2009 at 1:40 PM, Matt Raible wrote: > I'm slightly confused - is there a bug in AppFuse or is something not > working right? > > Matt > > On Thu, Apr 9, 2009 at 9:24 AM, Matias Berrueta > wr

Re: [appfuse-user] Error in web test

2009-04-09 Thread Matt Raible
Can you please enter it as a bug in JIRA and include the steps to reproduce? http://issues.appfuse.org/browse/APF Thanks, Matt On Thu, Apr 9, 2009 at 10:55 AM, Matias Berrueta wrote: > is a bug in the web test of appfuse, if i disable this, work fine > > > > > > > Matias Berrueta > > > > > On

Re: [appfuse-user] Circular placeholder while running in Eclipse

2009-04-09 Thread Matt Raible
It might be possible if you're using the Maven Plugin. You could also exclude src/main/resources as a classpath resource and tell Eclipse to look in target/classes instead. Matt On Thu, Apr 9, 2009 at 4:30 AM, tibi wrote: > > so if i understand correctly there is no way of telling eclipse to re

Re: [appfuse-user] Error in web test

2009-04-09 Thread Matias Berrueta
oks Matias Berrueta On Thu, Apr 9, 2009 at 1:57 PM, Matt Raible wrote: > Can you please enter it as a bug in JIRA and include the steps to reproduce? > > http://issues.appfuse.org/browse/APF > > Thanks, > > Matt > > On Thu, Apr 9, 2009 at 10:55 AM, Matias Berrueta > wrote: >> >> is a bug in

Re: [appfuse-user] Removal of Ajax4JSF in appfuse light

2009-04-09 Thread Matt Raible
You probably need to add Facelets' ViewHandler in web.xml. On Thu, Apr 9, 2009 at 8:48 AM, Saeed Iqbal wrote: > It seems to not work when i remove the view handler. > > Can I know what to modify in web.xml and faces config to make it run > properly please. > > On Wed, Apr 8, 2009 at 5:37 AM, Mat

Re: [appfuse-user] security in Acegi

2009-04-09 Thread Matt Raible
security.xml is specified as a file to load in web.xml. On Thu, Apr 9, 2009 at 1:51 AM, nani2ratna wrote: > > Hi, > > I got one small doubt when I am debugging Appfuse. > If you see the secuirty configuration in web.xml -- > > >securityFilter > > > org.springframework.web.filter.Dele

Re: [appfuse-user] Removal of Ajax4JSF in appfuse light

2009-04-09 Thread Saeed Iqbal
Yes I put the sun facelets library and it worked. Thanks. What is the param.id inside faces config, the managed property Thanks, -saeed On Thu, Apr 9, 2009 at 10:05 PM, Matt Raible wrote: > You probably need to add Facelets' ViewHandler in web.xml. > > On Thu, Apr 9, 2009 at 8:48 AM, Saeed Iqb

Re: [appfuse-user] security in Acegi

2009-04-09 Thread nani2ratna
Hi, So is security.xml same as applicationContect-acegi-security.xml ?? Thanks and Regards Ratna Sekhar.K 0713156337 mraible wrote: > > security.xml is specified as a file to load in web.xml. > > On Thu, Apr 9, 2009 at 1:51 AM, nani2ratna wrote: > >> >> Hi, >> >> I got one small doubt wh

Re: [appfuse-user] security in Acegi

2009-04-09 Thread Matt Raible
We don't use a file named applicationContect-acegi-security.xml in AppFuse. On Thu, Apr 9, 2009 at 11:29 AM, nani2ratna wrote: > > Hi, > > So is security.xml same as > applicationContect-acegi-security.xml ?? > > Thanks and Regards > Ratna Sekhar.K > 0713156337 > > > mraible wrote: > > > > secur

Re: [appfuse-user] Removal of Ajax4JSF in appfuse light

2009-04-09 Thread Matt Raible
That's the id parameter that's passed in from the list screen. On Thu, Apr 9, 2009 at 11:25 AM, Saeed Iqbal wrote: > Yes I put the sun facelets library and it worked. Thanks. > > What is the param.id inside faces config, the managed property > > Thanks, > -saeed > > > On Thu, Apr 9, 2009 at 10:0

Re: [appfuse-user] security in Acegi

2009-04-09 Thread nani2ratna
Hi , I am sorry i think there is some mis communication. I know we dont use that file name in appfuse. But if use see acegi application we have the file with name applicationContext-acegi-security.xml. In that they give all the configuration settings for acegi security configuration with spring.

Re: [appfuse-user] security in Acegi

2009-04-09 Thread nani2ratna
Hi matt, I just saw the tutorial that you have given for upgrading spring security. This is the link. http://raibledesigns.com/rd/entry/upgrading_to_spring_security_2 http://raibledesigns.com/rd/entry/upgrading_to_spring_security_2 you removed so many lines. I just asked the question regarding

Re: [appfuse-user] security in Acegi

2009-04-09 Thread Matt Raible
The best way I can describe it is the Spring Security 2 configuration creates the springSecurityFilterChain bean automatically before you w/o requiring any configuration. On Thu, Apr 9, 2009 at 11:55 AM, nani2ratna wrote: > > Hi matt, > > I just saw the tutorial that you have given for upgradin