Re: [appfuse-user] Appfuse 2.0 - where are the sources/jsps?

2007-01-25 Thread Matt Raible
On 1/25/07, rays <[EMAIL PROTECTED]> wrote: Do we have access to the AppFuse 2 svn repository at https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0_M2? If so, what is the user name and password? You can use your java.net username/password, or: Username: guest Password: That's an empty

Re: [appfuse-user] Appfuse 2.0 - where are the sources/jsps?

2007-01-25 Thread Matt Raible
On 1/25/07, molecool <[EMAIL PROTECTED]> wrote: Aren't you referring to your 'warpath' plugin? I just took a look at this: http://static.appfuse.org/plugins/maven-warpath-plugin/usage.html and I'm pretty stoked :-) The war plugin has the overlay feature: http://maven.apache.org/plugins/mave

Re: [appfuse-user] Appfuse 2.0 - where are the sources/jsps?

2007-01-25 Thread Matt Raible
On 1/25/07, molecool <[EMAIL PROTECTED]> wrote: Excellent :-) that was actually one of my suspicions but I had no idea how you guys are folding this in exactly. Seems I have only touched the tip of the iceberg when it comes to using maven. As I think about this: this whole archetype module para

Re: [appfuse-user] Problem with 'Using Hibernate, AppFuse 2.0' tutorial?

2007-01-25 Thread Matt Raible
The BaseDaoTestCase in AppFuse extends AbstractTransactionalDataSourceSpringContextTests - which rolls back the transaction when the test method executes. If you'd like to change this behavior, simply call setComplete() (I think) in your code. http://www.springframework.org/docs/api/org/springfra

[appfuse-user] Re: Where to download appfuse2.0

2007-01-25 Thread Matt Raible
There is no download with 2.0 - you use Maven to create a new project. For more information, see: http://appfuse.org/display/APF/AppFuse+QuickStart This helloworld demo may help too: http://static.appfuse.org/movies/2.0/helloworld.mov There's also a CRUD demo: http://static.appfuse.org/movies

Re: [appfuse-user] Appfuse 2.0 - where are the sources/jsps?

2007-01-25 Thread rays
Do we have access to the AppFuse 2 svn repository at https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0_M2? If so, what is the user name and password? Cheers Ray Matt Raible-3 wrote: > > They're "merged" in from AppFuse WARs thanks to the Maven War Plugin. > This allows us to package "c

Re: [appfuse-user] Where is the Logout.jsp mentioned in security.xml in appfuse 1.9.4 located?

2007-01-25 Thread Jonathan Tse
Hi Paul, Please refer http://issues.appfuse.org/browse/APF-566 Best regards, Jonathan Tse Garvey, Paul M (GE Comm Fin) wrote: I am using Acegi 1.0.3 and JBoss 4.0.5.ga - Paul -Original Message- From: Jonathan Tse [mailto:[EMAIL PROTECTED] Sent: Thursday, January 25, 2007 10:32 AM

Re: [appfuse-user] Appfuse 2.0 - where are the sources/jsps?

2007-01-25 Thread molecool
Aren't you referring to your 'warpath' plugin? I just took a look at this: http://static.appfuse.org/plugins/maven-warpath-plugin/usage.html and I'm pretty stoked :-) So, let me make sure I get this right. The core classes and jsps of appfuse are being injected during the build process and get

[appfuse-user] Problem with 'Using Hibernate, AppFuse 2.0' tutorial?

2007-01-25 Thread romsrini
I tried the Using Hibernate tutorial for AppFuse 2.0 and the tests passed. But the passing tests were really a false positive, as I commented out the remove Person part of the test and noticed that the Person info hadn't really been persisted into the database. Is this intentional? I mean , is the

Re: [appfuse-user] Appfuse 2.0 - where are the sources/jsps?

2007-01-25 Thread molecool
Excellent :-) that was actually one of my suspicions but I had no idea how you guys are folding this in exactly. Seems I have only touched the tip of the iceberg when it comes to using maven. As I think about this: this whole archetype module paradigm could have some major implications on how so

Re: [appfuse-user] Appfuse 2.0 - where are the sources/jsps?

2007-01-25 Thread Matt Raible
They're "merged" in from AppFuse WARs thanks to the Maven War Plugin. This allows us to package "core" features in AppFuse and inject them into your project at build time. If you want to modify JSPs and web files, you can put get them in your project by running "mvn war:inplace". WARNING: This i

[appfuse-user] Appfuse 2.0 - where are the sources/jsps?

