[appfuse-user] Login Problem with a User not in roles ROLE_ADMIN and ROLE_USER

2008-09-10 Thread alibehzadian
Hi, I have created a new user with a new role: ROLE_MANAGER. I have added a new interceptor named "managerOnly" to see if user is in role ROLE_MANAGER. When I login with this new user I get login error. Is there a missing step that I should do? Ali Behzadian Nejad. -- View this message in co

Re: [appfuse-user] Help!!! Testing if message is received in the newsletter and question.

2008-09-10 Thread Matt Raible
In that case, I'll go with an uneducated guess and say "yes". ;-) Matt On Wed, Sep 10, 2008 at 9:30 PM, Carlos Ortiz <[EMAIL PROTECTED]> wrote: > Perhaps not. Perhaps yes. Only need on this topic. It is just that. > > On Thu, Aug 28, 2008 at 10:40 PM, Matt Raible <[EMAIL PROTECTED]> > wrote: >> >

Re: [appfuse-user] Help!!! Testing if message is received in the newsletter and question.

2008-09-10 Thread Carlos Ortiz
Perhaps not. Perhaps yes. Only need on this topic. It is just that. On Thu, Aug 28, 2008 at 10:40 PM, Matt Raible <[EMAIL PROTECTED]>wrote: > I don't believe this question has anything to do with AppFuse does it? > > On Wed, Aug 27, 2008 at 10:35 PM, Carlos Ortiz <[EMAIL PROTECTED]> > wrote: > >

Re: [appfuse-user] Appfuse code generator 2.0

2008-09-10 Thread ahmad M
budies, i got something error when generate code from tables like Caused by: freemarker.template.TemplateModelException: Method public java.lang.String org.hibernate.tool.hbm2x.pojo.EntityPOJOClass.generateJoinColumnsAnnotation(org.hibernate.mapping.Property,org.hibernate.cfg.Configuration) thre

Re: [appfuse-user] Opinion

2008-09-10 Thread Philip Barlow
Will do, but chances are i will just research this myself if i find any useful solutions i'll post them here Vincenzo Caselli wrote: Philip, let us know if you switch the issue to another forum. Just to share points of view. Thanks Vincenzo Caselli On Mon, Sep 8, 2008 at 9:02 PM, Phili

Re: [appfuse-user] finding appfuse-light for {framework}-spring-hibernate?

2008-09-10 Thread Rick
On Wed, Sep 10, 2008 at 11:28 AM, Matt Raible <[EMAIL PROTECTED]>wrote: > > This is because the "new" way of doing things with annotations in > Spring 2.5 doesn't require extending this class and its generally not > recommended by the Hibernate folks. > Ahh thanks! Very interesting. I didn't kno

Re: [appfuse-user] finding appfuse-light for {framework}-spring-hibernate?

2008-09-10 Thread Matt Raible
You are correct that AppFuse Light doesn't extend HibernateDaoSupport in its DAO class. http://source.appfuse.org/browse/~raw,r=117/appfuse-light/trunk/src/main/java/org/appfuse/dao/hibernate/UserDaoHibernate.java This is because the "new" way of doing things with annotations in Spring 2.5 doesn'

Re: [appfuse-user] Appfuse code generator 2.0

2008-09-10 Thread Matt Raible
When generating your code, use -DgenericCore=false or modify the amp.genericCore property setting in your pom.xml. Matt On Wed, Sep 10, 2008 at 3:09 AM, ahmad M <[EMAIL PROTECTED]> wrote: > > now, how to generate dao hibernate code? is there any spesific command? > > > alibehzadian wrote: >> >> H

[appfuse-user] Re: Re[appfuse-user] moving passwordhint,address and phone number from user table

2008-09-10 Thread jithesh
Hi matt, I was getting some sort of error with db side. I will post that error soon. Thanks Jithesh mraible wrote: > > I can't think of any reason why you wouldn't be able to login anymore. > Is there any sort of errors in your logs? > > Matt > > On Mon, Sep 8, 2008 at 3:55 AM, jithesh

Re: [appfuse-user] build failure after run "mvn appfuse:gen",please help me!

2008-09-10 Thread Peter Schneider-Manzell
Please send the stactrace, so we can possibly identify your issue... 2008/9/10 dengqf <[EMAIL PROTECTED]> > > I have a problem about appfuse2! > I create a project with command > "mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes > -DarchetypeArtifactId=appfuse-basic-spring > -Dremot

[appfuse-user] SQL Server with UUID

2008-09-10 Thread Kinski
Hi, We have a requirement to use SQL Server with uniqueidentifiers as the UUID primary key If anyone else has a similar requirement then this is the post for you! In order to get things working we have had to choose a specific primary key generation strategy with Hibernate annotations which I a

Re: [appfuse-user] how to use jquery replace prototype?

2008-09-10 Thread Martin Homik
I don't know what happens when you remove the other AJAX frameworks. I simply added jQuery to default.jsp in decorators folder. jQuery.noConflict(); The jQuery.noConflict instruction is important when you want to keep the other AJAX frameworks. Note, that afterwards you have to

Re: [appfuse-user] how can use command "mvn appfuse:gen-model" for one table

2008-09-10 Thread Jakob Guenther
Hi, i don't know if it is possible to generate pojos for one single table directly. But you can exclude the others using the hibernate.reveng.xml - file. A description on how to use it can be found here: http://static.appfuse.org/plugins/appfuse-maven-plugin/gen-model-mojo.html I hope, i co

Re: [appfuse-user] dbunit and single tables

2008-09-10 Thread Martin Homik
Finally, I found a way to export single tables. Use dbunit and the 'export' goal. In the configuration section, define the tables you want to export. Here is an example: org.codehaus.mojo dbunit-maven-plugin

Re: [appfuse-user] Appfuse code generator 2.0

2008-09-10 Thread ahmad M
now, how to generate dao hibernate code? is there any spesific command? alibehzadian wrote: > > Hi, > > You can use "mvn appfuse:gen-model". > > Take a look at this: > " > http://static.appfuse.org/plugins/appfuse-maven-plugin/gen-model-mojo.html > http://static.appfuse.org/plugins/appfuse-m

[appfuse-user] how can use command "mvn appfuse:gen-model" for one table

2008-09-10 Thread dengqf
when user "mvn appfuse:gen-model",it can create pojo with all table in database dose it can create a pojo for a table in database?and how? -- View this message in context: http://www.nabble.com/how-can-use-command-%22mvn-appfuse%3Agen-model%22-for-one-table-tp19409139s2369p19409139.html Sent

[appfuse-user] build failure after run "mvn appfuse:gen",please help me!

2008-09-10 Thread dengqf
I have a problem about appfuse2! I create a project with command "mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-spring -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0.2 -DgroupId=com.mycompany.app -DartifactId=mypr