Re: [appfuse-user] Captcha & Spring Security 2.0

2008-06-12 Thread ernasm
On Fri, Jun 13, 2008 at 7:38 AM, Nathan Anderson <[EMAIL PROTECTED]> wrote: > Hello Ernas, > > Prior to the 2.0 release Spring Security was called Acegi Security Framework. > Obviously, the instructions were written for an older version, but it is > likely that most if not all of the tutorial st

Re: [appfuse-user] Captcha & Spring Security 2.0

2008-06-12 Thread Nathan Anderson
Hello Ernas, Prior to the 2.0 release Spring Security was called Acegi Security Framework. Obviously, the instructions were written for an older version, but it is likely that most if not all of the tutorial still applies. I did a quick Google and I found that the person who wrote the origina

[appfuse-user] Captcha & Spring Security 2.0

2008-06-12 Thread ernasm
Does anyone has example of captcha integration with spring security 2.0? I'am trying to follow tutorial on Appfuse site, but it only shows configuration in acegi. Thanks, -- Ernas M. Jamil - To unsubscribe, e-mail: [EMAIL PROT

Re: [appfuse-user] errors with appfuse:gen

2008-06-12 Thread Vincent Ramdhanie
Hi JC, Thanks for the info. I tried JDK 1.5 and its working fine. I don't see any problems with using 1.5 for now so I'll probably do that. Since I'm always connected I'll try the suggestion of modifying AppFuseGeneratorMojo later on. Thanks Vincent On Thu, Jun 12, 2008 at 11:56 AM, JC Oosthuize

Re: [appfuse-user] errors with appfuse:gen

2008-06-12 Thread JC Oosthuizen
Hi, The current solution works fine on JDK 1.5 and I haven't tested it on JDK 1.6. I will look into fixing it on JDK 1.6 and send a patch. If you replace the "http://apache.org/xml/features/nonvalidating/load-external-dtd"; with "http://xml.org/sax/features/external-parameter-entities"; in AppFu

Re: [appfuse-user] Strange LazyInitializationException: could not initialize proxy - no Session

2008-06-12 Thread Dustin Pearce
I have a couple questions. You don't have a @ManyToOne annotation on the InspectionPackage side. Is that a JPA convention/default that it will just understand what you want there? I have never tried that before. So you have a manager that is returning a Package and then you try to itera

Re: [appfuse-user] Cookie storage

2008-06-12 Thread jithesh
Hello Matt, I saw in some sites that just selecting the username displays the password and let that user to enter the application. Like that I want to implement this feature. regards Jithesh PM mraible wrote: > > I don't see how building an array of usernames and storing i

[appfuse-user] Strange LazyInitializationException: could not initialize proxy - no Session

2008-06-12 Thread syg6
I can't figure out why I am getting this error. I recently changed ALL my Collections to LAZY because my application was just dragging when it had a lot of data. But this broke lots of stuff. I think I finally fixed all the stuff that broke (using Hibernate.initialize() to manually load Collection

Re: [appfuse-user] DoubtOnACEGI Remember me

2008-06-12 Thread Youssef Mohammed
On Thu, Jun 12, 2008 at 4:39 PM, Matt Raible <[EMAIL PROTECTED]> wrote: > AFAIK, this is not possible as the cookie is tied to the browser being used > and there's no information from the browser that identifies who is using it. +1 , actually remembering user A and B in the same time, would have

Re: [appfuse-user] DoubtOnACEGI Remember me

2008-06-12 Thread jithesh
Thanks matt. I just thought is there any approach for that. Thanks for your reply. regards, Jithesh PM mraible wrote: > > AFAIK, this is not possible as the cookie is tied to the browser being > used > and there's no information from the browser that identifies who is using > it. > > Matt > >

Re: [appfuse-user] errors with appfuse:gen

2008-06-12 Thread Vincent Ramdhanie
Hi, I am using JDK 1.6. Thanks Vincent On Thu, Jun 12, 2008 at 3:10 AM, JC Oosthuizen <[EMAIL PROTECTED]> wrote: > > Hi Vincent, > > The option that is unrecognized is used to prevent the XML parser from > retreiving the dtd from the internet, but it is clearly not supported by > the > parser on

Re: [appfuse-user] DoubtOnACEGI Remember me