2007-01-25 Thread molecool
Okay, I'm confused - I was able to deploy and the good old appfuse interface popped right up. However, all of this seems to be happening automagically - where are all the sources and the jsps? find -name '*.java' produces: ./core/src/main/java/Core.java ./core/src/test/java/CoreTest.java ./web/

Re: [appfuse-user] Recreating database schema + Using HSQLDB

2007-01-25 Thread Matt Raible
I tried adding true to an AppFuse application I'm working on. For some reason, it causes the tests to fail (apparently because dbunit doesn't load properly). I'd like to add it so the database is dropped and recreated each time, but it doesn't seem to work as expected. Matt On 1/23/07, Isaac S

Re: [appfuse-user] appfuse 2.0: where is the maven-jetty-plugin?

2007-01-25 Thread molecool
Oh, I thought this was an implicit reference, sorry. Yes, this is working now :-) Michael Matt Raible-3 wrote: > > It's not Maven's fault this time - it's our fault for not documenting > things enough. > > The plugin is defined in the web project, so you need to run "mvn > jetty:run-war" from

Re: [appfuse-user] How does get mapped??? Couldn´t find out!

2007-01-25 Thread Matt Raible
On 1/25/07, mmaia <[EMAIL PROTECTED]> wrote: Tx Matt, I already know that, this is the problem. There´s not such mappping on UserActionClass! Take a closer look an you´ll see. After running "ant war", I can see a mapping in build/appfuse/WEB-INF/struts-config.xml: Does that help? Matt

Re: [appfuse-user] appfuse 2.0: where is the maven-jetty-plugin?

2007-01-25 Thread Matt Raible
It's not Maven's fault this time - it's our fault for not documenting things enough. The plugin is defined in the web project, so you need to run "mvn jetty:run-war" from that directory. I've updated the QuickStart Guide to be a bit more explicity. http://appfuse.org/display/APF/AppFuse+QuickSt

Re: [appfuse-user] Creating eclipse project for appfuse 2.0

2007-01-25 Thread Matt Raible
AFAICT, MyEclipse doesn't support Maven 2. http://appfuse.org/display/APF/MyEclipse ;-) Matt On 1/25/07, molecool <[EMAIL PROTECTED]> wrote: That's typical - I'll always find the hardest way to do things - LOL. Actually, I'm wondering - since I'm actually using the pro version of MyEclipse -

Re: [appfuse-user] Creating eclipse project for appfuse 2.0

2007-01-25 Thread molecool
That's typical - I'll always find the hardest way to do things - LOL. Actually, I'm wondering - since I'm actually using the pro version of MyEclipse - is there maven integration that addresses that as well? Matt Raible-3 wrote: > > The Maven 2 Integration for Eclipse may help - it allows you t

Re: [appfuse-user] Suggestions for 2.0 maven build

2007-01-25 Thread molecool
Okay, I created an issue in JIRA - probably just didn't find the link last night: http://issues.appfuse.org/browse/APF-594 Do you get an error when going to the following URL? > > http://issues.appfuse.org/secure/CreateIssue!default.jspa I personally do not use dashes because dashes are use

[appfuse-user] appfuse 2.0: where is the maven-jetty-plugin?

2007-01-25 Thread molecool
This has always been my pet-peeve about maven: I'm running 'mvn jetty:run-war' and keep getting the following error: $ mvn jetty:run-war [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] AppFuse Modular Application [INFO] AppFuse Modular Application - Core [INFO] AppFuse Mo

Re: [appfuse-user] How does get mapped??? Couldn´t find out!

2007-01-25 Thread mmaia
Tx Matt, I already know that, this is the problem. There´s not such mappping on UserActionClass! Take a closer look an you´ll see. I´m still wondering how this mapping works. I´m already used with xdoclet and action mappings to generate the struts-config. The problem is: This is not so directly

Re: [appfuse-user] pickList in struts

2007-01-25 Thread Matt Raible
Here's an example from Struts Resume:

Re: [appfuse-user] Web Annotations

2007-01-25 Thread Matt Raible
I'd be more than happy to start using annotations in AppFuse where it makes sense. If you'd like, you could checkout the Person tutorial and refactor it to use annotations. The code is hosted under the tutorial-struts2 module in SVN. http://code.google.com/p/appfuse-demos/ The tutorial is on t

Re: [appfuse-user] How does get mapped??? Couldn´t find out!

