[appfuse-user] Help !!! question on Appfuse 2.0 Struts 2 Modular

2007-02-03 Thread Fan
I am trying out Appfuse 2.0 tutorial with Struts 2 Modular. I created the PersonManagerImpl under the core module, but when I run mvn jetty:run-war under the web module , I have the following error : ** [INFO] J

Re: [appfuse-user] Help !!! question on Appfuse 2.0 Struts 2 Modular

2007-02-03 Thread Michael Horwitz
O.K. This is a maven issue - when you run jetty:run-war in the web module, it will build and package the web module only. When it does this it will pull in the existing core package from your repository. So if you want to obtain the new service class in the web package you need to do the following

[appfuse-user] Error in maven

2007-02-03 Thread André Faria
I cant find the solution for this error, if you can help-me... C:\TestWorkSpace\bsb\basic-struts\basic-struts>mvn install -e + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] - --- [INFO] Building A

Re: [appfuse-user] Tutorial Buttons position (struts 2)

2007-02-03 Thread Nick Tucker
Hi I found the problem, the css_xhtml form is being used, so swaping the button bar from a table row to a list item solves the problem in both browsers. I'll raise a JIRA issue with (another) patch to this form. Nick Matt Raible-3 wrote: > > If you add theme="simple" to the buttons, does

Re: [appfuse-user] Error in maven

2007-02-03 Thread Nick Tucker
Try running mvn hibernate3:hbm2ddl This should create the missing table. Nick André Faria-3 wrote: > > > > > > > > I cant find the solution for this error, if you can help-me... > > C:\TestWorkSpace\bsb\basic-struts\basic-struts>mvn install -e > + Error stacktraces are

Re: [appfuse-user] Error in maven

2007-02-03 Thread André Faria
I got a new error now: [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.hibernate:hibernate-tools:jar:3.2.0.beta9a Try downloading the file manually from the project website. The

[appfuse-user] How to make ww:select submit a form correctly?

2007-02-03 Thread mmaia
Hi, I need a ww:select elemento to submit a form usin webwork, follow what I have done so far: In jsp page I have: and the ww:select tag: enviaOrigem javascript code: function enviaOrigem() { document.pacoteForm.submit(); } The action is mapped on xwork.xml:

[appfuse-user] Using iBATIS

2007-02-03 Thread Nick Tucker
Hi Is there an easy way to set up iBATIS support. When I generate an application using the basic archetype, the appfuse-hibernate jar is included, and this holds the applicationContext-dao.xml. I assume that I could set the appfuse-hibernate jar to be a provided dependency in my pom.xml,

Re: [appfuse-user] Error in maven

2007-02-03 Thread Nick Tucker
Hi I had similar problems. I think that maven has corrupted part of its repository. The problem is probably in either the .m2\repository\org\codehaus\mojo\hibernate3-maven-plugin\2.0-SNAPSHOT or the .m2\repository\org\hibernate\hibernate-tools\3.2.0.beta9a. I would try deleting (

[appfuse-user] Character issues while sending mail

2007-02-03 Thread Rene Lavoie
Hello, I am having issues with french special characters like acutes while sending mail with appfuse. 1.9.4 All special charactesr are replaced with other characters. I am just wondering if this is a configurable setting or if anyone had input on that. Thanks Ren -

Re: [appfuse-user] Error in maven

2007-02-03 Thread Matt Raible
What version of AppFuse are you trying to use? I'm curious because if it's a 2.0-m2 problem we might've solved this issue recently. Also, when downloads fail, it's usually caused by a proxy server or intermittent internet connection - at least that's been my experience. Sometimes you can simply

Re: [appfuse-user] Using iBATIS

2007-02-03 Thread Matt Raible
Do you want to use Hibernate *and* iBATIS or just one? The current setup for iBATIS isn't as good as we'd like - mainly because Maven doesn't seem to allow overriding properties at this point. http://jira.codehaus.org/browse/MNG-2757 Until we figure out a solution, it seems there's only two way

Re: [appfuse-user] mvn compile hibernate3:hbm2ddl (appfuse 2.0 tutorial)

2007-02-03 Thread natophonic
Matt Raible-3 wrote: > > Is there a src/main/resources/hibernate.cfg.xml file in your "core" > module? > It looks like there might be a bad POM for jtidy in the repository (or > maybe > locally). > > Matt > I ran into the same jtidy issue > [WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060

Re: [appfuse-user] mvn compile hibernate3:hbm2ddl (appfuse 2.0 tutorial)

2007-02-03 Thread Matt Raible
Looking at the error: org.hibernate.AnnotationException: No identifier specified for entity: org.appfuse.tutorial.model.Person It looks like you're missing an @Id from your getId() method. If you want to download a working version of this tutorial, you can check it out from Subversion. Just

Re: [appfuse-user] How to make ww:select submit a form correctly?

2007-02-03 Thread Matt Raible
If you use the submit button to submit the form, does it work properly? The message (input not found) seems to indicate that some validation is kicking in. Try adding an "input" result to your mapping so you can see the validation error on your form. Matt On 2/3/07, mmaia <[EMAIL PROTECTED]> w

Re: [appfuse-user] mvn compile hibernate3:hbm2ddl (appfuse 2.0 tutorial)

2007-02-03 Thread natophonic
Matt Raible-3 wrote: > > Looking at the error: > > >> org.hibernate.AnnotationException: No identifier specified for entity: >> org.appfuse.tutorial.model.Person >> > > It looks like you're missing an @Id from your getId() method. If you > want to download a working version of this tutorial

Re: [appfuse-user] Error in maven

2007-02-03 Thread André Faria
I am trying 2.0m2, Matt... Regards, André Faria Matt Raible escreveu: What version of AppFuse are you trying to use? I'm curious because if it's a 2.0-m2 problem we might've solved this issue recently. Also, when downloads fail, it's usually caused by a proxy server or intermittent internet

Re: [appfuse-user] Error in maven

2007-02-03 Thread Matt Raible
There is an issue in M2 where the dbunit plugin fires before the hibernate3 plugin sometimes: http://issues.appfuse.org/browse/APF-606 The fix is to change the of the hbm2ddl goal to execute in the "process-test-resources" phase (instead of test-compile). http://tinyurl.com/yqkv5t Matt On 2/

Re: [appfuse-user] struts2 file upload very unreliable? Fixed with ActionContextCleanUp

2007-02-03 Thread Tim Azzopardi
DNewfield wrote: > >> Matt Raible wrote: >> > I had problems with Struts 2 and File Upload in AppFuse 2. >> Upgrading >> > to commons-fileupload 1.1.1 and commons-io 1.1 fixed the problem. > Turns out that 2/3 of the 1.9.4 jars are not current: > > componentin 1

[appfuse-user] Debugging w/ Sysdeo

2007-02-03 Thread Doug Pham
Hi All, What other free plugins are there that can debug code and jsp using tomcat 5.x & Eclipse 3.1+? I am currently using Tomcat 5.0.x, Eclipse 3.1.2 and jdk1.5.0_06 but keep getting the following error: Bootstrap: Class loader creation threw exception java.lang.NoSuchMethodError: org.apa

Re: [appfuse-user] Debugging w/ Sysdeo

2007-02-03 Thread Doug Pham
Sorry for the email! I found what the problem was. Cheers, Doug Doug Pham <[EMAIL PROTECTED]> wrote: Hi All, What other free plugins are there that can debug code and jsp using tomcat 5.x & Eclipse 3.1+? I am currently using Tomcat 5.0.x, Eclipse 3.1.2 and jdk1.5.0_06 but keep getting the