Re: [appfuse-user] Error while running integration-test

2007-05-23 Thread Nathan Anderson
I had a similar problem with the M5-SNAPSHOT at one point. First thing you should probably do is determine if this is a valid error or a problem with the Canoo configuration. To do this just run the app [jetty:run-war] and follow the same steps as Canoo is failing on. My problem was that a

[appfuse-user] Error while running integration-test

2007-05-23 Thread fadhli
Hello, I've downloaded Appfuse 2.0-M5 SpringMVC Basic and run mvn integration-test However, I got this following error: EditUser: log4j:WARN No appenders could be found for logger ( com.canoo.webtest.ant.TestStepSequence). log4j:WARN Please initialize the log4j system properly. [INFO] --

[appfuse-user] Problem with editProfile->userForm infinite reload/refresh loop

2007-05-23 Thread Eric Taieb
Hi, I have been using appfuse for over 6 months. I am finishing the project and wrapping up the code and testing the interface I suddenly discover that the editProfile menu doesn't work anymore. The problem comes from here: in editProfile.xhtml var f = document.forms['userProfile']; f.e

[appfuse-user] Re: [ANN] AppFuse 2.0 M5 Released!

2007-05-23 Thread Matt Raible
The videos are much lower quality than the ones I originally recorded (13 MB vs. 70 MB). If you want to view the high quality videos (they're much clearer), you can download them from the following URL: https://appfuse.dev.java.net/files/documents/1397/58384/appfuse-2.0-videos.zip If someone has

Re: [appfuse-user] WEB-INF/classes struts.xml

2007-05-23 Thread Matt Raible
You should either remove the .vm file references from menu.jsp and decorators/default.jsp - or you should copy them into your src/main/resources directory. You'll also probably want to change the references in menu.jsp and default.jsp to remove WEB-INF/classes. That's what we did in M5. http://is

Re: [appfuse-user] WEB-INF/classes struts.xml

2007-05-23 Thread nmall
Hi Matt Yes, that's what I have been trying to do. I don't want to use the same tables you have or Hibernate Annotations. I need this just to build the front end for a web application. And I have to integrate it with a backend that is almost done. I would need to modify M5 too for what I want.

[appfuse-user] Validate list of objects via xWork's xml?

2007-05-23 Thread pcberg
I'm using Appfuse M4, Struts2. My question is with respect to this tutorial: http://appfuse.org/display/APF/Using+Struts+2#UsingStruts2-validation I have an object "Question" that has a list of "Answer", each answer object has a String field "label". The page where I would like to do validation h

Re: [appfuse-user] Basic One-To-Many

2007-05-23 Thread Luke McLean
Here is a real example taken from code that is working: I have a User class that has a one to many association with a Profile(address+email). In the User class I have the following code: @OneToMany (mappedBy="user") public Set getProfiles(){ return profiles;

[appfuse-user] [ANN] AppFuse 2.0 M5 Released!

2007-05-23 Thread Matt Raible
The AppFuse Team is pleased to announce the release of AppFuse 2.0 M5! This release marks a milestone in the features of AppFuse 2.x. This release adds CRUD code generation, full source support (just like 1.x) and XFire integration. In addition, we've fixed all the issues related to switching per

Re: [appfuse-user] Problem with Appfuse 2.x: Database fields are overwritten

2007-05-23 Thread jack
Actually I agree with this now that I think of it, that sounds like what was happening to me prior to figuring out how to do Crud with preparable actions in webwork... Good luck!! J Sent via BlackBerry from T-Mobile -Original Message- From: "Matt Raible" <[EMAIL PROTECTED]> Date: We

Re: [appfuse-user] SMTP auth in appfuse 2.0 M5

2007-05-23 Thread Matt Raible
You'll need to override the mailSender bean in your project and uncomment the lines that are commented: HTH, Matt On 5/23/07, bUg. <[EMAIL PROTECTED]> wrote: Hi, all. I wrote in mail.properties mail.username mail.password but authorization doesn't work. How i c

Re: [appfuse-user] Commiting transaction in dao testcase

2007-05-23 Thread Jason Brice
When running the tests, I had the database open in Oracle SQL Developer. After I closed it and re-ran the tests they committed the data as expected. I knew there was a reason I liked SQuirreL. On 5/23/07, Matt Raible <[EMAIL PROTECTED]> wrote: On 5/23/07, GojiraDeMonstah <[EMAIL PROTECTED]> w

[appfuse-user] SMTP auth in appfuse 2.0 M5

2007-05-23 Thread bUg.
Hi, all. I wrote in mail.properties mail.username mail.password but authorization doesn't work. How i can do it? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [appfuse-user] WEB-INF/classes struts.xml

2007-05-23 Thread Matt Raible
I'd try running clean or looking for duplicate struts.xml files in your project. Just to reiterate - I don't know what you're trying to do, but many of the problems you're having have already been solved by AppFuse. Are you trying to import the sources of AppFuse (and the subsequent dependencies)

Re: [appfuse-user] Appfuse 2.0 M5 Quick Start

2007-05-23 Thread Doug Pham
Matt, That did it! Somehow, I must have missed somethhing. . . . [INFO] [INFO] [INFO] [INFO] Reactor Summary: [INFO] [INFO] AppFuse Modular Applicat

Re: [appfuse-user] Commiting transaction in dao testcase

2007-05-23 Thread Matt Raible
On 5/23/07, GojiraDeMonstah <[EMAIL PROTECTED]> wrote: Hi All, I've got an AppFuse 1.9.4-based project, and I'm writing some DAO tests that extend BaseDaoTestCase. In a couple of tests I want the transaction to not roll back. According to the Spring docs (and this thread), one way to do that i

Re: [appfuse-user] WEB-INF/classes struts.xml

2007-05-23 Thread nmall
Hi, I fixed this by adding struts2-spring-plugin.jar in my libraries. However, it gives me the error below. I have xwork-2.0.0.jar in my target lib directories. Thanks for any pointers!! Caused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name x work has already been l

Re: [appfuse-user] Commiting transaction in dao testcase

2007-05-23 Thread GojiraDeMonstah
Hi All, I've got an AppFuse 1.9.4-based project, and I'm writing some DAO tests that extend BaseDaoTestCase. In a couple of tests I want the transaction to not roll back. According to the Spring docs (and this thread), one way to do that is call setDefaultRollback(false) in the test class' cons

Re: [appfuse-user] WEB-INF/classes struts.xml

2007-05-23 Thread Matt Raible
You shouldn't need to modify it as the tag below is set. You might want to run "mvn clean" so you only have one copy of struts.xml on your classpath. Matt On 5/23/07, nmall <[EMAIL PROTECTED]> wrote: OK, I found that it is in struts.xml but what should it be set to - the version of spring I a

Re: [appfuse-user] Appfuse 2.0 M5 Quick Start

2007-05-23 Thread Matt Raible
Can you try running "mvn -U" to see if that helps? Matt On 5/23/07, Doug Pham <[EMAIL PROTECTED]> wrote: Our network has been a little flaky today but I am on the internet because I have been reading the appfuse site and writing emails :-). I'll try this at home tonight and see if that will be

Re: [appfuse-user] Appfuse 2.0 M5 Quick Start

2007-05-23 Thread Doug Pham
Our network has been a little flaky today but I am on the internet because I have been reading the appfuse site and writing emails :-). I'll try this at home tonight and see if that will be any better. Thanks, Doug Matt Raible <[EMAIL PROTECTED]> wrote: Are you running offline? Usually this