2007-01-25 Thread Matt Raible
XDoclet tags are used in the javadoc of the UserAction.java class. These tags are used to create the struts-config.xml. Matt On 1/24/07, mmaia <[EMAIL PROTECTED]> wrote: I couldn´t find out how this is mapped for a struts action? -- View this message in context: http://www.nabble.com/How-doe

Re: [appfuse-user] Suggestions for 2.0 maven build

2007-01-25 Thread Matt Raible
On 1/25/07, Michael Mehrle <[EMAIL PROTECTED]> wrote: See comments below... >> So, I simply added the following to my pluginRepositories entries in >> pom.xml: >> >> >> ibiblio >> http://mirrors.ibiblio.org/pub/mirrors/maven2 >> >> > > That's strange. I'm willing to ad

Re: [appfuse-user] Creating eclipse project for appfuse 2.0

2007-01-25 Thread Matt Raible
The Maven 2 Integration for Eclipse may help - it allows you to easily add new dependencies to your pom.xml: http://m2eclipse.codehaus.org/ Flash demo: http://m2eclipse.codehaus.org/Maven_2.0_Plugin_for_Eclipse.html Matt On 1/25/07, Michael Mehrle <[EMAIL PROTECTED]> wrote: Excellent tutorial

Re: [appfuse-user] Overall page (app) with

2007-01-25 Thread Attila
Thanks again, but I can't find any extra information under the link you gived me... sorry. Can You explain me how can I make extra space for tables, and for square of "table holder"? Thnak You Bye Attila Christian Giese wrote: > > Hi again. > > this is done mostly in styles/andreas01/layou

Re: [appfuse-user] appfuse 2.0 only skeleton?

2007-01-25 Thread Michael Mehrle
Hi Mike - this is actually the one I installed - the database is being created and all but there is only one single class in each package. Please let me know if I'm missing something here - I just read through the quickstart tutorial again and it seems that I followed the instructions properly.

Re: [appfuse-user] Invalid character in Table row

