[appfuse-user] Trying to create a BaseManagerImpl class

2007-11-05 Thread Rob Hills
Hi All, This one's really a Java question, but I know there are lots of you there that know much more Java than I do. I have some functionality I wish to include in all of my Manager classes so I started down the track of trying to create an abstract BaseManagerImpl class. My problem is that

Re: [appfuse-user] NoSuchMethodException - but the method's there

2007-11-05 Thread Daniel Kibler
Because I was having other unexplainable problems, I decided to reinstall appfuse. I was using inplace editing, now I've rolled it back to having to run from the war. It's a pain, but doing so fixed this problem Without changing any of my code or configuration, the file upload now works. Go figur

Re: [appfuse-user] NoSuchMethodException - but the method's there

2007-11-05 Thread Daniel Kibler
Ealden Yes - I've tried every combination. With method="upload" set in struts.xml, just accessing the page via uploadPhoto.html brings up a blank form. removing method="upload" (but still retain action="uploadPhoto" and not change it to action="uploadPhoto!upload") - when I click on the Uploa

Re: [appfuse-user] NoSuchMethodException - but the method's there

2007-11-05 Thread Ealden Escañan
On Nov 6, 2007 2:55 AM, Daniel Kibler <[EMAIL PROTECTED]> wrote: > > Mike > > Yes, I've already tried that. Actually, there are 2 differences. For the > Appfuse file upload the method is added to the form action, i.e., > action="uploadPhoto!upload" I get the same result (NoSuchMethodException) > fo

Re: [appfuse-user] release procedure with Appfuse

2007-11-05 Thread dev dev
Thanks much Matt. I will check them out ... dev On 11/5/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > You should be able to use Maven's Release Plugin to do this. > > http://maven.apache.org/plugins/maven-release-plugin/ > > You might also checkout AppFuse's own release process that we use: > >

Re: [appfuse-user] modifying core classes - test dependencies

2007-11-05 Thread mavenj
Yes. From the link on modifying core classes, I also had this: org.appfuse appfuse-${web.framework} ${appfuse.version} warpath org.appfuse appfuse-data-commo

Re: [appfuse-user] app:gen Unable to load class declared as mapping class="xyz" in the configuration

