Re: [appfuse-user] AppFuse 2.0.1 - Error while testing the tutorial-jpa module from appfuse-demos

2007-12-13 Thread base7691
I would create an issue in JIRA but I could not get the permission to do that till now. After logging in in JIRA I have no possibility to create an new issue. Wolfgang Stephiems wrote: > > Was this ever reported or fixed? I'm also getting this error, but I > searched JIRA and couldn't find anyt

Re: [appfuse-user] Updating POJO results in new database entry

2007-12-13 Thread base7691
I solved the problem. The id field is a hidden field but I haden't included a hidden version field. Maybe it would be a good idea to mention it in the 'Using JSF' tutorial. Wolfgang mraible wrote: > > Is your id field a hidden field? > > Matt > > On 12/13/07, base7691 <[EMAIL PROTECTED]> wrot

Re: [appfuse-user] AppFuse 2.0.1 - Error while testing the tutorial-jpa module from appfuse-demos

2007-12-13 Thread Stephiems
Was this ever reported or fixed? I'm also getting this error, but I searched JIRA and couldn't find anything matching. If I put the definitions in applicationContext-resources.xml it works fine, but not in applicationContext.xml. I guess it doesn't matter too much, but it would be nice to put it

Re: [appfuse-user] Automatic timestamping of all persisted data

2007-12-13 Thread Ron Anderson
Hey Rob this seems like it might be a good application for Spring AOP/AspectJ. We've used it in a project for logging what was changed and by whom with date/time. Ron - Original Message From: Rob Hills <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Thursday, December 13, 200

Re: [appfuse-user] No result defined for action au.com.myapp.webapp.action.DeliveryTonnageAction and result success

2007-12-13 Thread Rob Hills
Hi Nathan, Nathan Anderson wrote: Hmm... that's a bit of a mystery. I don't really have any answers, but maybe if I ask some questions it will help :shrug: >From what I can tell, the buildTonnageGrid() method is a local method in the action that sets up some local or session values and retur

Re: [appfuse-user] Automatic timestamping of all persisted data

2007-12-13 Thread Rob Hills
Hi Matt, Thanks for the reply. Matt Raible wrote: Have you thought about doing this with a trigger in your database? Do you need to record the user's information along with this auditing? I've done this with Event Listeners in the past. I'd be quite comfortable with doing it as a trigger, bu

Re: AW: AW: [appfuse-user] sample-data.xml

2007-12-13 Thread Matt Raible
I love it when problems fix themselves. ;-) Matt On Dec 13, 2007, at 5:23 PM, René Günther wrote: Hmm... just found out, I cant reproduce it anymore. It happened when I added a new user via GUI and I solved it by adding an user with a positive id in sample-data.xml. Now I changed back to on

AW: AW: [appfuse-user] sample-data.xml

2007-12-13 Thread René Günther
Hmm... just found out, I cant reproduce it anymore. It happened when I added a new user via GUI and I solved it by adding an user with a positive id in sample-data.xml. Now I changed back to only negative ids in sample-data.xml and adding an user via GUI didn’t throw that exception :-) -Ursprü

Re: AW: [appfuse-user] sample-data.xml

2007-12-13 Thread Matt Raible
Can you provide the steps needed to reproduce this with a new project? I haven't seen any issues with 5.0.27 on OS X. Matt On Dec 13, 2007, at 5:09 PM, René Günther wrote: org.hibernate.HibernateException: The database returned no natively generated identity value I am using MySQL 5.0.27

AW: [appfuse-user] sample-data.xml

