AW: [appfuse-user] annotations for managed beans

2007-11-29 Thread René Günther
Appfuse uses annotations for hibernate configuration files, with Spring 2.5 one can use annotations for the managed bean of JSF instead of configure them in faces-config.xml. It is similar to http://cagataycivici.wordpress.com/2007/09/10/using-spring-to-manage-jsf-bea ns/ but uses annotations. But

[appfuse-user] Save validation problem

2007-11-29 Thread colaru
Hello! First I generate all the Actions with appfuse:gen. I have this problem in one of my actions: when I try to do a save request all my fields are marked as been required even I add some informations in some fields. This is happend just then I do a save after an add, not on a modify and just i

Re: [appfuse-user] problem with appfuse:gen in windows

2007-11-29 Thread Ocram Itnaf
To prevent this error, change settings.xml in your .m2 directory to: C:\Docume~1\username\.m2 Replace username with your windows user name. -- oi J. David Mendoza R. wrote: > > There's a bug with the ant plugin > http://www.mail-archive.com/[EMAIL PROTECTED]/msg64744.html and is > t

Re: [appfuse-user] annotations for managed beans

2007-11-29 Thread Matt Raible
I don't understand your question - can you rephrase it? Thanks, Matt On Nov 29, 2007, at 4:24 PM, René Günther wrote: With Spring 2.5, is there a reason why not using annotations for managed beans except for the lack of possibility to inject request parameter? I tried with something like

[appfuse-user] annotations for managed beans

