RE: [appfuse-user] RoleVoter

2008-03-27 Thread vpacheco
Thanks Ron, This approach should definitely work too. Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT WARNING: This message is intended for the use of the person or entity to which it is addressed and may contain inform

RE: [appfuse-user] RoleVoter

2008-03-27 Thread vpacheco
Thanks Mike, That was it. Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT WARNING: This message is intended for the use of the person or entity to which it is addressed and may contain information that is privileged and con

[appfuse-user] RoleVoter

2008-03-27 Thread vpacheco
I was just reading about acegi and using RoleVoter. The docs out there state that in order to use RoleVoter, you need to use the "ROLE_" prefix for all roles. Now in appfuse, the Constants.java file has 'ADMIN_ROLE','USER_ROLE'. How do we get it working with appfuse? I ask because I'm

[appfuse-user] appfuse wiki

2008-03-26 Thread vpacheco
Appfuse wiki seems to be down. Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT WARNING: This message is intended for the use of the person or entity to which it is addressed and may contain information that is privileged an

RE: [appfuse-user] Implementing Acegi ACLs

2008-03-20 Thread vpacheco
Rob, I haven't yet fully tried it out. But I found an interesting link http://toubsen.de/appfuse/acls/start This, it seems would work for Appfuse 2.0. Ofcourse I haven't tried it out, but the person who wrote it says it works. I will make the necessary changes for 1.9.4 and let you know whet

RE: [appfuse-user] Implementing Acegi ACLs

2008-03-20 Thread vpacheco
Thanks a ton Nathan, I will definitely look into all the material you pointed me to. Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT WARNING: This message is intended for the use of the person or entity to which it is addressed a

[appfuse-user] Implementing Acegi ACLs

2008-03-20 Thread vpacheco
Hi, I'm following the tutorial @ http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseAcegiACL The bean definition for basicAclProviderManager is as below (copied from tutorial) Now since I use Appfuse 1.9.4 (Spring 2.0), I defined it as follows

[appfuse-user] appfuse primer

2008-01-23 Thread vpacheco
Is this book already out? I was just fishin online and came across this website by David L. Whitehurst. It was supposed to be out in Aug '07 I searched on Amazon, but couldn't find it. Someone, please let me know where I could find it. Vanessa

RE: [appfuse-user] session question

2008-01-07 Thread vpacheco
Thanks Rene, This does make a lot of sense. Ofcourse, I still have to digest all of it ;-) I will check on the login page and see what I have done differently. Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT WARNING: This message

RE: [appfuse-user] session question

2008-01-07 Thread vpacheco
This is what I presently have. I realized that you have values ROLE_ToolAdmin, ROLE_ToolUser. I only have ToolUser, ToolAdmin. Could this be the problem? Thanks for takin the time to help me out. PATTERN_TYPE_APACHE_ANT /clickstreams.jsp*=ad

RE: [appfuse-user] session question

2008-01-07 Thread vpacheco
Hi Micheal, I think it's a fault on my part. There's probably something I haven't done right, but cannot put my finger on it. Here's what I want it to do: Whenever I log in (as any user), it should take me to a menu page. The way I've coded it, I should see an admin menu item (with it's sub

[appfuse-user] session question

2008-01-07 Thread vpacheco
I'm having some session problem or so I think. I'll explain: I have 4 users (listed in order of privileges from highest to lowest) --- admin, support, ToolAdmin, ToolUser. I log in as admin, support and go to pages that only they have access to and it works fine. Then I log in as a ToolUser

RE: [appfuse-user] just want to confirm if this is the correct way

2008-01-04 Thread vpacheco
Nathan: Thanks a lot. This really helped, especially since I'm only a 1 yr old programmer. Previous to this I spent 4 years in QA ;-) Matt: I'd like to thank you too for your extremely prompt replies, most of which have helped me solve my issues What I like most is the fact that I get replies al

[appfuse-user] just want to confirm if this is the correct way

