Re: [appfuse-user] changing name to User Roles

2009-03-04 Thread Matt Raible
You might look in Constants.java. On Mar 4, 2009, at 8:12 PM, foward wrote: Hi matt, yes I changed also in security.xml but in other part of the code exist something that when I change in the user profile, exist in one side ROLE_USUARIO, ROLE_ADMIN , ROLE_ENCUESTADOR and in the other side

Re: [appfuse-user] changing name to User Roles

2009-03-04 Thread foward
Hi matt, yes I changed also in security.xml but in other part of the code exist something that when I change in the user profile, exist in one side ROLE_USUARIO, ROLE_ADMIN , ROLE_ENCUESTADOR and in the other side appear ROLE_USER in english...I check the code but I cannot find where is mapped.

Re: [appfuse-user] changing name to User Roles

2009-03-04 Thread Matt Raible
You'll also need to change security.xml. Matt On Wed, Mar 4, 2009 at 6:31 PM, foward wrote: > > Hi, > > My name is Francisco and I have one question : I tried to modify the name of > the ROLES I mean: > > ROLE_USER => Changed to   => ROLE_USUARIO > ROLE_ADMIN     without change > ROLE_ENCUESTADO

[appfuse-user] changing name to User Roles

2009-03-04 Thread foward
Hi, My name is Francisco and I have one question : I tried to modify the name of the ROLES I mean: ROLE_USER => Changed to => ROLE_USUARIO ROLE_ADMIN without change ROLE_ENCUESTADOR... added I put in the sample data and I changed the jsp files for the menus permission but when I go to

Re: [appfuse-user] 1.9.4 -> 2.0 migration Adding pages to /admin

2009-03-04 Thread Matt Raible
I believe you have two choices of how to fix this: 1. Move Controllers to controllers.admin package. 2. Change the path to your view in your Controllers. For example: return new ModelAndView("admin/userList", Constants.USER_LIST, mgr.getUsers(new User())); Matt On Wed, Mar 4, 2009 at 3:52 PM, R

[appfuse-user] 1.9.4 -> 2.0 migration Adding pages to /admin

2009-03-04 Thread Rick Fisk
We recently converted one of our apps to 2.0.2. Things went relatively well but I wanted to move some pages into the admin directory. I thought I could just change menu-config.xml to make the desination of a particular menu item = /admin/page.html Modify the dispatcher-servlet.xml to include

Re: [appfuse-user] Anemic domain model in appfuse?

2009-03-04 Thread mmaia
your manager is rigth. Anemic Domain model is not OO. The point here is that nothing in appfuse stops you from implementing Domain model I've been ther, done that.. no secrets. It worked great. Domain model states that the objects should have the behavior that is commom to it's type. Appfuse gen t

Re: [appfuse-user] Anemic domain model in appfuse?

2009-03-04 Thread sergiovera
Well no, I dont think its better, since I have worked with all the logic in some external class, its quite easy for me to understand it. But I'll post in a couple of months to let you know if , working with the logic in the domian model has been working for us. Thank you! mraible wrote: > >

Re: [appfuse-user] Anemic domain model in appfuse?

2009-03-04 Thread Matt Raible
The main reason I haven't gone ahead and implemented the non-Anemic Domain model is I believe the current code is easier for developers to understand. The longevity of a software project is often determined by how much test coverage it has and how easy it is to maintain. If for some reason you thin

[appfuse-user] Anemic domain model in appfuse?

2009-03-04 Thread sergiovera
Hello everybody! First: I DON't think appfuse has any kind of problem, I've been in love with it since I found, and currently, I'm using equinox for my current project. However, my manager, a very UML-Only person, has been questioning me about the java Beans, which represent my domain model. The

Re: [appfuse-user] mvn appfuse:full-source fails with svn error

2009-03-04 Thread Matt Raible
It looks like you can't connect to AppFuse's SVN. Are you behind a proxy server of some sort? If so, I don't know of a solution. http://issues.appfuse.org/browse/APF-920 Matt On Mar 4, 2009, at 9:40 AM, Marian wrote: Here's what I get if I'm trying to get the Appfuse sources : [INFO] [appf

[appfuse-user] mvn appfuse:full-source fails with svn error

2009-03-04 Thread Marian
Here's what I get if I'm trying to get the Appfuse sources : [INFO] [appfuse:full-source] [INFO] [AppFuse] Installing source from data-common module... [ERROR] 175002 : svn: PROPFIND request failed on '/svn/appfuse/tags/APPFUSE_2.0.2/data/common/src' [ERROR] 175002 : svn: Connection timed out: con

Re: [appfuse-user] Question on Architecture

2009-03-04 Thread Dominik Sadowski
foreword: I'm pretty new to JSF at all (I never tried using it myself - just examining some samples). I'm currently developing 2 webapps (presistence+services layers) which are based on AppFuse of course. I would like to use Spring MVC for presentation layer, but I'm going to use ajaxified JS

[appfuse-user] Workaround for bug APF-1088?

2009-03-04 Thread Charles Girardot
Dear readers, I encountered the same pb as described in http://issues.appfuse.org/browse/APF-1088 i.e. "If class name has embedded capitals, AppGen code fails UI tests, and generated hyperlinks are incorrect." Actually, I guess it is not a generation plugin problem but rather a general prob