2007-11-29 Thread René Günther
With Spring 2.5, is there a reason why not using annotations for managed beans except for the lack of possibility to inject request parameter? I tried with something like this: @Controller @Scope("request") public class ClientForm extends BasePage implements Serializable { /** *

Re: [appfuse-user] Preopopulating a production database

2007-11-29 Thread Laith Al-Khateeb
On Nov 30, 2007 3:55 AM, Michael Horwitz <[EMAIL PROTECTED]> wrote: > To load prod data without running tests: mvn -Pprod dbunit:operation > Yes, thanks for that and thanks for everyone else's input. Laith

[appfuse-user] Problem with the language on spring with the commons.validator

2007-11-29 Thread colonel D
Hi Matt, I'm using spring 1.2.1, and i've got a problem with the commons.validator. I'm using spring mvc in an application like equinox. The problem is, when i change le language on my web site, for example the site is in french by default and i put it in english, i change the sessionlocaleresol

[appfuse-user] AppFuse and IceFaces

2007-11-29 Thread Kiran Karnati
Hello All, Did any one ever integrated AppFuse and IceFaces and have a running application ? I am about to start to do an application with IceFaces and want to use AppFuse for that, just wondering if any one else have already one that already. I appreciate any suggestion or heads up. Thanks. --

Re: [appfuse-user] AMP gen target help for classes with relationships

2007-11-29 Thread Matt Raible
Can you try 2.0.1 and see if you have similar issues? Thanks, Matt On Nov 9, 2007 1:19 AM, nvin <[EMAIL PROTECTED]> wrote: > > > > mraible wrote: > > > > On Nov 8, 2007 10:25 PM, nvin <[EMAIL PROTECTED]> wrote: > >> > >> Hi All, > >> Does Appfuse generate CRUDL classes for Java objects containin

Re: [appfuse-user] Using groovy in Appfuse

2007-11-29 Thread Matt Raible
On 11/27/07, Mike McCown <[EMAIL PROTECTED]> wrote: > > Hmmm...I got groovy integrated into the webtest (integration-test target), > maybe this would work for appfuse in general? I'll check it out later this > week. > > In 2.0 (2.0.1) the pom.xml excludes groovy-all from the webtest dependency > (

Re: [appfuse-user] Question about error message on signup page

2007-11-29 Thread Matt Raible
Struts 2 is a bit tricky because we've customized the css_xhtml theme to render error messages automatically. We could probably enhance our customization so individual error messages could be turned off. As far as adding an error message for country, that might be possible with a struts:err

Re: [appfuse-user] Question about error message on signup page

2007-11-29 Thread Yongping
Struts 2.0. Thanks mraible wrote: > > This doesn't happen for Country because (in many cases), we're > rendering our own drop-down instead of using a web framework's. Which > web framework are you using - it's generally different on enabling/ > disabling error messages on each field. > >

Re: [appfuse-user] How should Compass be integrated with Appfuse 2.x

2007-11-29 Thread Matt Raible
I think a SearchManager might be best - that way it can be exposed as a web service and used by other applications. Matt On 11/25/07, franz see <[EMAIL PROTECTED]> wrote: > > Good day, > > There is a jira issue regarding providing searching capability in Appfuse > 2.1 via Compass ( see [1] ). > >

Re: [appfuse-user] Question about error message on signup page

2007-11-29 Thread Matt Raible
This doesn't happen for Country because (in many cases), we're rendering our own drop-down instead of using a web framework's. Which web framework are you using - it's generally different on enabling/ disabling error messages on each field. Matt On Nov 29, 2007, at 11:06 AM, Yongping wrote:

[appfuse-user] Question about error message on signup page

2007-11-29 Thread Yongping
Normally there is an erorr printed out on top of this page and corresponding field when it's required (if blank). However I notice field of Country is an exception. Only error for this field (select) is displayed on top of page but nothing on the top of Country (if nothing is selected). A couple o

Re: [appfuse-user] Preopopulating a production database

2007-11-29 Thread Matt Raible
On 11/29/07, Rob Hills <[EMAIL PROTECTED]> wrote: > Hi Matt, > > On 29 Nov 2007 at 9:41, Matt Raible wrote: > > > We're open to suggestions on how to improve this. The reason we use > > negative ids is because if we don't, Oracle gets its sequences messed > > up. You could fix things in your projec

Re: [appfuse-user] Preopopulating a production database

2007-11-29 Thread Michael Horwitz
To load prod data without running tests: mvn -Pprod dbunit:operation Mike On 11/29/07, Rob Hills <[EMAIL PROTECTED]> wrote: > > Hi Matt, > > On 29 Nov 2007 at 9:41, Matt Raible wrote: > > > We're open to suggestions on how to improve this. The reason we use > > negative ids is because if we don't

Re: [appfuse-user] Preopopulating a production database

2007-11-29 Thread Rob Hills
Hi Matt, On 29 Nov 2007 at 9:41, Matt Raible wrote: > We're open to suggestions on how to improve this. The reason we use > negative ids is because if we don't, Oracle gets its sequences messed > up. You could fix things in your project by modifying sample-data.xml > to have positive keys and the

Re: [appfuse-user] Preopopulating a production database

2007-11-29 Thread Matt Raible
We're open to suggestions on how to improve this. The reason we use negative ids is because if we don't, Oracle gets its sequences messed up. You could fix things in your project by modifying sample-data.xml to have positive keys and then run "appfuse:full-source" and modify all your tests. Or modi

Re: [appfuse-user] hibernate reverse engineering table options

2007-11-29 Thread Michael Horwitz
On 11/29/07, jbarroso <[EMAIL PROTECTED]> wrote: > > > > > On 11/29/07, jbarroso <[EMAIL PROTECTED]> wrote: > > > > > >When I tried a similar exercise with SQL Server I had to specify both the > >schema and the catalog before Hibernate tools would recognise the table: > > > catalog="db_name"/> > >

Re: [appfuse-user] hibernate reverse engineering table options

2007-11-29 Thread jbarroso
On 11/29/07, jbarroso <[EMAIL PROTECTED]> wrote: > > >When I tried a similar exercise with SQL Server I had to specify both the >schema and the catalog before Hibernate tools would recognise the table: > >This pretty much applied to everything else as well. Mike thanks for response. I've te

[appfuse-user] Odd error: menus get all messed up when executing jetty:run instead of jetty:run-war

2007-11-29 Thread syg6
Using Appfuse 2, Hibernate+Spring MVC non-modular. Has anyone ever seen this? I am trying to use 'jetty:run' instead of 'jetty:run-war' (so hot-swapping of classes will work) and when I do my menus get all garbled up. They appear at the top of the screen, one next to or on top of another. No drop

Re: [appfuse-user] Preopopulating a production database

2007-11-29 Thread Laith Al-Khateeb
Yes you're right, that's because the ActionTest cases expect negative IDs (-1, -2) to be in the database, which are used in sample-data.xml but that I didn't specify in default-data.xml (which is used when prod is activated). Ok, to step back a bit. If I was not going to put any data for my table

Re: [appfuse-user] hibernate reverse engineering table options

2007-11-29 Thread Michael Horwitz
On 11/29/07, jbarroso <[EMAIL PROTECTED]> wrote: > > > Hi all!, > > I'm having problems with hibernate reverse engineering options in appfuse > 2.0.1. > > I'm trying to change the generated pojo's name adding a config > element in hibernate.reveng.xml: > > --- > > SYSTEM > "http://hibernate.sour

[appfuse-user] hibernate reverse engineering table options

2007-11-29 Thread jbarroso
Hi all!, I'm having problems with hibernate reverse engineering options in appfuse 2.0.1. I'm trying to change the generated pojo's name adding a config element in hibernate.reveng.xml: --- http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd"; >

Re: [appfuse-user] appfuse:full-source giving connection exception

2007-11-29 Thread Mani_N
Yes. I had tried the following but the error is still there 1. Giving ANT_OPTS as -Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080 in environment variables 2. Giving ANT_ARGS as -autproxy in environment variables Can anyone have idea is there any other way of giving this in ant.. mraib

Re: [appfuse-user] Preopopulating a production database

2007-11-29 Thread Michael Horwitz
I'm not sure I understand why the tests are passing in your development environment but failing in your production environment? From the stack trace in your first email it simply looks like you do not have the correct data in your sample-data.xml file. Mike On 11/28/07, Laith Al-Khateeb <[EMAIL P

Re: [appfuse-user] Appfuse Maven Plugin

2007-11-29 Thread Matt Raible
After you've checked out the plugin, you can modify its templates and then run "mvn install" to install it in your local repo. Then make your project match the version and you should use your modified version of the plugin. Matt On Nov 29, 2007, at 1:03 AM, Rene Guenther wrote: I did tha

Re: [appfuse-user] Appfuse Maven Plugin

2007-11-29 Thread Rene Guenther
I did that in my source folder not in my project folder. I guess I have to put the plugin under my project folder then? I am just anxious to put it there unless I am sure that this is the right thing to do. I somehow (dunno how) messed up my last appfuse tutorial project and I dont want to do i