2007-11-05 Thread mschipperheyn
Root pom.xml GroupId: nl.msw.test Ahh, ok. I have the model package under nl.msw.test.core.model I just added core and web sub packages to seperate the two aspects more cleanly Marc mraible wrote: > > What is your groupId in the root pom.xml? We expect to model object to > be in the ${groupId

Re: [appfuse-user] release procedure with Appfuse

2007-11-05 Thread Matt Raible
You should be able to use Maven's Release Plugin to do this. http://maven.apache.org/plugins/maven-release-plugin/ You might also checkout AppFuse's own release process that we use: http://appfuse.org/display/APF/Release+Process Hope this helps, Matt On 11/5/07, dev dev <[EMAIL PROTECTED]> wr

[appfuse-user] release procedure with Appfuse

2007-11-05 Thread dev dev
Anyone can point us to the best release procedure or links that we can follow if we're running maven2, subversion and appfuse. Thanks dev

Re: [appfuse-user] app:gen Unable to load class declared as mapping class="xyz" in the configuration

2007-11-05 Thread Matt Raible
What is your groupId in the root pom.xml? We expect to model object to be in the ${groupId}.model package. Matt On 11/5/07, mschipperheyn <[EMAIL PROTECTED]> wrote: > > Ok, was away for a while. I have walked through the tutorial with a fresh > Spring modular project and a single POJO and the err

Re: [appfuse-user] modifying core classes - test dependencies

2007-11-05 Thread Matt Raible
You need to exclude appfuse-data-common from the warpath dependency as well. Matt On 11/5/07, mavenj <[EMAIL PROTECTED]> wrote: > > I'm running a "Basic Spring MVC Archetype". I modified the User class, > making the Address transient and adding a couple of attributes. When the > database is cre

[appfuse-user] modifying core classes - test dependencies

2007-11-05 Thread mavenj
I'm running a "Basic Spring MVC Archetype". I modified the User class, making the Address transient and adding a couple of attributes. When the database is created, it looks the way I expect (no address fields, etc...). I believe I followed the instructions http://appfuse.org/display/APF/AppFu

Re: [appfuse-user] app:gen Unable to load class declared as mapping class="xyz" in the configuration

2007-11-05 Thread mschipperheyn
Ok, was away for a while. I have walked through the tutorial with a fresh Spring modular project and a single POJO and the error still occurs. Summarizing: the problem is that the generated Controller files in the web directory: 1. are placed in the wrong package: nl.msw.test.core.webapp.controlle

Re: [appfuse-user] NoSuchMethodException - but the method's there

2007-11-05 Thread Daniel Kibler
Mike Yes, I've already tried that. Actually, there are 2 differences. For the Appfuse file upload the method is added to the form action, i.e., action="uploadPhoto!upload" I get the same result (NoSuchMethodException) for either config. Mike Horwitz wrote: > > I'm no expert on Struts, so this

Re: [appfuse-user] Duplicate Annotation

2007-11-05 Thread caius_swopes
Mike I figured out what I was doing wrong like 3 seconds after I posted. Thanks. Mike Horwitz wrote: > > It is going to be pretty difficult to help based on the info below. Could > you post a code sample where you think you need duplicate annotations? > > Mike > > On 11/5/07, caius_swopes <[E

Re: [appfuse-user] Duplicate Annotation

2007-11-05 Thread Michael Horwitz
It is going to be pretty difficult to help based on the info below. Could you post a code sample where you think you need duplicate annotations? Mike On 11/5/07, caius_swopes <[EMAIL PROTECTED]> wrote: > > > I am getting Duplicate Annotation errors with my User class. I have > User_Account and U

[appfuse-user] Duplicate Annotation

2007-11-05 Thread caius_swopes
I am getting Duplicate Annotation errors with my User class. I have User_Account and User_Territory as association tables. I also have Account and Territory tables as well. My User_Account table has more than just a user_id and an account_id. Similarly my User_Territory table has more than jus

Re: [appfuse-user] Problem with cssHorizontalMenu.vm

2007-11-05 Thread Matt Raible
Do you think it's related to the fix for APF-840? http://issues.appfuse.org/browse/APF-840 Can you please enter an issue in JIRA for this? I'll try to fix it as part of 2.0.1. Matt On 10/29/07, Thomas Ramapuram <[EMAIL PROTECTED]> wrote: > > Hi Matt. > I just checked out a project and dum

[appfuse-user] Sysdeo Tomcat plugin with DevLoader and Dynamic Class reloading in Eclipse

2007-11-05 Thread mrcyril
All In my current job, we are using AppFuse 1.9.x with Eclipse IDE and the Sysdeo Tomcat plugin. With just a few minor changes to the AppFuse directory structures (mainly moving web/pages to web/WEB-INF/pages) and the use of DevLoader with the Sysdeo Tomcat plugin, we now let Eclipse compile for

Re: [appfuse-user] using Generic Daos in Mocks in manager tests

2007-11-05 Thread Matt Raible
The following page may help: http://appfuse.org/display/APF/Services Matt On 10/25/07, Jack A. Lista <[EMAIL PROTECTED]> wrote: > Hi All, > > > > I'm just using the new 2.0M5 version of AppFuse and am duly impressed, > especially with the new generic Daos and Managers as about half my classes

Re: [appfuse-user] How to connect to multiple databases

2007-11-05 Thread Matt Raible
On 10/24/07, BruceLee <[EMAIL PROTECTED]> wrote: > > Team, > > We want to add 3rd party Jars to our webapp. It uses torque as ORM layer and > another database name in MySQL. There is no problem at local test, but we > have issues when putting it to remote hosting site. > Our env Appfuse 1.9.4 with

Re: [appfuse-user] Which goal uses default-data.xml

2007-11-05 Thread Matt Raible
Yes, if you feel it should be excluded from the final JAR - I see no problem with creating an issue for it in JIRA. Matt On 10/24/07, Marcello Teodori <[EMAIL PROTECTED]> wrote: > > it's a nice addition, but unfortunately the file ends up in the output JAR, > maybe it should be added to the JAR p

Re: [appfuse-user] Not using model classes from AppFuse

2007-11-05 Thread Matt Raible
From what I can tell, the plugin does not support generating views from classes that inherit from User. Sorry, Matt On 10/22/07, ghuttemann <[EMAIL PROTECTED]> wrote: > We've made this changes on User model class at com.myproject.app.model. As > you can see, the only line added is an annotation

Re: [appfuse-user] mvn:package delete a table from oracle??

2007-11-05 Thread Matt Raible
The hibernate3-maven-plugin drops and recreates tables based on your POJOs each time you run the build process. If you don't like this behavior, I'd suggest you remove the hibernate3-maven-plugin from your project. Of course, you should still have a way to create your schema from scratch if you go

Re: [appfuse-user] Could not open Hibernate Session for transaction; nested exception is

2007-11-05 Thread kace
Hi fellas, I just got this same error when I tried accessing my app. It's been three days since I last accessed it. Did you guys get this issue resolved? I am using appfuse 2 final jsf. Thanks ..kace Ealden Escañan wrote: > > On 10/11/07, Matt Raible <[EMAIL PROTECTED]> wrote: >> >> If

Re: [appfuse-user] How to configure customized ReverseEngineeringStrategy in AppFuse2.0

2007-11-05 Thread Matt Raible
No, I haven't tested on Oracle 9i, but I do know that some other folks have gotten this working with Oracle. http://issues.appfuse.org/browse/APF-902 Matt On 10/19/07, stonebox2007 <[EMAIL PROTECTED]> wrote: > > Thank you Matt for your answer, I tried to do as > http://static.appfuse.org/plugins

Re: [appfuse-user] Re: AppFuse(JSF)

2007-11-05 Thread Matt Raible
I'm all for removing JSP completely from the JSF version of AppFuse. I haven't had time to do this but would welcome the contribution. Matt On 10/14/07, Scott Ryan <[EMAIL PROTECTED]> wrote: > I have completed the conversion already including the Acegi and removal of > all JSP and including templ

Re: [appfuse-user] Custom Struts Interceptor does not behave as expected

2007-11-05 Thread Matt Raible
AppFuse shouldn't interfere in this area - if you create a custom interceptor and add it to the stack, it should get executed. If it doesn't, it's likely a configuration problem. I'd recommend firing up your debugger and setting a breakpoint in your interceptor and if it doesn't get called - you've

Re: [appfuse-user] The visited object is null after appfuse:full-source

2007-11-05 Thread Matt Raible
Did you start developing your application before running full-source? We've seen issues when you don't do full-source shortly after creating your project. Matt On 10/13/07, Artem G. Nickolaenko <[EMAIL PROTECTED]> wrote: > Hi, all. > > In the some stage of developing my application using AppFuse

Re: [appfuse-user] Faces Context Error

2007-11-05 Thread Matt Raible
If you use JSP instead of Facelets with JSF, you basically shouldn't be using JSF at all. It really is a *very* bad combination and I wouldn't wish this development combination upon my worst enemy. ;-) Matt On 10/9/07, nasim salehi <[EMAIL PROTECTED]> wrote: > Thank you dear Matt for your instant

Re: [appfuse-user] Archetype appfuse-modular-jsf - test HibernateConfigurationTest reports error

2007-11-05 Thread Matt Raible
Unfortunately, I don't know what the problem could be - I've only ever done modular projects with nested modules rather than putting them in the same directory. You could always use IDEA - it works with Maven out-of-the-box. ;-) Matt On 11/5/07, rfusaro <[EMAIL PROTECTED]> wrote: > > I get this