2008-01-03 Thread vpacheco
Hi, I'm using Appfuse 1.9.4, Struts framework. I've made a few basic appearance changes and just want to know whether it was the correct way to go about it. Also have some questions at the same time. Seems correct now, but you never know how the wrong way of doing things will affect later o

RE: [appfuse-user] acegi security

2008-01-02 Thread vpacheco
Matt, I checked my *Action.java page, but there were no roles specified there for any @struts.action. I'm guessing that's what you were referring to. My question is this: If I add new roles or change existing role names in the role table (in the db), where would I typically need to make a change

[appfuse-user] acegi security

2008-01-02 Thread vpacheco
I'm using Appfuse 1.9.4 with Struts framework. I'm trying to use 'methodSecurityInterceptor' to secure access. I have these constants in Constants.java Public static final String SPIES_ADMIN = "SpiesAdmin"; Public static final String ADMIN_ROLE = "admin";

[appfuse-user] user roles

2007-12-20 Thread vpacheco
Hi, I am using Appfuse 1.9.4, Struts framework I've modified the roles in my role table. I now have 4 roles i.e. 'Bowman Admin', 'Bowman Support', 'SPIES Admin', 'SPIES User'. I no longer have 'admin', 'tomcat'. I want 'Bowman Admin' to have 'admin' privileges i.e. rights to everything.

RE: [appfuse-user] Updating POJO results in new database entry

2007-12-17 Thread vpacheco
Yes, please add this note to the tutorial. It would definitely help all us newbies out there. Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT WARNING: This message is intended for the use of the person or entity to which it is addr

RE: [appfuse-user] Acegi Security

2007-12-10 Thread vpacheco
Disregard this question for now. I found some online documentation that I'm refering to. If I have any further questions after reading that, I'll send another email. Thanks, Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT WARNING:

RE: [appfuse-user] Acegi Security

2007-12-10 Thread vpacheco
If I'm using Appfuse 1.9.4 which uses Spring 2.0, could I still follow these tutorials to the T or do I need to make changes. For example, I'm wondering about the txProxyTemplate bean definition. Can I use this with Spring 2.0? Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 ===

RE: [appfuse-user] Acegi Security

2007-12-06 Thread vpacheco
Thanks Nathan, I'll give it a shot. Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT WARNING: This message is intended for the use of the person or entity to which it is addressed and may contain information that is privileged and

RE: [appfuse-user] Acegi Security

2007-12-06 Thread vpacheco
That's awesome. I've never used it before so I'm totally unaware of how to implement it. Is there an appfuse tutorial on how to implement it in my application Thanks,. Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT

[appfuse-user] Acegi Security

2007-12-06 Thread vpacheco
I want to add Acegi Security to my application. I am using appfuse 1.9.x, struts framework. I found 2 links to tutorials for Acegi. http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseSecurityMethods --> This one is for Struts framework only for Appfuse 1.4 and higher http://raibledesigns.c

RE: [appfuse-user] appfuse hibernate.cfg.xml file?

2007-11-12 Thread vpacheco
I'm using 1.9.x Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT WARNING: This message is intended for the use of the person or entity to which it is addressed and may contain information that is privileged and confidential, the

[appfuse-user] appfuse hibernate.cfg.xml file?

2007-11-12 Thread vpacheco
I am getting this error "org.hibernate.MappingException: An association from the table installation refers to an unmapped class: DBVersion" I have this mapped in applicationContext-hibernate.xml. Is there another configuration file where I need to map it? Thanks, Vanessa Pacheco Programmer

RE: [appfuse-user] application won't start in tomcat

2007-11-01 Thread vpacheco
Thanks Matt, I finally got the error and yes it was in the tomcat logs. I've moved a step ahead now...trying to figure out the nullpointerException with one of my action tests. Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT WAR

RE: [appfuse-user] Action method error

2007-11-01 Thread vpacheco
When I try executing the URL below...this is what I get in the tomcat logs. In the browser it just reverts back to mainMenu.html. I guess theres a null object in there somewhere, which I need to check out. [SpiesAdmin] DEBUG [http-8080-Processor24] InstallationAction.search(269) | Entering 'search