2008-06-12 Thread Matt Raible
AFAIK, this is not possible as the cookie is tied to the browser being used and there's no information from the browser that identifies who is using it. Matt On Thu, Jun 12, 2008 at 7:38 AM, jithesh <[EMAIL PROTECTED]> wrote: > > Thanks for your reply matt. What I am looking is to figure out a m

Re: [appfuse-user] DoubtOnACEGI Remember me

2008-06-12 Thread jithesh
Thanks for your reply matt. What I am looking is to figure out a mechanism to keep more users on remember me. For example user A and user B are using same computer to access the application. If both users can set their session on the same browser, the job done. I know remember me works for single

Re: [appfuse-user] @Embedded

2008-06-12 Thread Matt Raible
On Thu, Jun 12, 2008 at 12:33 AM, Juan Heyns <[EMAIL PROTECTED]> wrote: > Matt > > We have a class hierarchy such as the following: > > @Entity > @Inheritance(strategy = InheritanceType.JOINED) > @Table(name = "subclass") > public abstract class SubClass extends BaseObject { > > private stati

Re: [appfuse-user] Re[appfuse-user] garding menu.jsp

2008-06-12 Thread Matt Raible
Yes, modify the "roles" attribute in menu-config.xml so it contains roles that the user won't have until they login. Matt On Thu, Jun 12, 2008 at 12:24 AM, Greenhorn2005 <[EMAIL PROTECTED]> wrote: > > > Is there anyway to hide the menu tab > > For example, when a particular user logs in th

Re: [appfuse-user] I try the newest appfuse 2.0.2, the steps is bellow:

2008-06-12 Thread Matt Raible
On Thu, Jun 12, 2008 at 1:32 AM, luxas <[EMAIL PROTECTED]> wrote: > > 1、install jdk-1_5_0-windows-i586.exe to c:\jdk directory > 2、add c:\jdk\bin to path envirment parameter > 3、add c:\jdk as JAVA_HOME parameter > 4、download maven 2.0.9 > 5、extract to d:\maven209 directory > 6、add d:\maven20

Re: [appfuse-user] Cookie storage

2008-06-12 Thread Matt Raible
I don't see how building an array of usernames and storing it in a cookie would do any good. You wouldn't know which user is using the computer (especially if it's public), so you wouldn't know which username to display to the user. Matt On Thu, Jun 12, 2008 at 4:05 AM, jithesh <[EMAIL PROTECTED]

Re: [appfuse-user] DoubtOnACEGI Remember me

2008-06-12 Thread Matt Raible
Remember Me should work for everyone that chooses to use it. It's cookie-based, so it will be on a per-browser basis. If that doesn't provide what you're looking for, please provide more details. Thanks, Matt On Wed, Jun 11, 2008 at 11:58 PM, jithesh <[EMAIL PROTECTED]> wrote: > > Hello Guys...

[appfuse-user] Cookie storage

2008-06-12 Thread jithesh
Hi Guys... I am using appfuse 1.9.4 for building my web app. I found that the cookie stores the username of the most recent user who has logged on. If I accessed the app from two browsers with two usernames say 'A' and 'B'. It will display either A or B in the login screen (cookie sto

Re: [appfuse-user] I try the newest appfuse 2.0.2, the steps is bellow:

2008-06-12 Thread luxas
Oh, when I first run the "mvn integration-test -Ppostgresql -Duser.language=en", I remove the following lines from the file postgresql-schema.sql DROP TABLE user_role; DROP TABLE app_user; DROP TABLE "role"; DROP SEQUENCE user_role_id; DROP SEQUENCE app_user_seq; DROP SEQUENCE role_seq;

[appfuse-user] I try the newest appfuse 2.0.2, the steps is bellow:

2008-06-12 Thread luxas
1、install jdk-1_5_0-windows-i586.exe to c:\jdk directory 2、add c:\jdk\bin to path envirment parameter 3、add c:\jdk as JAVA_HOME parameter 4、download maven 2.0.9 5、extract to d:\maven209 directory 6、add d:\maven209\bin to path envirment parameter 7、add d:\maven209 as MAVEN_HOME paramet

Re: [appfuse-user] errors with appfuse:gen

2008-06-12 Thread JC Oosthuizen
Hi Vincent, The option that is unrecognized is used to prevent the XML parser from retreiving the dtd from the internet, but it is clearly not supported by the parser on your system. What version of the JDK are you using? Regards, JC Oosthuizen Vincent Ramdhanie wrote: > > Hi Matt, > I rever