Re: [appfuse-user] Archetype appfuse-modular-jsf - test HibernateConfigurationTest reports error

2007-11-05 Thread rfusaro
I get this from the command line. I want to use eclipse but I'm trying to get it to work from the command line first. Thanks Rick mraible wrote: > > Do you get this when running from the command line or w/in Eclipse? If > it's w/in Eclipse, it's probably because your source paths are setup > i

Re: [appfuse-user] How to generate webtestresults.html?

2007-11-05 Thread Setomidor
I did figure it out, at last :) Here is how to fix it in a basic archetype: - Obtain the Webtest resources, containing images, css etc. These can be found in any webtest release (in the resources directory), and I've also repacked them to a .zip file, temporarly available at: http://www.cs.umu.s

Re: [appfuse-user] Integrating Captcha

2007-11-05 Thread Flavio Froes
web.xml GetSessionImage ChartDirector.GetSessionImage Captcha Captcha nl.captcha.servlet.CaptchaServlet Captcha /Captcha.jpg login.jsp ...

Re: [appfuse-user] NoSuchMethodException - but the method's there

2007-11-05 Thread Michael Horwitz
I'm no expert on Struts, so this is a bit of stab in the dark. I notice the default action config in AppFuse omits the "method" attribute. Have you tried: /WEB-INF/pages/photoForm.jsp /WEB-INF/pages/photoForm.jsp photos.html Mike On 11/

Re: [appfuse-user] jMock version

2007-11-05 Thread jimpo
Created http://issues.appfuse.org/browse/APF-943 mraible wrote: > > I agree we should switch. Can you please enter an issue in JIRA? You > might want to make sure there's not already an issue for it. > > Matt > > On 11/2/07, jimpo <[EMAIL PROTECTED]> wrote: >> >> Appfuse uses jMock 1.1. The l