Re: [appfuse-user] Maven behind a proxy

2007-03-22 Thread Nigel in NZ
Hi, thanks but that works fine, I can see the xml file too. I have temporarily reverted to 1.9.4 which does not use Maven. Any help appreciated. Thanks Nigel Michael Horwitz wrote: > > Can you navigate to > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/ > thr

Re: [appfuse-user] PersonDaoTest won't compile

2007-03-22 Thread Daniele De Francesco
Hi there, first of all let me thank you for answering Matt...problem solved! The error is still there but the test now runs succesfully. It was me. I created another applicationContext-dao.xml ignoring the one that shipped with the appfuse-hibernate distribution jar. I had copied there the person

Re: [appfuse-user] Spring Topics of Interest

2007-03-22 Thread David Whitehurst
Mike: I think the *key* concept is the tight coupling of everything, the interfaces, the configuration, the Dao, the Manager, and the Action. That's a beautiful thing period. :-) Thanks for your reply. David Michael Horwitz wrote: > > Perhaps a quick note on Spring/Hibernate or Spring/Ibat

Re: [appfuse-user] jetty:run-war problem

2007-03-22 Thread Matt Raible
Do you have security.xml local to your project? If so, delete the line that has . http://issues.appfuse.org/browse/APF-422#action_11493 Matt On 3/22/07, kace <[EMAIL PROTECTED]> wrote: Hi fellas - 20 minutes ago running mvn jetty:run-war worked and now for some i reason i get the following

[appfuse-user] jetty:run-war problem

2007-03-22 Thread kace
Hi fellas - 20 minutes ago running mvn jetty:run-war worked and now for some i reason i get the following error. niether jeet:run nor jetty:run-war works now - anyone know what i can do to make it work again? thanks, kace [ERROR] BUILD ERROR [INFO] --

Re: [appfuse-user] Editing Appfuse Source

2007-03-22 Thread tdahlke
Address.java is part of the core model classes, so refer to Mike's post about that. The form controllers and other things should probably be extended/replaced. If you'd like to look at the source for reference, check it out from the SVN repository: http://appfuse.org/display/APF/Source+Repository

Re: [appfuse-user] Switching decorators or not using decorator for some pages not working

2007-03-22 Thread masterg007
Still didn't work -- - Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [appfuse-user] Switching decorators or not using decorator for some pages not working

2007-03-22 Thread Matt Raible
You might try moving your "none" decorator so it comes after the "default" one in decorators.xml. Matt On 3/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: All: I am trying to switch decorator with Sitemesh and it did not work so I tried to not use a decorator for JSP files under the /

Re: [appfuse-user] Editing Appfuse Source

2007-03-22 Thread sionsmith
Well i want to edit things like the address.java class and some of the actions classes e.g UserForm.java so that they return to different pages. I have downloaded the whole JSF source from SVN i'm i able to just place this into my project under the "src\main\java" directory and sort my pom out so

[appfuse-user] Switching decorators or not using decorator for some pages not working