2007-01-25 Thread Attila
Hello, thank You for your excellent answer, and please answer my feature questions too, because need some help in CSS. Thanks, Thanks, Thanks bye Christian Giese wrote: > > Hi Attila, > > This symbol for visited links (it disappears if you clear your browser's > history) is added by CSS

Re: [appfuse-user] RE: Exception handling with ACL

2007-01-25 Thread Matt Raible
On 1/25/07, ErwinF <[EMAIL PROTECTED]> wrote: Alright, that works. My exception is now caught and my jsp is forwarded to my custom AccessDenied page. However, i was wondering if this could be solved my implementing a filter in my configuration. There is an exceptionTranslationHandler in the Spr

Re: [appfuse-user] access to ${webapp.root} in applicationContext.xml

2007-01-25 Thread Matt Raible
This may help, if you stuff the webapp.root variable into your ServletContext: http://www.springframework.org/docs/api/org/springframework/web/context/support/ServletContextPropertyPlaceholderConfigurer.html Matt On 1/25/07, Jon Loken <[EMAIL PROTECTED]> wrote: Hi all, Here is a seemingly e

Re: [appfuse-user] RE: Exception handling with ACL

2007-01-25 Thread ErwinF
Alright, that works. My exception is now caught and my jsp is forwarded to my custom AccessDenied page. However, i was wondering if this could be solved my implementing a filter in my configuration. There is an exceptionTranslationHandler in the Spring configuration which, as far as i know, is su

Re: [appfuse-user] Equinox 1.7 WW SpringJDBC

2007-01-25 Thread Matt Raible
On 1/25/07, Scott Purcell <[EMAIL PROTECTED]> wrote: Matt my hands did not type the proper info. I did not issue a mvn new (as I mistyped in prior email), I issued a 'mvn test', and that was where the error occured. Anyway, after some discovery on my side, it appears that the database does not

Re: [appfuse-user] Where is the Logout.jsp mentioned in security.xml in appfuse 1.9.4 located?

2007-01-25 Thread Matt Raible
On 1/25/07, Garvey, Paul M (GE Comm Fin) <[EMAIL PROTECTED]> wrote: 1. I can't find the logout.jsp mentioned in the Acegi security config file, where is it located? Is it in a jar somewhere? No, it doesn't exist. The logoutFilter handles the redirect. 2. Also I am have problems invali

[appfuse-user] access to ${webapp.root} in applicationContext.xml

2007-01-25 Thread Jon Loken
Hi all, Here is a seemingly easy question: Does anyone know how to gain access to property ${webapp.root} declaratively in file applicationContext.xml. I want to use it in connection with setting velocity property 'file.resource.loader.path' such that I can set absolute paths where *.vm files

Re: [appfuse-user] RE: Exception handling with ACL

2007-01-25 Thread Matt Raible
You should be able to do something like the following in your xwork.xml file: Matt On 1/25/07, ErwinF <[EMAIL PROTECTED]> wrote: I dont have an exceptionresolver in my action-servlet.xml file (I am using Webwork, though :D) Smiley, Stuart A. wrote: > > Did you try

[appfuse-user] RE: Exception handling with ACL

2007-01-25 Thread ErwinF
I dont have an exceptionresolver in my action-servlet.xml file (I am using Webwork, though :D) Smiley, Stuart A. wrote: > > Did you try adding a property for this exception to the exceptionResolver > bean in your action-servlet.xml file? > > Stuart > > -Original Message- > From: [EMAI

RE: [appfuse-user] Where is the Logout.jsp mentioned in security.xml in appfuse 1.9.4 located?

2007-01-25 Thread Garvey, Paul M \(GE Comm Fin\)
I am using Acegi 1.0.3 and JBoss 4.0.5.ga - Paul -Original Message- From: Jonathan Tse [mailto:[EMAIL PROTECTED] Sent: Thursday, January 25, 2007 10:32 AM To: users@appfuse.dev.java.net Subject: Re: [appfuse-user] Where is the Logout.jsp mentioned in security.xml in appfuse 1.9.4 loca

Re: [appfuse-user] Where is the Logout.jsp mentioned in security.xml in appfuse 1.9.4 located?

2007-01-25 Thread Jonathan Tse
Hi Paul, What is your web container? Best regards, Jonathan Garvey, Paul M (GE Comm Fin) wrote: 1. I can't find the logout.jsp mentioned in the Acegi security config file, where is it located? Is it in a jar somewhere? 2. Also I am have problems invalidating the session and so a u

[appfuse-user] Where is the Logout.jsp mentioned in security.xml in appfuse 1.9.4 located?

2007-01-25 Thread Garvey, Paul M \(GE Comm Fin\)
1. I can't find the logout.jsp mentioned in the Acegi security config file, where is it located? Is it in a jar somewhere? 2. Also I am have problems invalidating the session and so a user is not being forced back to the login screen they go directly to main. Any ideas? I have the logo

RE: [appfuse-user] Exception handling with ACL

2007-01-25 Thread Smiley, Stuart A.
Did you try adding a property for this exception to the exceptionResolver bean in your action-servlet.xml file? Stuart -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ]On Behalf Of ErwinF Sent: Thursday, January 25, 2007 9:16 AM To: users@appfuse.dev.java.net Subjec

RE: [appfuse-user] Equinox 1.7 WW SpringJDBC

2007-01-25 Thread Scott Purcell
Matt my hands did not type the proper info. I did not issue a mvn new (as I mistyped in prior email), I issued a 'mvn test', and that was where the error occured. Anyway, after some discovery on my side, it appears that the database does not get created with the Equinox 1.7 WW, Spring JDBC. Duh,

[appfuse-user] Exception handling with ACL

2007-01-25 Thread ErwinF
I have a question about the use of Acegi, and especially the use of ACL security. Perhaps someone at these forums can help me. I have set up ACL for my domain objects, and it is working. However, since i am relativily new to the whole Spring / Acegi matter, i am struggling with some configuration

Re: [appfuse-user] appfuse 2.0 only skeleton?

2007-01-25 Thread Michael Horwitz
Hi, M2 of AppFuse 2.0 has been released, and you are encouraged to have a look at it. When you set up a new project using the archetype, it will have very little in it. This is by design - Maven will weave in the rest. If you build and deploy an application from the archetype you will see that it

Re: [appfuse-user] Invalid character in Table row

2007-01-25 Thread Christian Giese
Hi Attila, This symbol for visited links (it disappears if you clear your browser's history) is added by CSS in line 201 of styles/andreas01/typo.css. Bye, Chris Attila wrote: Hello, I've invalid character in Table rows, where the cell's data is a link. See attachment. http://www.nabble.co

Re: [appfuse-user] Overall page (app) with

2007-01-25 Thread Christian Giese
Hi again. this is done mostly in styles/andreas01/layout.css . Check out more about this theme on the URLs given in the css comments, e.g. here: http://www.opendesigns.org/preview/?template=44 Have a nice day! Chris Attila wrote: Hello, how can I adjust the application (pages) with? I use