[appfuse-user] CRUD+?

2008-04-16 Thread gerjan
Hi, First of all, many thanks to Matt and all contributing to this wonderful project. I week ago I could hardly ride a bike and now I feel like doing web app wheelies! Is there a quick/easy way to add a simple relation to CRUD functionality in AppFuse? Having been pampered by appfuse:gen

Re: [appfuse-user] ActionContext.getContext NPE when upgrading to Struts 2.1

2008-04-16 Thread oscar perez
Hi! I finally managed to solve the problem and I have finally become a happy appfuse user + struts 2.1 + fit :) The problem was (it still puzzles me) that displaytag is not able to read from the value stack, so I made the wrong assumption and thought that the value stack was useless. Adding this l

[appfuse-user] CRUD+

2008-04-16 Thread gerjan
(Sorry for the repeat, meant to start a new thread instead of replying to an earlier one) Hi, First of all, many thanks to Matt and all contributing to this wonderful project. I week ago I could hardly ride a bike and now I feel like doing web app wheelies! Is there a quick/easy way to a

Re: [appfuse-user] CRUD+

2008-04-16 Thread Kropp, Henning
Hi Ger-Jan, you would use hibernate annotations for this purpose and create @onetomany, @manytomany and @manytoone relationships between those tables/objects. Have a look here http://www.hibernate.org/hib_docs/annotations/reference/en/html_single/ and here http://www.hibernate.org/hib_docs/a

RE: [appfuse-user] CRUD+

2008-04-16 Thread Ding, Qin
I am using Appfuse 1.9.4/JSF/DB2. When I generate the JSF page (i.e., list and form) using appgen, the list page has a pagination component. How can I make it work with my java.util.List? Any pointers are appreciated. Thanks. QD > ---

Re: [appfuse-user] CRUD+

2008-04-16 Thread gerjan
Thanks, this works quite well. It seems I only need to customise forms and controllers to hook the related objects up in the web UI (e.g. to display all possible values of the related object in a select box). Ger-Jan Quoting "Kropp, Henning" <[EMAIL PROTECTED]>: Hi Ger-Jan, you would use

Re: [appfuse-user] ActionContext.getContext NPE when upgrading to Struts 2.1

2008-04-16 Thread Dustin Pearce
Oscar, That is great news! I have not dug down into the display tag code, but there was a day when you had to push the collection from the value stack into the page context for displayTag. -D On Apr 16, 2008, at 1:36 AM, oscar perez wrote: Hi! I finally managed to solve the problem and

Re: [appfuse-user] Integrating Apache Camel