[appfuse-user] application won't start in tomcat

2007-10-31 Thread vpacheco
Hi, I'm using Appfuse 1.9.x. When I first setup and deploy, my app works fine. Now I reach ' Part III - Creating Actions and JSP's'. I followed all steps. I ran ant db-load deploy (also deploy-web, since I made some changes there). Now when I try to start my application in tomcat, it just

RE: [appfuse-user] running my app in tomcat

2007-10-31 Thread vpacheco
Shoot I always forget to give all details. I am using 1.9.x, so I don't have a pom.xml Let me see if I have the acegi-security jar file in my lib dir though. Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT WARNING: This

RE: [appfuse-user] running my app in tomcat

2007-10-31 Thread vpacheco
Forgot to mention which step I am on. I have generated all actions and jsps. Now my action tests were not successful, which is why Matt suggessted actually running them in the browser. So, basically this is what I wanna do, but I'm getting the following exception. Help please Vaness

[appfuse-user] running my app in tomcat

2007-10-31 Thread vpacheco
Hi, When I try to run my application in Tomcat, this is what I get. Anyone seen this before. Any idea where to correct this? org.apache.jasper.JasperException: /index.jsp(1,1) The absolute uri: http://acegisecurity.org/authz cannot be resolved in either web.xml or the jar files deployed wit

[appfuse-user] Action method error

2007-10-30 Thread vpacheco
Hi, Sorry to bother again. I'm running my action tests and this is what I get when I try to run 'InstallationActionTest' Again, I did see this error posted by someone, but didn't quite get a resolution out of it. Thanks in advance for any help, ~Vanessa [echo] Testing web...

RE: [appfuse-user] error creating jsps with associations

2007-10-30 Thread vpacheco
Thanks, Will try this out for now. Does Appfuse 2.0 handle associations by any chance? If yes, then I would probably consider moving to 2.0, if I can manage it. Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT WARNING: This messa

[appfuse-user] error creating jsps with associations

2007-10-30 Thread vpacheco
Hi, Could someone please help me get around this issue. I am using Appfuse 1.9.x and am trying to generate jsps. For classes that don't have associations, it works fine, but I do have associations for about 2-3 of them and these are throwing an error. The error is below. I did see some

[appfuse-user] adding new column to user_role

2007-10-22 Thread vpacheco
Hi, I'm using appfuse 1.9.x I want to add a new column to user_role table so that it now has these columns (uid, user_uid, role_uid). Since it's a relation between user and role, I don't know where to add the @hibernate Xdoclet tags for the "uid" column. When I run "ant setup-db", I

RE: [appfuse-user] confirmation of steps (1.9.x)

2007-10-09 Thread vpacheco
Matt, ApplicationResources.properties did the trick. I just added this file and added the required data and it worked. Thanks a ton, I can finally continue with my work Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT WARNING: T

RE: [appfuse-user] confirmation of steps (1.9.x) -- URGENT

2007-10-09 Thread vpacheco
Thanks Matt, I will try out everything you gave me and let you know the results. Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT WARNING: This message is intended for the use of the person or entity to which it is addressed and

RE: [appfuse-user] confirmation of steps (1.9.x)

2007-10-09 Thread vpacheco
Sorry about that. Will not happen again ;-) I have gone through the tutorials. I was confused though with the steps that I listed in my previous mail. > Copy the contents of Person.properties into > web/WEB-INF/classes/ApplicationResources.properties. - Is > this in /extras/appgen/build/gen/we

[appfuse-user] confirmation of steps (1.9.x) -- URGENT

2007-10-09 Thread vpacheco
Since my test is not working i.e. when I try loading editPerson?id=1 I am re-directed to the login page but every text in there has question marks preceeding and succeeding it... So I need to confirm that I'm doing it all right. --1) Create skeleton JSPs using XDoclet [#2]: Copy the contents

[appfuse-user] confirmation of steps (1.9.x) -- URGENT