2007-12-13 Thread René Günther
org.hibernate.HibernateException: The database returned no natively generated identity value I am using MySQL 5.0.27 and Appfuse 2.0.1 I just need one positive id and it works ;-) René -Ursprüngliche Nachricht- Von: Matt Raible [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 14. Dezember

Re: [appfuse-user] sample-data.xml

2007-12-13 Thread Łukasz Bachman
Dear René, I think it's just to distinguish the "sample values" that You are using for testing, from the original ones, which You will use in final application. If You have a look inside the "default-data.xml" (which will be used during the deploy of Your application to server), You will notice th

Re: [appfuse-user] sample-data.xml

2007-12-13 Thread Matt Raible
What's the error you're getting from MySQL? We did this to fix an auto-incrementing problem with Oracle. http://issues.appfuse.org/browse/APF-718 Since we haven't heard of any MySQL issues from others, I'd suspect you're using an older version? Matt On 12/13/07, René Günther <[EMAIL PROTECTED]>

[appfuse-user] sample-data.xml

2007-12-13 Thread René Günther
Why are all Ids negative values in sample-data.xml (eg if you generate defaults with appfuse:gen)? I had an issue with MySQL to autoincrement the primary key. I wasn’t able to insert new user records anymore. Regards René - To u

[appfuse-user] Appfuse Related Blogs

2007-12-13 Thread Dave Thompson
I'm trying to load my aggregator with some blogs on appfuse. Can you guys hit me with a list of good appfuse related blogs? (Please include yours if you like). Thanks -Dave -- Dave Thompson http://dathompson.blogspot.com - To u

Re: [appfuse-user] No result defined for action au.com.myapp.webapp.action.DeliveryTonnageAction and result success

2007-12-13 Thread Nathan Anderson
Hmm... that's a bit of a mystery. I don't really have any answers, but maybe if I ask some questions it will help :shrug: >From what I can tell, the buildTonnageGrid() method is a local method in the >action that sets up some local or session values and returns nothing. Is that >correct? Oth

Re: [appfuse-user] Layout CSS? Struts Menu?

2007-12-13 Thread Matt Raible
If you send a message directly to users@appfuse.dev.java.net (with an attachment), it should go through. Matt On Dec 13, 2007, at 9:43 AM, mikebgx wrote: PS Sorry about the background image, is there a better way to upload / attach? mikebgx wrote: I'm getting a white stripe across the t

Re: [appfuse-user] Layout CSS? Struts Menu?

2007-12-13 Thread mikebgx
PS Sorry about the background image, is there a better way to upload / attach? mikebgx wrote: > > I'm getting a white stripe across the top of all my pages, as per attached > image, does anyone know what's causing it? > > I suspected the Struts Menu, which I removed because I don't really need

[appfuse-user] Layout CSS? Struts Menu?

2007-12-13 Thread mikebgx
I'm getting a white stripe across the top of all my pages, as per attached image, does anyone know what's causing it? I suspected the Struts Menu, which I removed because I don't really need it, see my default.jsp below Also on long pages my background image gets repeated, any idea why? I'v attac

Re: [appfuse-user] [2.0.1] "mvn appfuse:full-source" error

2007-12-13 Thread Eric Martin
Just to summarize this thread: This issue is caused by a bug in Ant v1.7. When I got this error originally, I was using a Windows XP machine and my Maven repository path contained spaces, which is the cause of the bug. The reason it worked when I tried it on another computer was because it was

Re: [appfuse-user] Updating POJO results in new database entry

2007-12-13 Thread Rene Guenther
Can you debug and check id and version field? If I remember correctly version has to be != null if you update an object. On Thu, 13 Dec 2007 07:03:09 -0800 (PST) base7691 <[EMAIL PROTECTED]> wrote: If I try to update a already persisted object it seems that all things are OK and I get the 's

Re: [appfuse-user] Updating POJO results in new database entry

2007-12-13 Thread Matt Raible
Is your id field a hidden field? Matt On 12/13/07, base7691 <[EMAIL PROTECTED]> wrote: > > If I try to update a already persisted object it seems that all things are > OK > and I get the 'successfully updated' message. But when I change to the list > view I recognize that a new instance of the ob

Re: [appfuse-user] Updating POJO results in new database entry

2007-12-13 Thread Matt Raible
Is your I'd field a hidden field? On 12/13/07, base7691 <[EMAIL PROTECTED]> wrote: > > If I try to update a already persisted object it seems that all things are > OK > and I get the 'successfully updated' message. But when I change to the list > view I recognize that a new instance of the object

[appfuse-user] Updating POJO results in new database entry

2007-12-13 Thread base7691
If I try to update a already persisted object it seems that all things are OK and I get the 'successfully updated' message. But when I change to the list view I recognize that a new instance of the object is persistet in the database. Could it be that this has something to do with the merge method

Re: [appfuse-user] Load jetty with options

2007-12-13 Thread Matt Raible
You should be able to set your JAVA_OPTS or MAVEN_OPTS. I wouldn't worry about Tomcat running as a service on your local machine - I'd just start it from the command line using "catalina.bat run" - that way you can see the logs in a console. Here's what I use in my JAVA_OPTS - I haven't seen a per

Re: [appfuse-user] Automatic timestamping of all persisted data

2007-12-13 Thread Matt Raible
Have you thought about doing this with a trigger in your database? Do you need to record the user's information along with this auditing? I've done this with Event Listeners in the past. Matt On 12/13/07, Rob Hills <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm using AppFuse 2.0 + Struts2 + Hiberna

Re: [appfuse-user] AppFuse 2.0.1 - Problem when changing from MyFaces to Sun's JSF RI

2007-12-13 Thread base7691
I haven't excluded Tomahawk from the dependencies and therefore it is on the classpath. It seems, that it has nothing to do with Tomahawk. Wolfgang mraible wrote: > > Make sure you keep Tomahawk as a dependency. > > Matt > > On Dec 12, 2007, at 6:43 AM, base7691 wrote: > >> >> I think I have

[appfuse-user] Load jetty with options

2007-12-13 Thread René Günther
I want to change JAVA_OPTIONS when I execute jetty:run. Because when I change files, jetty reloads and runs fast into permGen errors. So anyone has done it and knows where to set the variables for the jetty plugin on Windows? I want to add that I execute the maven command from Eclipse (MyEclipse) a