2008-04-16 Thread watcher
If I roll back to 6.0.0 from 6.1.9 the problem goes away. org.mortbay.jetty maven-jetty-plugin 6.0.0 false / 3 src/main/webapp/WEB-INF **/*.jsp

Re: [appfuse-user] BeanDefinitionStoreException: Unexpected exception parsing XML ... applicationContext-service.xml

2008-04-16 Thread jackalista
Hi, I asked Matt about confirnming the steps as I was unsure exactly what steps needed to be taken. The steps I listed are not apparentlhy correct. He said that you need to do these steps: 1. mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-modular-s

Re: [appfuse-user] CRUD+

2008-04-16 Thread Matt Raible
Can you please post this question to a new thread with more details rather than hijacking this thread. Thanks, Matt On Wed, Apr 16, 2008 at 8:18 AM, Ding, Qin <[EMAIL PROTECTED]> wrote: > I am using Appfuse 1.9.4/JSF/DB2. When I generate the JSF page (i.e., > list and form) using appgen, the l

Re: [appfuse-user] ActionContext.getContext NPE when upgrading to Struts 2.1

2008-04-16 Thread Matt Raible
On Wed, Apr 16, 2008 at 2:36 AM, oscar perez <[EMAIL PROTECTED]> wrote: > Hi! > I finally managed to solve the problem and I have finally become a happy > appfuse user + struts 2.1 + fit :) > The problem was (it still puzzles me) that displaytag is not able to read > from the value stack, so I made

Re: [appfuse-user] CRUD+?

2008-04-16 Thread Matt Raible
On Wed, Apr 16, 2008 at 2:33 AM, <[EMAIL PROTECTED]> wrote: > Hi, > > First of all, many thanks to Matt and all contributing to this wonderful > project. I week ago I could hardly ride a bike and now I feel like doing web > app wheelies! Excellent - nice work! > > Is there a quick/easy way to

Re: [appfuse-user] StartupListener fails - AppFuse Frankenstein version

2008-04-16 Thread Matt Raible
The listener order should be respected with Servlet 2.4. If it's not, you might try upgrading your version of Tomcat. Matt On Wed, Apr 16, 2008 at 12:50 AM, koevet <[EMAIL PROTECTED]> wrote: > > Yes, > that is the beginning of my web.xml file: > > > > http://java.sun.com/xml/ns/j2ee"; >

Re: [appfuse-user] BeanDefinitionStoreException: Unexpected exception parsing XML ... applicationContext-service.xml

2008-04-16 Thread Arash.R
The steps are listed on QuickStart and he does mention for modular project you should run "mvn jetty:run-war" from your web folder but I am using basic one and I have followed exact same steps mentioned in QuickStart over and over and always get the spring exception Thanks for follow up Arash

Re: [appfuse-user] BeanDefinitionStoreException: Unexpected exception parsing XML ... applicationContext-service.xml

2008-04-16 Thread Marc Siramy
Hi, I've been installed appfuse - struts basic archetype version - this afternoon on 2 differents machines (both on windows). On one, appfuse run fine, and on the other, I had an error which looks quite similar (failling loading Spring context). Both machines have JDK 6.0 and same maven version in

Re: [appfuse-user] StartupListener fails - AppFuse Frankenstein version

2008-04-16 Thread koevet
Hello Matt, I have found the problem. The "jsptaglib" task (part of webdoclet) generates the tld (taglibrary) file. Apparently this task also scan filesystem for classes implementing ServletContextListener and add a entry for each class found in the generated tld file. It seems that Tomcat gives

Re: [appfuse-user] StartupListener fails - AppFuse Frankenstein version

2008-04-16 Thread Matt Raible
In 2.0, we did this the old fashioned way and moved appfuse.tld into the WEB-INF directory and quit generating it. Matt On 4/16/08, koevet <[EMAIL PROTECTED]> wrote: > > Hello Matt, > > I have found the problem. The "jsptaglib" task (part of webdoclet) generates > the tld (taglibrary) file. Ap

Re: [appfuse-user] BeanDefinitionStoreException: Unexpected exception parsing XML ... applicationContext-service.xml

2008-04-16 Thread Bron
I had the same or similar issue moving an existing (working) project to a new machine. The problem was the brand new maven 2.0.9 I installed, not java 6. It was the only thing I could think that was different. Unfortunately I could not find a download link for 2.0.8, but by editing the one th

RE: [appfuse-user] acegi and jsf

2008-04-16 Thread Scott Ryan
Did you see this article which describes integration with the newest version of ACEGI? http://www.javaworld.com/javaworld/jw-04-2008/jw-04-acegi-jsf.html Scott D. Ryan President and CTO Soaring Eagle, L.L.C. 9742 S.Whitecliff Place Highlands Ranch, Co. 80129 (303) 263-3044 [EMAIL PROTECTED] --

[appfuse-user] Vote for Java runtime for Google App Engine

2008-04-16 Thread Van Riper
If you have not heard about the recent launch of Google App Engine, I blogged about it here with links to more information and video recorded at the official launch event on April 7th: http://weblogs.java.net/blog/van_riper/archive/2008/04/google_app_engi_1.html It is a free (up to a fair amount