Re: [appfuse-user] The prod profile in the POM in a modular application

2009-01-09 Thread songsp
Reported at http://issues.appfuse.org/browse/APF-1126 Matt, I should thank you and the team instead, for making my life as a Java developer much easier! :) mraible wrote: > > Yes, please enter this an an issue in JIRA. Thanks for discovering > this issue and taking the time to find a fix as wel

Re: [appfuse-user] SecurityContext empty in Advices

2009-01-09 Thread Christian Decker
Hi Matt, you're always the fastest to reply ^^ It happens in both tests and full running environment. Basically what I did is create an advice UserManagerSecurityAdvice, that will hopefully one day replace your UserSecurityAdvice (not that that's necessary, but I wanted to have a clean start to r

[appfuse-user] Re: Appfuse on JBoss 4.2.2 GA!!

2009-01-09 Thread Mike O'Connel
The FAQ is a great place. I would appreciate any feedback from other jboss users to see if this works for you. I have tested these steps on windows and fedora linux and found them to be valid. Thanks Mike On Fri, Jan 9, 2009 at 9:22 AM, Mike O'Connel wrote: > Hi > > With these three easy steps

Re: [appfuse-user] Appfuse on JBoss 4.2.2 GA!!

2009-01-09 Thread Matt Raible
Thanks for these instructions Mike! Maybe we should add these to the wiki somewhere? Do you think the FAQ is the most appropriate area? Cheers, Matt On Fri, Jan 9, 2009 at 7:22 AM, Mike O'Connel wrote: > Hi > > With these three easy steps you can run Appfuse on JBoss 4.2.2 GA > 1) Move from Myf

Re: [appfuse-user] how to config GMail's SMTP server to be used by AppFuse

2009-01-09 Thread Ice-Man
I runned *mvn test -Dtest=*AppTest so in web dir as core as AppRoot, but even I couldn't receave even 1 e-mail from my App(fuse). (Obs.: I had just given up try run my AppFuse via Cargo/TomCat bcoz anyway I get able to deploy/run in Eclipse's TomCat (following WTP steps).) What do u suggest

[appfuse-user] Appfuse on JBoss 4.2.2 GA!!

2009-01-09 Thread Mike O'Connel
Hi With these three easy steps you can run Appfuse on JBoss 4.2.2 GA 1) Move from Myfaces to Sun RI (Refer to Matt's posting on this topic. It is all you need) 2) Remove jsf-api.jar and jsf-impl.jar from the war file. The myfaces jar should be ok 3) Set JBOSS hibernate to "provided" to have it use

Re: [appfuse-user] how to assign primarykey value manually from the form page or in the action class

2009-01-09 Thread Matt Raible
The setId() method shouldn't be called when you save a form. Instead, the object.setId() method should be called. setId() is only called when you edit and pass in id=foo. Matt On Fri, Jan 9, 2009 at 3:15 AM, sudhakargupta wrote: > > I created the code with the appfuse:gen but in the action c

Re: [appfuse-user] SecurityContext empty in Advices

2009-01-09 Thread Matt Raible
Does this happen when running the app or just when testing? If it happens when running the app, make sure the URL patterns are enabling security for the manager you're accessing. Matt On Fri, Jan 9, 2009 at 4:52 AM, Christian Decker wrote: > > Hi all, > > I'm trying to build my own security advi

Re: [appfuse-user] how to config GMail's SMTP server to be used by AppFuse

2009-01-09 Thread Matt Raible
For testing, there's only two faces, the "test" phase that runs JUnit tests and the "integration-test" phase that starts Tomcat (with Cargo) and runs the Canoo WebTests. Is there some other information you're looking for? Matt On Fri, Jan 9, 2009 at 5:25 AM, Ice-Man wrote: > Hi Matt , > >

Re: [appfuse-user] how to config GMail's SMTP server to be used by AppFuse

2009-01-09 Thread Ice-Man
Hi Matt , I just couldn't find a general test appFuse tutorial or even quick guide. Could u plz point 1 to me??! (Obs.: some pages insinuates run *mvn integration-test* my app will be deployed/running on Cargo TomCat.) In advance, thnx, Ice-Man 2009/1/8 Matt Raible > I'd suggest cha

[appfuse-user] SecurityContext empty in Advices

2009-01-09 Thread Christian Decker
Hi all, I'm trying to build my own security advice for manager calls. For this I'm using something like this: > SecurityContext context = SecurityContextHolder.getContext(); > log.debug("Checking to see if " + context.getAuthentication().getPrincipal() + " has access to " + method.ge

Re: [appfuse-user] how to assign primarykey value manually from the form page or in the action class

2009-01-09 Thread sudhakargupta
I created the code with the appfuse:gen but in the action class one method called prepare() at the time of save then it is searching for the given id value in the form page and it throws an exception in the daoHibernate class. so, i change the code in prepare method like the below pu