[appfuse-user] UserDAOHibernate

2008-06-18 Thread suresh indukuri
I am getting the following error even after changing the struts version in pom.xml also. The method findAnnotation(Method, Class) in the type AnnotationUtils is not applicable for the arguments (Class, Class) timeEntry/src/main/java/com/oci/jnb/dao/hibernate UserDaoHibernate.javaline 85

[appfuse-user] AnnotationUtils

2008-06-18 Thread suresh indukuri
Hi i am getting the following error [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure D:\NewAppfuseProject\timeEntry\src\main\java\com\oci\jnb\dao\hibernate\UserDaoHi bernate.java:[85,37] findAnnotation(java.lang.ref

[appfuse-user] Rich Text Editor Error

2008-06-18 Thread StrutsUser
Hi, I am trying to use Dojo rich text editor as . I get the following error There is no Action mapped for namespace /struts/dojo/src/widget/templates and action name EditorOnline. - [unknown location] I am using Affuse and the default extension is HTML. I faced this problem earlier with datepicke

[appfuse-user] BeanCreationException

2008-06-18 Thread kace
Hi fellas, I have 2 dao modules: core and commerce where core is a dependency of the commercedao module. My tests in the coredao module run fine but I get the following error when trying to run tests in the commercedao module. The applicationContext-dao.core.xml file has the definitions for s

Re: [appfuse-user] AppFuse QuickStart problem

2008-06-18 Thread Michael Horwitz
In the previous piece of the log you should see Maven try and start up Tomcat - look for cargo. Any error messages on the start? Mike 2008/6/18 Kinski <[EMAIL PROTECTED]>: > > I have only got as far as creating the archetype for a Struts 2 basic > version > of Appfuse. Running the mvn command fr

Re: [appfuse-user] Quartz & Hibernate

2008-06-18 Thread ernasm
On Wed, Jun 18, 2008 at 3:11 PM, Michael Horwitz <[EMAIL PROTECTED]> wrote: > You will need to proxy all methods that you call through Quartz with the > Spring Hibernate interceptor - this will make sure that the method has a > Hibernate session open before it is called (http://tinyurl.com/6o7b9j).

Re: [appfuse-user] Appfuse:gen and related entities (with very simple association)

2008-06-18 Thread Nathan Anderson
Hello AdityaG, The reason the tutorials don't mention associations is that they are not currently supported in appfuse:gen. There are 2 trains of thought here. What it boils down to is no one has developed an appropriate generic view for parent/child object relationships for Matt or someone

Re: [appfuse-user] appfuse:gen-model anomaly...

2008-06-18 Thread stelios
finally I got it working with Hibernate tools. I had some configuration errors. Probably thats why appfuse:gen-model didn't work. POJOs are generated fine now;) stelios wrote: > > well apparently the problem is the joined columns. The tables that fail > are those which have relationships de

[appfuse-user] Appfuse:gen and related entities (with very simple association)

2008-06-18 Thread AdityaG`
Hi, I have been fighting this for the last 3 days now and it's getting very frustrating. It seems to be a non-issue for all the tutorials I read but I can't for the life of me get appfuse:gen to create controllers and tables for classes that point to another class. In my case I have the two class

Re: [appfuse-user] multi modules and hibernate.cfg.xml

2008-06-18 Thread kace
Adding the daomodule1 as a dependency in daomodule2's hibernate3-maven-plugin and also adding classpath:/src/main/resources/hibernate.cfg.xml picks up the hibernate.cfg.xml file in daomodule1 but I cant get it to pick up daomodule2's hibernate.cfg.xml file. Any ideas on how I can pick up both

Re: [appfuse-user] appfuse:gen-model anomaly...

2008-06-18 Thread stelios
well apparently the problem is the joined columns. The tables that fail are those which have relationships defined. Is there any known issue with that? stelios wrote: > > Hi, > > I've created a new Spring MVC Basic project. > Changed the DB in the pom.xml to an existing one > mvn compile,execu

[appfuse-user] AppFuse QuickStart problem

2008-06-18 Thread Kinski
I have only got as far as creating the archetype for a Struts 2 basic version of Appfuse. Running the mvn command from my newly created app directory produces the following error... [ERROR] BUILD ERROR [INFO] [INFO] [talledL

[appfuse-user] appfuse:gen-model anomaly...

2008-06-18 Thread stelios
Hi, I've created a new Spring MVC Basic project. Changed the DB in the pom.xml to an existing one mvn compile,executes ok mvn appfuse:gen-model fails with following error: 10:43:33,984 ERROR freemarker.runtime - Method public java.lang.String org.hibernate.tool.hbm2x.pojo.EntityPOJOClass.gen er

Re: [appfuse-user] AutoComplete in Jsp

2008-06-18 Thread jithesh
Hi stefan, Thanks for spending time on my thought. Its great for me to have a discusion with you.. regards, Jithesh stefpet wrote: > > Same thing there. It is all controlled by the browser, having a web > page delete your autocomplete usernames/passwords would be quite an > security

Re: [appfuse-user] Quartz & Hibernate

2008-06-18 Thread Michael Horwitz
You will need to proxy all methods that you call through Quartz with the Spring Hibernate interceptor - this will make sure that the method has a Hibernate session open before it is called (http://tinyurl.com/6o7b9j). The interceptor needs to be added in such a way that it fires before the Spring t

Re: [appfuse-user] Page Not Found, but only for WebTest

2008-06-18 Thread Stefan Pettersson
Thanks, unfortunately it didn't help me come and closer to a solution. The URLs pointing to the particular page are rewritten as they should with the context path in mind, and after all the correct controller is executed. May the Spring ViewResolver be affected somehow by this as well? The strange

Re: [appfuse-user] AutoComplete in Jsp

2008-06-18 Thread Stefan Pettersson
Same thing there. It is all controlled by the browser, having a web page delete your autocomplete usernames/passwords would be quite an security issue. Might be some API to hook into going down the ActiveX path, but that's overkill. Overall, I think the best would be to step back a little and con

Re: [appfuse-user] AutoComplete in Jsp

2008-06-18 Thread jithesh
Hi stefpet, Thanks for your thought. what is your opinion on its reverse side ? That is, is it possible to delete the autocomplete saved username and password through application (for eg while clicking the log off button).is there any alternatives regards, Jithesh. stefpet w

Re: [appfuse-user] AutoComplete in Jsp

2008-06-18 Thread jithesh
Hi Stefan, Thanks for your thought. what is your opinion on its reverse side ? That is, is it possible to delete the autocomplete saved username and password through application (for eg while clicking the log off button).is there any alternatives regards, Jithesh. stefpet wrote

Re: [appfuse-user] I try the newest appfuse 2.0.2, the steps is bellow:

2008-06-18 Thread luxas
I find the "Doh! " in the file D:/Study/m2/app/web/target/webtest-data/008_Signup/002_response_clickbutton.html It seems the problem is in the UserSQL.xml , It's for MySql database , not for Postgresql [ +/- ] Exception: --- The error occurred in sqlmaps/UserSQL.xml. --- The error occurred whi