Re: [appfuse-user] JDBC username & password per developer

2007-10-06 Thread Michael Horwitz
There is a settings.xml file each user can configure for themselves. It lives in ~/.m2/settings.xml (~ is the user's home directory). Each user can configure their own usernames/passwords in here as properties, and no need to check them in! You can refer to the properties set in the settings.xml i

Re: [appfuse-user] how to prevent user from accessing link directly as user role by enter link address??

2007-10-06 Thread Michael Horwitz
You need to configure the link address in security.xml - look for the bean called filterInvocationInterceptor. In its configuration add a line for each link address you want to secure. Make sure you add each line before the last one: /**/*.html*=ROLE_ADMIN,ROLE_USER On the left goe

Re: [appfuse-user] problem of appfuse 1.9.4 with tomcat 6

2007-10-06 Thread Matt Raible
1.9.4 was released a year ago - way before Tomcat 6 was released. They moved common/lib to lib. You should be able to find/replace to fix the problem. Matt On 10/5/07, Ashkan Roshanayi <[EMAIL PROTECTED]> wrote: > Hi all, > > I want to create a new jsf flavor project with appfuse 1.9.4 but it f

Re: [appfuse-user] JDBC username & password per developer

2007-10-06 Thread Matt Raible
Google for "maven profiles". On 10/6/07, gommo <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm still getting used to maven2 as well as just finding Appfuse. I've > created a test jsf app with appfuse and overridden the database settings to > use postgres (in parent pom.xml). > > However, my question i

Re: [appfuse-user] Tomcat TransactionManager problem - I don't need JTA

2007-10-06 Thread Matt Raible
When you run "ant setup-tomcat" in AppFuse 1.x, this JAR (and others) are copied into Tomcat's classpath. Matt On 10/6/07, Rob Hills <[EMAIL PROTECTED]> wrote: > Hi Again, > > On 6 Oct 2007 at 16:49, Rob Hills wrote: > > > I have an appfuse 1.8 app that I'm trying to get running on a Tomcat > se

Re: [appfuse-user] Which design pattern

2007-10-06 Thread Ron Anderson
Criteria Query is pretty good for this. http://www.hibernate.org/hib_docs/reference/en/html/querycriteria.html - Original Message From: soussou97 <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Saturday, October 6, 2007 7:38:55 AM Subject: [appfuse-user] Which design pattern

Re: [appfuse-user] Stripes archetype

2007-10-06 Thread Matt Raible
There is no stripes implementation of AppFuse - only AppFuse Light. On 10/5/07, Daryl Handley <[EMAIL PROTECTED]> wrote: > Is there a stripes archetype for appfuse 2.0 ? I tried > appfuse-basic-stripes and it couldn't find it. Or do I just use appfuse > lite instead ? > > TIA > Daryl > >

[appfuse-user] Which design pattern

2007-10-06 Thread soussou97
Hi; I would like to implement an search algorithm which use many conditions (search criteria). For Example Begin : If criteria A && B are OK => if criteria C is OK => etc... Else criteria D && F are OK => if criteria C is OK => etc... Else etc... which design pattern or another design correspo

[appfuse-user] JDBC username & password per developer

2007-10-06 Thread gommo
Hi, I'm still getting used to maven2 as well as just finding Appfuse. I've created a test jsf app with appfuse and overridden the database settings to use postgres (in parent pom.xml). However, my question is, what is the best way for different developers to go about setting their username, pas

Re: [appfuse-user] Tomcat TransactionManager problem - I don't need JTA

2007-10-06 Thread Rob Hills
Hi Again, On 6 Oct 2007 at 16:49, Rob Hills wrote: > I have an appfuse 1.8 app that I'm trying to get running on a Tomcat server > against a Postgres > database, and I'm trying to find a simple way to get rid of the dreaded > "NoClassDefFoundError: javax/transaction/TransactionManager" excepti

[appfuse-user] Tomcat TransactionManager problem - I don't need JTA

2007-10-06 Thread Rob Hills
Hi All, I have an appfuse 1.8 app that I'm trying to get running on a Tomcat server against a Postgres database, and I'm trying to find a simple way to get rid of the dreaded "NoClassDefFoundError: javax/transaction/TransactionManager" exception. I understand this is caused by the absence of a