Re: [appfuse-user] Appfuse 2.0 M5 Quick Start

2007-05-23 Thread Matt Raible
Are you running offline? Usually this error happens when you don't have an internet connection. Matt On 5/23/07, Doug Pham <[EMAIL PROTECTED]> wrote: Hello, I finally have a chance to download AppFuse 2.0-M5 but stuck right away after the Archetype command. When I do the "mvn integrated-t

[appfuse-user] Appfuse 2.0 M5 Quick Start

2007-05-23 Thread Doug Pham
Hello, I finally have a chance to download AppFuse 2.0-M5 but stuck right away after the Archetype command. When I do the "mvn integrated-test", I get the following error: [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] AppFuse Modular Application [INFO] AppFuse Modul

Re: [appfuse-user] WEB-INF/classes struts.xml

2007-05-23 Thread nmall
OK, I found that it is in struts.xml but what should it be set to - the version of spring I am using?? Thanks !! ./target/work/webapp/WEB-INF/classes/struts.xml: nmall wrote: > > Thanks, I guess this has nothing to do with the following error: Why > would it not find the spring ObjectFa

Re: [appfuse-user] WEB-INF/classes struts.xml

2007-05-23 Thread nmall
Thanks, I guess this has nothing to do with the following error: Why would it not find the spring ObjectFactory . Where is the ObjectFactory specified. Cannot locate the chosen ObjectFactory implementation: spring - [unknown locatio n] at org.apache.struts2.config.BeanSelectionProvider.