2007-03-22 Thread masterg007
All: I am trying to switch decorator with Sitemesh and it did not work so I tried to not use a decorator for JSP files under the /pages/test folder so I chaged my decorator.xml to the following: /selenium/* /test/* /test/* /* I am using

Re: [appfuse-user] Whats the best way to create a transaction spanning multiple tables?

2007-03-22 Thread Nathan Anderson
In fact, if these three objects are typically used in conjunction like this than it would probably be best to have one manager that handles the persistence for all three objects. When Matt first made AppGen to simplify the creation of the classes and files needed to do basic CRUD on an object,

Re: [appfuse-user] Spring Topics of Interest

2007-03-22 Thread Nathan Anderson
Acegi Security would definitely be a topic of interest. I would suggest maybe even a chapter on security alone considering the variety of ways to enforce authorization. Or maybe that is out of the scope of the book and Acegi should just be one of the topic in this Spring section... I do like

Re: [appfuse-user] Editing Appfuse Source

2007-03-22 Thread Michael Horwitz
It all depends on what you want to edit. Instructions on changing the core model classes can be found here: http://www.appfuse.org/display/APF/AppFuse+Core+Classes. For the rest it is probably better to extend/replace - this should make it easier to upgrade to new versions as they become available

[appfuse-user] Editing Appfuse Source

2007-03-22 Thread sionsmith
Hi Guys & Girls, quick question - so far i have been extending Matt's classes with my own, is there anywhere i can just edit his classes? if so how? i have run the "mvn war:inplace" to obtain the compiled source but cannt edit it obliviously as the class are in my library folder. Is there such a c

Re: [appfuse-user] 404 working for jsp but not for html files

2007-03-22 Thread Matt Raible
The only thing I can think of is you could try using AppFuse 2.x's 404.jsp. However, I don't believe anything has changed. You could modify your own 404 so it doesn't try to print out the exception, maybe that will help. As far as upgrading to 2.x from 1.9.x, we haven't written the upgrade guid

Re: [appfuse-user] 404 working for jsp but not for html files

2007-03-22 Thread Eric Taieb
Well, I have already done that for many of the libraries in 1.9.4 and did it for MyFaces. I am using 1.1.5 which seems to be the latest stable release... I have more infos on the issue. I have found this in the tomcat logs: SEVERE: Exception Processing ErrorPage[errorCode=404, location=/404.jsp] o

Re: [appfuse-user] 404 working for jsp but not for html files

2007-03-22 Thread Matt Raible
Sorry, I was unclear. I didn't mean upgrade your project, I just meant upgrade MyFaces to the latest release. That should just be a matter of downloading the JARs, putting them in a similar structure to the current JARs (with a new version name on the directory) and then changing the version num

Re: [appfuse-user] help:G:\jianxh\projects\myusers\${env.CATALINA_HOME}\common\lib not found.

2007-03-22 Thread Matt Raible
You need to define a CATALINA_HOME environment variable. Matt On 3/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: G:\jianxh\projects\myusers>ant deploy Buildfile: build.xml compile: [javac] Compiling 8 source files to G:\jianxh\projects\myusers\build\classes BUILD FAILED G:\jianxh\p

Re: [appfuse-user] acegi threw exception when logout after tomcat restart

2007-03-22 Thread Matt Raible
Do you get this exception in your UI or just in your logs? What version of AppFuse/Acegi are you using? Matt On 3/22/07, Plant More Tree <[EMAIL PROTECTED]> wrote: ok when login with remember me feature checked and stay login. Then I restart tomcat. After that I click logout then I got this e

Re: [appfuse-user] 404 working for jsp but not for html files

2007-03-22 Thread Eric Taieb
hmmm...I tried to find a howto on the upgrade from 1.9.x ant based code to your new 2.x maven based code and I couldn't find any. Is it "easy" to migrate, could you point me to a document describing the steps involved in upgrading to 2.X version of appfuse... ( I am using Hiberntae/Spring/JSF/Face

[appfuse-user] help:G:\jianxh\projects\myusers\${env.CATALINA_HOME}\common\lib not found.

2007-03-22 Thread [EMAIL PROTECTED]
G:\jianxh\projects\myusers>ant deploy Buildfile: build.xml compile: [javac] Compiling 8 source files to G:\jianxh\projects\myusers\build\classes BUILD FAILED G:\jianxh\projects\myusers\build.xml:53: G:\jianxh\projects\myusers\${env.CATALINA_HOME}\common\lib not found. Total time: 1 second

Re: [appfuse-user] Problem : Many to One, cannot delete or update a parent row

2007-03-22 Thread Djohannot
Another information, I've found that it's only during the removing test that there's some problem's. thanks, David J. Djohannot wrote: > > Hi, > > I've a database with 2 tables, school and classroom. When i delete a > school, i want to delete all the corresponding classroom. But when i > del

[appfuse-user] Problem : Many to One, cannot delete or update a parent row

2007-03-22 Thread Djohannot
Hi, I've a database with 2 tables, school and classroom. When i delete a school, i want to delete all the corresponding classroom. But when i delete a classroom, i want to keep my school. In my classroom.java, i've declare an attribute like this: @ManyToOne(cascade=CascadeType.ALL, optional

Re: [appfuse-user] acegi threw exception when logout after tomcat restart

2007-03-22 Thread Plant More Tree
ok when login with remember me feature checked and stay login. Then I restart tomcat. After that I click logout then I got this exception! Michael Horwitz wrote: > > Could you describe the steps to reproduce this behaviour? > > Thanks > > Mike. > > > On 3/22/07, Plant More Tree <[EMAIL PRO

Re: [appfuse-user] acegi threw exception when logout after tomcat restart

2007-03-22 Thread Michael Horwitz
Could you describe the steps to reproduce this behaviour? Thanks Mike. On 3/22/07, Plant More Tree <[EMAIL PROTECTED]> wrote: java.lang.NullPointerException at org.acegisecurity.ui.rememberme.TokenBasedRememberMeServices.logout( TokenBasedRememberMeServices.java:295) at org.ac

[appfuse-user] acegi threw exception when logout after tomcat restart

2007-03-22 Thread Plant More Tree
java.lang.NullPointerException at org.acegisecurity.ui.rememberme.TokenBasedRememberMeServices.logout(TokenBasedRememberMeServices.java:295) at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:98) at org.acegisecurity.util.FilterChainProxy$VirtualFilterC

Re: [appfuse-user] Spring Topics of Interest

2007-03-22 Thread Michael Horwitz
Perhaps a quick note on Spring/Hibernate or Spring/Ibatis integration? Would be usefull in conjunction with Transactions in Spring. The other area of pain is ACEGI - not sure it really falls under Spring though? Mike. On 3/21/07, David Whitehurst <[EMAIL PROTECTED]> wrote: Hi: I am writing

Re: [appfuse-user] Maven behind a proxy

2007-03-22 Thread Michael Horwitz
Can you navigate to http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/ through your firewall? Maven will look for the maven-metadata.xml files stored here to get hold of the plugin. Mike On 3/21/07, Nigel in NZ <[EMAIL PROTECTED]> wrote: hi, To first reply, good