2007-10-09 Thread vpacheco
Since my test is not working i.e. when I try loading editPerson?id=1 I am re-directed to the login page but every text in there has question marks preceeding and succeeding it. So I need to confirm that I'm doing it all right. Create skeleton JSPs using XDoclet [#2]: * Copy the contents

RE: [appfuse-user] deploying an appfuse 1.9.x project

2007-10-08 Thread vpacheco
I created the symlink and then ran it (was always running as root) and then got a different error which turned out to be a tomcat 5.5 bug Check this out http://www.nabble.com/DO-NOT-REPLY--Bug-41504---New%3AIllegal-access%3 A-this-web-application-instance-has-been-stopped-already-tf3147591.htm

[appfuse-user] deploying an appfuse 1.9.x project

2007-10-08 Thread vpacheco
Hi, I'm trying to deploy a 1.9.x project. I've followed all steps from the tutorial @ http://raibledesigns.com/wiki/Wiki.jsp?page=CreateDAO I ran "ant db-load deploy" and now I'm trying to test my application using tomcat. I couldn't test my application since I get the 404 error. When I go

RE: [appfuse-user] PersonForm.java not being generated

2007-10-04 Thread vpacheco
Turned out to be a permissions problem after. Just to test it out, I switched to root user and created a new project from scratch. To speed up things, I just copied all the java files from the previous project. This time ant gen-forms worked. Permissions really create a lot of havoc, even thoug

RE: [appfuse-user] PersonForm.java not being generated

2007-10-04 Thread vpacheco
Yes. I will attach my .java file here. It's in /opt/dev/tools/PersonApp/src/dao/org/appfuse/model Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT WARNING: This message is intended for the use of the person or entity to which it

RE: [appfuse-user] PersonForm.java not being generated

2007-10-04 Thread vpacheco
Is there anything that I need to add to some xml file for this. Uptil now it's all working fine. I'm just stuck at this stage. I also checked permissions and it's all fine. Well I guess I'll just log in as root and try out. Thanks, Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x30

RE: [appfuse-user] PersonForm.java not being generated

2007-10-04 Thread vpacheco
I copied that line from User.java and added it to my Person.java class I also tried used org.appfuse.webapp.form.BaseForm I tried everything possible. Anyone else have the same problem. Any tips on how to troubleshoot. What am I typically supposed to see as an output when I run ant. Thanks, V

[appfuse-user] PersonForm.java not being generated

2007-10-04 Thread vpacheco
Hi, I am using Appfuse 1.9.x + Struts. I am going through the tutorial and have successfully finished the 1st 2 parts. Now it's time to create the Struts Action form etc etc. I added the Xdoclet tag and ran "ant gen-forms". Build is successful but it really doesn't do much. Here's the o

[appfuse-user] rabledesigns site down today?

2007-10-02 Thread vpacheco
Hi, Is this site down today? I'm trying to get to the tutorial that I sooo desperately want to start on. http://raibledesigns.com/wiki/Wiki.jsp?page=Articles Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT WARNING: This messag

RE: [appfuse-user] appfuse 1.6.1

2007-10-01 Thread vpacheco
That's rightI finally figured it out. However I did go ahead and checkout 1.9.x and set it up. Now I want to create/integrate an Appfuse 1.9.x project using Netbeans 5.5 Wish me luck ;-) Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 =

RE: [appfuse-user] appfuse 1.6.1

2007-10-01 Thread vpacheco
This is the strangest error and I really can't wrap my mind around it. I am trying to setup Appfuse 1.6.1 on my machine. I checked it out from svn and am following instructions @ http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseQuickStart However when I run "ant new -Dapp.name=Appname -Ddb.name

[appfuse-user] appfuse 1.6.1

2007-09-28 Thread vpacheco
I'm taking over a project from one of my colleagues. He used v.1.6.1 to develop it. I did download v.2.0, but I see that the dir structure for the 2 versions are different. Since I need to develop ASAP (and am also new to appfuse), could you please let me know where I could find v.1.6.1. I