Re: [appfuse-user] WEB-INF/classes struts.xml

2007-05-23 Thread Matt Raible
It is generated when running "war:inplace". If you do this, you'll want to delete struts.xml from this directory to avoid conflicts. Matt On 5/23/07, nmall <[EMAIL PROTECTED]> wrote: Hi, How is the src/main/webapp/WEB-INF/classes directory generated. Is it something that is provided by devel

Re: [appfuse-user] Upgrade from 2.0-M4 to 2.0-M5

2007-05-23 Thread Matt Raible
I upgraded 8 projects from m4 to m5 yesterday and it took me a couple hours to do. I created a new project with matching groupId and artifactId and then diffed them with beyond compare. Not much has changed in pom.xml, but if you want to use AMP, you'll need to update the groupId of the plugin to

[appfuse-user] WEB-INF/classes struts.xml

2007-05-23 Thread nmall
Hi, How is the src/main/webapp/WEB-INF/classes directory generated. Is it something that is provided by developer as more struts UI components are added. I am getting the following error after parsing struts.xml in this dir. Not sure what this is related to. Thanks so much for your help!! [test

Re: [appfuse-user] Appfuse Spring MVC Modular - mvn compile hibernate3:hbm2ddl - No hibernate configuration loaded?

2007-05-23 Thread Matt Raible
You need to run this from the "core" directory. Matt On 5/23/07, Jaspal Sandhu -X (jaspsand - Insight Global at Cisco) <[EMAIL PROTECTED]> wrote: Appfuse Spring MVC Modular - mvn compile hibernate3:hbm2ddl - No hibernate configuration loaded? I have setup Spring MVC Modular, I am getting t

[appfuse-user] Appfuse Spring MVC Modular - mvn compile hibernate3:hbm2ddl - No hibernate configuration loaded?

2007-05-23 Thread Jaspal Sandhu -X \(jaspsand - Insight Global at Cisco\)
Appfuse Spring MVC Modular - mvn compile hibernate3:hbm2ddl - No hibernate configuration loaded? I have setup Spring MVC Modular, I am getting the following error: Any help... C:\work\sandbox\eitms30>mvn compile hibernate3:hbm2ddl [INFO] Scanning for projects... [INFO] Reactor build order:

Re: [appfuse-user] Problem with Appfuse 2.x: Database fields are overwritten

2007-05-23 Thread Matt Raible
Actually, I just thought of something else. If you use Struts 2's Preparable interface, you should be able to fetch the object from the database before you apply the request parameters. This should solve your problem. Matt a On 5/23/07, Matt Raible <[EMAIL PROTECTED]> wrote: If you want to edit

Re: [appfuse-user] Problem with Appfuse 2.x: Database fields are overwritten

2007-05-23 Thread Matt Raible
If you want to edit a single object on multiple pages, you'll need to figure out where to store that information. I'm sure Struts 2 has a way of storing the Action state in the session, but I'm not sure how to do this. You could store the state in hidden fields on your page, but it might be better

Re: [appfuse-user] Problem with Appfuse 2.x: Database fields are overwritten

2007-05-23 Thread yogeshk
Ohh...I'm using Struts/Hibernate/Spring. Thanks mraible wrote: > > What web framework are you using? > > On 5/23/07, yogeshk <[EMAIL PROTECTED]> wrote: >> >> In my application I'm using save method at model level. >> >> I'm designing workflow page where one table record is splitted into 4 >>

Re: [appfuse-user] Appfuse Spring MVC Modular - mvn compile hibernate3:hbm2ddl - No hibernate configuration loaded?

2007-05-23 Thread Nathan Anderson
Hello Sandu, Please don't cross post to all the lists. Any questions about AppFuse should only be posted in this one. The other lists are more project maintenance related. As for your question... I'm not sure why it can't find the Hibernate config file. Which version of AppFuse are you us

[appfuse-user] Upgrade from 2.0-M4 to 2.0-M5

2007-05-23 Thread Nathan Anderson
Hey Matt, What do you expect to be the best method for this milestone? Obviously the first step is to back-up or commit the project to source control. But then what? I'm guessing that it is still better to make a second project and compare the diffs rather than update the dependencies in the

[appfuse-user] Appfuse Spring MVC Modular - mvn compile hibernate3:hbm2ddl - No hibernate configuration loaded?

2007-05-23 Thread Sandhu
Appfuse Spring MVC Modular - mvn compile hibernate3:hbm2ddl - No hibernate configuration loaded? Appfuse Spring MVC Modular - mvn compile hibernate3:hbm2ddl - No hibernate configuration loaded? Setup: MVN 2.0.6 JDK 1.5 Appfuse Spring MVC Modular I am getting the following error: Any help

Re: [appfuse-user] Problem with Appfuse 2.x: Database fields are overwritten

2007-05-23 Thread Matt Raible
What web framework are you using? On 5/23/07, yogeshk <[EMAIL PROTECTED]> wrote: In my application I'm using save method at model level. I'm designing workflow page where one table record is splitted into 4 pages. Every page has it's own set of fields. Now, what happens if I go to second step

[appfuse-user] Problem with Appfuse 2.x: Database fields are overwritten

2007-05-23 Thread yogeshk
In my application I'm using save method at model level. I'm designing workflow page where one table record is splitted into 4 pages. Every page has it's own set of fields. Now, what happens if I go to second step and save the record it blanks out fields on first page. Easy solution would be hav

Re: [appfuse-user] popup validation messages when using locale pt

2007-05-23 Thread Matt Raible
This is a known issue with JSF and the corejsf-validator. http://issues.appfuse.org/browse/APF-705 I'd like to either 1) figure out a solution or 2) replace the client-side validation with another framework. I believe the JSF 1.2 version of MyFaces will include a new client-side validation mecha

Re: [appfuse-user] popup validation messages when using locale pt

2007-05-23 Thread Azarias Tomás
I am using JSF. I 've tested JSF appfuse demo and get the same result. AT mraible wrote: > > Which web framework are you using? > > Matt > > On 5/23/07, Azarias Tomás <[EMAIL PROTECTED]> wrote: >> >> Hi all, >> >> I am currently using Appfuse 2.0-M4, >> but I am having issues with popup va

Re: [appfuse-user] popup validation messages when using locale pt

2007-05-23 Thread Matt Raible
Which web framework are you using? Matt On 5/23/07, Azarias Tomás <[EMAIL PROTECTED]> wrote: Hi all, I am currently using Appfuse 2.0-M4, but I am having issues with popup validation messages when using locale pt. The non-Ascii characters are not being well written. You can see on the attacth

Re: [appfuse-user] Problem with picklist

2007-05-23 Thread Matt Raible
You need the following in your for the buttons to work: The leftId and rightId are used to set the "id" attribute of the drop-downs. Matt On 5/23/07, Volcan <[EMAIL PROTECTED]> wrote: Hey, I want to use the pickList with on my left side a list with email adresses and the left side the sel

Re: [appfuse-user] Error in appfuse:full-source

2007-05-23 Thread Matt Raible
Thanks - I've fixed this in the plugin and redeployed. You'll need to run rm -r ~/.m2/repository/org/codehaus/mojo/appfuse-maven-plugin to get this updated version. Matt On 5/23/07, Ömer Başar <[EMAIL PROTECTED]> wrote: Hi Matt, I just created a new struts-basic project with 2.0-M5 and when I

[appfuse-user] Error in appfuse:full-source

2007-05-23 Thread Ömer Başar
Hi Matt, I just created a new struts-basic project with 2.0-M5 and when I run the command "mvn appfuse:full-source", it gives the error below. [ERROR] BUILD ERROR [INFO] [INFO] svn: No entry at URL 'https://appfuse.dev.java

[appfuse-user] Possible bug in UniversalManager?

2007-05-23 Thread Tobias Vogel
Hello, I just integrated a short testcase with appfuse 2.0-M4 (modular) and integrating it into a Spring-RCP project as backend. I just encountered strange behaviour when using UniversalManager, it returns more objects than there are actually in the database: Example: System.out.println("SIZE:

[appfuse-user] popup validation messages when using locale pt

2007-05-23 Thread Azarias Tomás
Hi all, I am currently using Appfuse 2.0-M4, but I am having issues with popup validation messages when using locale pt. The non-Ascii characters are not being well written. You can see on the attacthed image. http://www.nabble.com/file/p10761736/image.png image.png Any solutions?? Thanks in

[appfuse-user] Problem with picklist

2007-05-23 Thread Volcan
Hey, I want to use the pickList with on my left side a list with email adresses and the left side the selection of it.

Re: [appfuse-user] Basic One-To-Many

2007-05-23 Thread Luke McLean
Hi Paulie, The example you posted is quite jumbled, you have some annotations and also some xdoclet tags in the same example. The first thing that you need to do it decide which you are going to use (I would suggest the annotations and remove the xdoclet tags). Hibernate can be quite confusing