Re: [appfuse-user] IllegalArgumentException: When not aligning with a user install...

2007-06-27 Thread Matt Raible
Does this happen if you remove your local repository (rm -r ~/.m2/repository)? Are you behind a proxy server (it doesn't look like it). Matt On 6/27/07, Adolfo <[EMAIL PROTECTED]> wrote: I'm using Win XP / JDK 1.5.0 / MySQL Same problem occurs when running full-source on a fresh project. ar

[appfuse-user] An article regarding spring's hibernate template

2007-06-27 Thread fadhli
Hi there, thought I'd share this with you guys. http://blog.interface21.com/main/2007/06/26/so-should-you-still-use-springs-hibernatetemplate-andor-jpatemplate/ With Spring2.0, you can directly use Hibernate Session API without using the Spring's hibernateTemplate. But what confuses me more is

Re: [appfuse-user] FCKEditor Integration with AppFuse 2

2007-06-27 Thread Matt Raible
If you add /editor/fckeditor/* to the includes parameter of the StaticFilter, it should fix this problem. Matt On 6/27/07, Lasantha Ranaweera <[EMAIL PROTECTED]> wrote: Hi, I have been trying FCKEditor to integrate in to AppFuse2 struts application and getting following error. Any help please.

Re: [appfuse-user] Spring Validation namespace issue

2007-06-27 Thread Matt Raible
I don't know where the following message is coming from: WARN [btpool0-2] ValidatorResources.getForm(448) | Form 'null' not found for locale 'en_US' We get it on AppFuse's forms as well, but everything works, so I've configured log4j.xml to ignore it. The only reason I can think validation isn'

[appfuse-user] Spring Validation namespace issue

2007-06-27 Thread David Whitehurst
I'm not getting any validation. Here's the snippet from from validation.xml I suspect formName is wrong, not sure. My command

[appfuse-user] FCKEditor Integration with AppFuse 2

2007-06-27 Thread Lasantha Ranaweera
Hi, I have been trying FCKEditor to integrate in to AppFuse2 struts application and getting following error. Any help please Lasantha There is no Action mapped for namespace /editor and action name fckeditor. - [unknown location] at com.opensymphony.xwork2.DefaultActionProxy.pre

Re: [appfuse-user] IllegalArgumentException: When not aligning with a user install...

2007-06-27 Thread Adolfo
I'm using Win XP / JDK 1.5.0 / MySQL Same problem occurs when running full-source on a fresh project. archetype:create and appfuse:full-source output follows: Microsoft Windows XP [versão 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. F:\temp>mvn archetype:create -DarchetypeGroupId=org.app

Re: [appfuse-user] IllegalArgumentException: When not aligning with a user install...

2007-06-27 Thread Matt Raible
Unfortunately, this error is new to me. Can you elaborate more on your environment (OS, JDK, etc)? If you create a new basic project and run "appfuse:full-source" on it, it should work. If it doesn't, it's possibly because you modified pom.xml or because of some environment issue. Of course, it c

[appfuse-user] IllegalArgumentException: When not aligning with a user install...

2007-06-27 Thread Adolfo
mraible wrote: > > You might try deleting your local AppFuse plugin (rm -r > ~/.m2/repository/org/codehaus/mojo/appfuse-maven-plugin). This was a > bug we fixed shortly after the release. > Matt > Hi there, Im developing a jsf basic appfuse project and and I'm getting the error below when ru

RE: [appfuse-user] AppFuse-like extension to Grails. .

2007-06-27 Thread Stine, Matt
Matt, That's kind of where my thought process is going - taking the subset of plugins that are needed and doing the upfront integration work once, the adding the AppFuse basic features and distributing it. It's not a terribly difficult set of tasks to complete, but it does take time to do it for e

Re: [appfuse-user] AppFuse-like extension to Grails

2007-06-27 Thread Matt Raible
I think all of this can be provided using Grails' plugin system, no? For example, here's a blog about replacing the default UI system with Ext. http://siegfried.puchbauer.com/blog/2007/06/grails-ext-userinterface.html After all the plugins exist, I believe it's just a matter of providing AppFuse

[appfuse-user] AppFuse-like extension to Grails

2007-06-27 Thread Stine, Matt
Hello, all. I have been doing quite a bit of work with Grails lately, and I have toyed with the idea of building an extension to Grails to provide a slightly more AppFuse-like experience, specifically by setting up a ready-to-go security infrastructure w/ Acegi, integrating the CSS framework, W

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

2007-06-27 Thread Fan
I know why...it's just because I have got the full source with this "mvn appfuse:full-source", the definition for the maven-warpath-plugin would not be there. If in this case, how am I going to have one to many relationship with the user pojo ??? Michael Horwitz wrote: > > I just checked the

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

2007-06-27 Thread Fan
I am really confused. first time I had created a new project, I noticed that the definition was not there. Then I deleted the project, created a new project again, to my surprise, the definition now appears in the pom.xml... The following is my command, what's the possibilit

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

2007-06-27 Thread Michael Horwitz
I just checked the archetype for AppFuse 2.0M5 Struts 2 Basic and the definition for the maven-warpath-plugin should definitely be there. Mike. On 6/27/07, Fan <[EMAIL PROTECTED]> wrote: I am using struts basic module. Strange enough, I cant find the definition in the pom.xml even from a new

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

2007-06-27 Thread Fan
I am using struts basic module. Strange enough, I cant find the definition in the pom.xml even from a new project I just have built Michael Horwitz wrote: > > For Struts it should look like: > > > org.appfuse > maven-warpath-plugin >

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

2007-06-27 Thread Michael Horwitz
For Struts it should look like: org.appfuse maven-warpath-plugin 1.0-m5 true add-classes

Re: [appfuse-user] Where is the action for "mainMenu"

2007-06-27 Thread mark.forster
Cheers, that worked a treat Michael Horwitz wrote: > > If you look in struts.xml (under src/main/resources) you will see that any > request to mainMenu.html is mapped directly to the JSP using the > ActionSupport class. Just look for the action called mainMenu. You will > need > to change the

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

2007-06-27 Thread Fan
Could you please show me the original definition for the warpath plugin in pom.xml ? Michael Horwitz wrote: > > Have you removed the definition for the warpath plugin in your pom.xml? > Looks like it is no longer being resolved. > > Mike. > > On 6/27/07, Fan <[EMAIL PROTECTED]> wrote: >> >>

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

2007-06-27 Thread Michael Horwitz
Have you removed the definition for the warpath plugin in your pom.xml? Looks like it is no longer being resolved. Mike. On 6/27/07, Fan <[EMAIL PROTECTED]> wrote: after I have added the exclusion, I have the following error, where can I download the missing files ? D:\source\clubber>mvn cle

AW: [appfuse-user] AW: missing required library

2007-06-27 Thread Tobias Vogel
Have a look at the following page: http://maven.apache.org/plugins/maven-eclipse-plugin/plugin-info.html Basically, teh first one deletes your eclipse .project and .classpath file, the second one recreates them using the current dependencies of your project. Kind regards, Tobias -Ursprüngl

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

2007-06-27 Thread Fan
after I have added the exclusion, I have the following error, where can I download the missing files ? D:\source\clubber>mvn clean compile hibernate3:hbm2ddl [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'hibernate3'. [INFO] -

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

2007-06-27 Thread Matt Raible
If you're not using a web framework, you should probably not use lazy initialization. You can use Hibernate.initialize() on your POJO to initialize all it's children. Either that, or change or FetchType to EAGER. Matt On 6/27/07, MarcelR <[EMAIL PROTECTED]> wrote: I try to use the Appfuse 2m5

Re: [appfuse-user] Where is the action for "mainMenu"

2007-06-27 Thread Michael Horwitz
If you look in struts.xml (under src/main/resources) you will see that any request to mainMenu.html is mapped directly to the JSP using the ActionSupport class. Just look for the action called mainMenu. You will need to change the action mapping to use your action. Mike. On 6/27/07, mark.forste

Re: [appfuse-user] AW: missing required library

2007-06-27 Thread Fan
Hey Vogel: Thanks a lot, it really works !!! By the way, what does "mvn eclipse:clean eclipse:eclipse" do ?? If I want to trace the procedure of this command, where & how could I start with ? Tobias Vogel wrote: > > Are the error messages from eclipse? > Then run: > mvn eclipse:clean ec

Re: [appfuse-user] Where is the action for "mainMenu"

2007-06-27 Thread mark.forster
Very latest appfuse and struts2 Michael Horwitz wrote: > > Which version of AppFuse are you using, and which web framework? > > Mike. > > > On 6/27/07, mark.forster <[EMAIL PROTECTED]> wrote: >> >> >> I want to add functionlity as follows >> >> I am adding a dashboard to the main menu scree

Re: [appfuse-user] Where is the action for "mainMenu"

2007-06-27 Thread Michael Horwitz
Which version of AppFuse are you using, and which web framework? Mike. On 6/27/07, mark.forster <[EMAIL PROTECTED]> wrote: I want to add functionlity as follows I am adding a dashboard to the main menu screen and want to either circumvent the mainMenu screen all together and send default re

[appfuse-user] Where is the action for "mainMenu"

2007-06-27 Thread mark.forster
I want to add functionlity as follows I am adding a dashboard to the main menu screen and want to either circumvent the mainMenu screen all together and send default requests to my own action/jsp or modify the action for the mainMenu request to add my own setter/getter methods. Question 1. Wher

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

2007-06-27 Thread MarcelR
I try to use the Appfuse 2m5 core with a Swing UI instead of a web interface. For this generated a core app. (quick start) with a jpa-hibernate as ORM. I created a few testcases to test e.g. get(id) and getAll for the userDao. This works without any problems. Then when I use a Swing databinding

[appfuse-user] Appfuse 2 with Jasper reports starting pointer

2007-06-27 Thread Travers Snyman
Hi all, I need a starting pointer to use Jasper reports with Appfuse 2. I intend using the Spring mvc framework as I read Jasper report support is allready included. How is this done ? Are the jasper libs downloaded as dependancies when creating the spring mvc project with maven? If anyobody has d

AW: [appfuse-user] Using Hibernate Tools w/ appfuse

2007-06-27 Thread Tobias Vogel
Hi Daniel, You have to add the following entries to the classpath of the configuration: $M2_REPO/mysql/mysql-connector-java/5.0.5/mysql-connector-java-5.0.5.jar $M2_REPO/org/acegisecurity/acegi-security/1.0.3/acegi-security-1.0.3.jar $M2_REPO/org/apache/commons/commons-lang/2.3/commons-lang-2.3.ja