Re: [appfuse-user] mvn eclipse:eclipse project file generation problem

2007-07-04 Thread Eric Fitzsimmons
Just a shot, but sometimes your local repository can mess things up. Try removing your local repository, usually located at ~userName/.m2/ and then run the command again. Vishal S wrote: Hello friends, I am new to Appfuse. I recenlty installed Appfuse and ran the demo web applicaton, fa

Re: [appfuse-user] Spring Validation Server-side failing

2007-07-04 Thread David Whitehurst
I can turn off javascript and I see no validation. Still perplexed, David David Whitehurst wrote: > > Has anyone seen where a popup window will appear in your browser with > errors but the errors don't appear on your page using Spring MVC and > common validation. I think where the messages (

Re: [appfuse-user] Validating a new user

2007-07-04 Thread Volcan
Cool thx alot m8 !! It worked !! Michael Horwitz wrote: > > You also need to make the appropriate changes to User-validation.xml. > > Mike. > > On 7/4/07, Volcan <[EMAIL PROTECTED]> wrote: >> >> >> I am searching for this issue : >> >> When a user registers, I don't want him to filll in the s

Re: [appfuse-user] Spring Validation Server-side failing

2007-07-04 Thread Trent
On Wed, 4 Jul 2007 21:52:27 -0700 (PDT), David Whitehurst wrote > Has anyone seen where a popup window will appear in your browser > with errors but the errors don't appear on your page using Spring > MVC and common validation. I think where the messages (errors) > appear in the pop-up it's bec

[appfuse-user] Spring Validation Server-side failing

2007-07-04 Thread David Whitehurst
Has anyone seen where a popup window will appear in your browser with errors but the errors don't appear on your page using Spring MVC and common validation. I think where the messages (errors) appear in the pop-up it's because I'm validating using javascript, but the server-error propagation is

[appfuse-user] Open firewall to use Maven

2007-07-04 Thread mmaia
Hi, I´m trying appfuse 2.0M5 and I have to disable my personal firewall so Maven can download elements. Wich port does it uses? I want to open this port as doing so I will problably be able to run maven without disabling my firewall. -- View this message in context: http://www.nabble.com/Open

[appfuse-user] mvn eclipse:eclipse project file generation problem

2007-07-04 Thread Vishal S
Hello friends, I am new to Appfuse. I recenlty installed Appfuse and ran the demo web applicaton, fantastic experience..! When I tried to generate a project for Eclipse by typing the following command in my project directory mvn eclipse:eclipse it hangs at downloading the common

Re: [appfuse-user] Understanding method toString using commoneclipse

2007-07-04 Thread fadhli
Yes, I'm using Hibernate. Thanks for the tip. Using commoneclipse generates bad practice code habit. One should always be aware of what's been generated by a tool. Regards Fadhli On 7/4/07, Jason Brice <[EMAIL PROTECTED]> wrote: I'm assuming you're using Hibernate. I don't know if you'll hav

Re: [appfuse-user] Appfuse Core + Swing: Session is closed

2007-07-04 Thread MarcelR
Okay, I'm going to share my jpa-toplink implementation. Before that I want to beautify the code a little bit and show how the PersonDaoJPA has to be changed to use it (because I use Spring's JPATemplate). So, I will do that probably this weekend (have a lot of work to do first). Greetz, Marcel

Re: [appfuse-user] url rewrite help

2007-07-04 Thread Dale Newfield
kace wrote: can anyone help me iron out the rule on how i could go about prettying up the following url in urlrewrite www.myurl.com/public/product.html?id=1 to say www.myurl.com/product-prettier-name.html http://tuckey.org/urlrewrite/ has manuals for the various versions Probably something

Re: [appfuse-user] struts combo box

2007-07-04 Thread Fan
I did try the following way: 1) I have the following lines under applicationContext-struts.xml 2) In my UserAction.java's edit method, I have this clubs = clubManager.getClubs(); 3) In my userForm.jsp, I have It works,

Re: [appfuse-user] override User code class and link OneToMany to any other class

2007-07-04 Thread Fan
what's the use of persistence.xml ?? I saw only two following entries in the file, should I add a new entry for club pojo ? org.appfuse.model.User org.appfuse.model.Role I did try the following way: In my club POJO, I have @OneToMany public Set getUsers() { return users; } in my user POJO,

Re: [appfuse-user] Driving me nuts!

2007-07-04 Thread
I am glad you got an understanding of the problem... but it did not explain what was going on to me. No matter what I did, the default decorator would always be used. Below is my decorators file. You can see I pretty much tried every path I could think of. Eventually I tracked it down to a bug in

Re: [appfuse-user] Validating a new user

2007-07-04 Thread Michael Horwitz
You also need to make the appropriate changes to User-validation.xml. Mike. On 7/4/07, Volcan <[EMAIL PROTECTED]> wrote: I am searching for this issue : When a user registers, I don't want him to filll in the state and his website, so I change the userForm.jsp and removed the fields. This do

