[appfuse-user] CSV File Import

2007-07-28 Thread Aled Rhys Jones
Hi guys Does the spring framework or appfuse have any helper classes for importing csv files into the database? Appfuse already has a handy file upload tool, I was looking to take it a step further and allow the user to upload a csv file that contained data that mapped to a Pojo (or many pojos

[appfuse-user] Hibernate exception in 2rc1

2007-07-28 Thread arvinder
I created a new basic struts 2rc1 project with hibernate and moved my application source code from 2m5 project (in which i had run full source, in new project I do not intend to do full source). Now my tests for persistant entities which have embedded objects are failing, throwing the hibernate ex

[appfuse-user] appfuse.org

2007-07-28 Thread tibi
hi when i opened appfuse.org i got following error. after trying www.appfuse.org the error was gone (even when i tried appfuse.org again) strange maybe this error wel never happen again. but here goes: -

Re: [appfuse-user] appfuse.org

2007-07-28 Thread Matt Raible
Here's what Contegix had to say about this: I really can't say one way or another. If I had to make an educated guess, I would say the user logged into the Wiki before the integration with crowd, and had it keep the login in the cookie (Remember Me check box when logging in). When they attemp

Re: [appfuse-user] Hibernate exception in 2rc1

2007-07-28 Thread arvinder
Found out the cause for the problem. If you have two embedded objects,say, bill to and ship to address and one of them is not required(ship to in this case). Then for the second one you can not pass a null object. In my test class I had to create a new address object with no values set and set it

[appfuse-user] ClassNotFoundException: org.appfuse.webapp.listener.StartupListener

2007-07-28 Thread arvinder
I am getting this exception when I try mvn jetty:run java.lang.ClassNotFoundException: org.appfuse.webapp.listener.StartupListener but mvn jetty:run-war starts up the server okay Am I missing something? Arvinder -- View this message in context: http://www.nabble.com/ClassNotFoundException%3A-org

Re: [appfuse-user] Turning Off hbm2ddl

2007-07-28 Thread bernatowicz
Matt, I would leave it turned on by default. I am using appfuse as a reference for learning Java web development, and may not have found the capability to auto-create the database (until much later) had it not been on by default. (I would have probably been writing the DDL!) Once I had the nee

Re: [appfuse-user] Hibernate exception in 2rc1

2007-07-28 Thread Matt Raible
I would suggest looking at hibernate's release notes (all of them since the version in m5). Matt On 7/28/07, arvinder <[EMAIL PROTECTED]> wrote: > > Found out the cause for the problem. > If you have two embedded objects,say, bill to and ship to address and one of > them is not required(ship to

Re: [appfuse-user] ClassNotFoundException: org.appfuse.webapp.listener.StartupListener

2007-07-28 Thread Matt Raible
Maven (and the jetty plugin) can't read dependencies from wars. The warpath plugin fixes this - but the jetty plugin doesn't work with it. There's an open issue in JIRA for this. Matt On 7/28/07, arvinder <[EMAIL PROTECTED]> wrote: > > I am getting this exception when I try mvn jetty:run > java.

Re: [appfuse-user] Turning Off hbm2ddl

2007-07-28 Thread arvinder
I think it will help new users more if it is turned on by default. Matt Raible-3 wrote: > > What do folks think, should we turn hbm2ddl off by default? Or leave > it on so the database is updated by default, and users have to do the > steps below to turn it off? > > Thanks, > > Matt > > On 1

Re: [appfuse-user] Hibernate exception in 2rc1

2007-07-28 Thread arvinder
Will do and post my results back. What is the easiest way of knowing versions of hibernate since 2m5? Arvinder mraible wrote: > > I would suggest looking at hibernate's release notes (all of them > since the version in m5). > > Matt > > > On 7/28/07, arvinder <[EMAIL PROTECTED]> wrote: >> >>

Re: [appfuse-user] ClassNotFoundException: org.appfuse.webapp.listener.StartupListener

2007-07-28 Thread arvinder
Does this mean that cannot hot deploy any more as jetty:run-war does not do that? Please don't say yes to this!! mraible wrote: > > Maven (and the jetty plugin) can't read dependencies from wars. The > warpath plugin fixes this - but the jetty plugin doesn't work with it. > There's an open issue

Re: [appfuse-user] Hibernate exception in 2rc1

2007-07-28 Thread Matt Raible
Look at the root pom.xml file in subversion. Use the m5 tag. Matt On 7/28/07, arvinder <[EMAIL PROTECTED]> wrote: > > Will do and post my results back. What is the easiest way of knowing > versions > of hibernate since 2m5? > Arvinder > > mraible wrote: > > > > I would suggest looking at hiberna

Re: [appfuse-user] ClassNotFoundException: org.appfuse.webapp.listener.StartupListener

2007-07-28 Thread Matt Raible
You have to run war:inplace or full-source if you want hot deploy with jetty:run. Matt On 7/28/07, arvinder <[EMAIL PROTECTED]> wrote: > > Does this mean that cannot hot deploy any more as jetty:run-war does not do > that? > Please don't say yes to this!! > > mraible wrote: > > > > Maven (and th

[appfuse-user] Error on adding a User in 2rc1 struts basic

2007-07-28 Thread arvinder
If I try to add a user and hit save without inputting anything into any of the fields, I get a Freemarker Template error at the bottom and top menu gets messed up. Can somebody with this configuration 'second' this behavior? Arvinder -- View this message in context: http://www.nabble.com/Error-o

Re: [appfuse-user] Error on adding a User in 2rc1 struts basic

2007-07-28 Thread Matt Raible
Can you attach a screenshot? On 7/28/07, arvinder <[EMAIL PROTECTED]> wrote: > > If I try to add a user and hit save without inputting anything into any of > the fields, I get a Freemarker Template error at the bottom and top menu > gets messed up. Can somebody with this configuration 'second' th