Re: [appfuse-user] struts bundled plugins in appfuse2

2007-07-04 Thread Michael Horwitz
The Struts 2 Spring plugin is also included. To add another plugin, simply add the dependency to your project's pom.xml. Mike. On 7/4/07, Travers Snyman <[EMAIL PROTECTED]> wrote: Am I correct in the understanding that creating a project with the basic struts archetype, only the struts core a

Re: [appfuse-user] Understanding method toString using commoneclipse

2007-07-04 Thread Jason Brice
I'm assuming you're using Hibernate. I don't know if you'll have issues with iBatis. My opinion is that you're better off omitting collections from your toString method. The reason is that if the collections are lazy-loaded, and you call the toString method outside of the session, you could get a

Re: AW: [appfuse-user] Database updates

2007-07-04 Thread tibi
take care of newly added data on the live database! success, tibi Tobias Vogel wrote: I'd recommend to import the production data into a test system using a binary dump (much faster than xml-export/import using dbunit), and trying the update on this one. After that (if everything went well)

[appfuse-user] Validating a new user

2007-07-04 Thread Volcan
I am searching for this issue : When a user registers, I don't want him to filll in the state and his website, so I change the userForm.jsp and removed the fields. This does not remove the validation of this fields. I am using Struts2 and hibernate . Ayone who can tell me how to do this ? Thx

[appfuse-user] struts bundled plugins in appfuse2

2007-07-04 Thread Travers Snyman
Am I correct in the understanding that creating a project with the basic struts archetype, only the struts core and code behind are included in the project ? If one wanted to use some of the bundled struts 2 plugins like jasperReports, jfreeChart, sitegraph, etc. how would I do that ?. Do I add dep

AW: [appfuse-user] Database updates

2007-07-04 Thread Tobias Vogel
I'd recommend to import the production data into a test system using a binary dump (much faster than xml-export/import using dbunit), and trying the update on this one. After that (if everything went well) you can create a new binary dump of the test database and reimport it into production. This w

Re: [appfuse-user] Database updates

2007-07-04 Thread Michael Horwitz
Sorry - got a bit carried away there and pressed send by mistake: The answer to both is yes. Look for the configuration of the hibernate3-maven-plugin and change as follows: org.codehaus.mojo hibernate3-maven-plugin 2.0-alpha-1

Re: [appfuse-user] Database updates

2007-07-04 Thread tibi
interesting. martin if you find the answers can you post them here thanks tibi Michael Horwitz wrote: The answer to both is yes. Look for the configuration of the hibernate3-maven-plugin On 7/4/07, *Martin Ravell* < [EMAIL PROTECTED] > wrote: I have an app

Re: [appfuse-user] Database updates

2007-07-04 Thread Michael Horwitz
The answer to both is yes. Look for the configuration of the hibernate3-maven-plugin On 7/4/07, Martin Ravell <[EMAIL PROTECTED]> wrote: I have an app which is in (limited) production. (Appfuse 2M5 Struts2 basic) In development I've added a few new tables. Is there a way with maven that I ca

[appfuse-user] Database updates

2007-07-04 Thread Martin Ravell
I have an app which is in (limited) production. (Appfuse 2M5 Struts2 basic) In development I've added a few new tables. Is there a way with maven that I can have these changes applied to the production database without wiping (deleting and rebuilding) the wholoe database? I want to keep the data i

Re: [appfuse-user] AW: Hibernate Relationships tutorial for Appfuse 2?

2007-07-04 Thread syg6
Cheers for the link! I was poking around Hibernate's site looking for definitive info on Hibernate Annotations. This link seems to be pretty exhaustive. It would be nice, however, to see this integrated with an Appfuse tutorial, from the creation of an object that has a one-to-many or many-to-man

[appfuse-user] Problem with code generation

2007-07-04 Thread ujjala
Earlier when i was generating the right code . But now i am facing problem . After the command ant install-detailed when i see the generated code for model it does not override the abstract methods(hashcode,tostring,equals) of BaseObject . After that when i run the command ant package-dao then it

AW: [appfuse-user] Hibernate Relationships tutorial for Appfuse 2?

2007-07-04 Thread Tobias Vogel
For me, the annotations seem to be easier and much more readable than Xdoclet tags. I started with the hibernate reference (it has an extra chapter for Hibernate-specific annotations), and got productive within 1 or 2 days: http://www.hibernate.org/hib_docs/annotations/reference/en/html/ HTH an

[appfuse-user] Hibernate Relationships tutorial for Appfuse 2?

2007-07-04 Thread syg6
Hello everyone and happy 4th! I was just curious if there are any plans to make a tutorial for Hibernate Relationships in Appfuse 2.x. I used Appfuse 1.9 (I think) about a year and a half ago and know that I had serious issues with one-to-many, many-to-many, and many-to-many-with-composite-id re