[appfuse-user] RE: Questions for 2.x: Archetypes and UI Testing

2007-03-12 Thread Struts2 Fan
For UI Testing I think Apache JMeter is cool and it is well supported. I just looked at the selenium. It seems nice too but I always prefer Apache projects. -- View this message in context: http://www.nabble.com/Questions-for-2.x%3A-Archetypes-and-UI-Testing-tf3364157s2369.html#a9432984 Sent fro

[appfuse-user] Problems with archetype:create & integration-test

2007-03-15 Thread Struts2 Fan
Hi all, When I run the struts2 basic command as it is said in the quick start guide it gives the following warnings. It is much more than that but they are almost the same so paste here a little piece. -- the mvn command I used mvn archetype:create -DarchetypeGroupId=org.appfuse -Darche

[appfuse-user] How to set a DateTime field in sample-data.xml

2007-04-01 Thread Struts2 Fan
Hi all, I wonder how can I set a datetime value with sample-data.xml. Thanks in advance. -- View this message in context: http://www.nabble.com/How-to-set-a-DateTime-field-in-sample-data.xml-tf3500766s2369.html#a9776781 Sent from the AppFuse - User mailing list archive at Nabble.com.

Re: [appfuse-user] Many-to-Many Users/Roles

2007-04-05 Thread Struts2 Fan
Hi there, It is many-to-many relationship so the reverse version of the Person.getRoles annotation will help you I guess. private List users; @ManyToMany(fetch = FetchType.EAGER) @JoinTable( name = "user_role", joinColumns = [EMAIL PROTECTED](name = "role_id")},

[appfuse-user] How to reach the personManager in DWR's Demo class

2007-04-08 Thread Struts2 Fan
Hi all, I wonder what is the best way to call personManager.findByLastName(String) method in the class file used to dynamically update html using dwr? In other words what should I add to applicationContext.xml and how to define the personManager in Demo class. I am new to springframework so it w

[appfuse-user] What is the best way to modify UserManager

2007-04-16 Thread Struts2 Fan
Hi all, I created a new project, and put a table which has a one2many relationship between org.appfuse.model.User class. User has a list of this new class. I got the source from svn (using tutorial "Appfuse Core Classes"). I need to modify the UserManager and UserDao to write new methods. I also

Re: [appfuse-user] What is the best way to modify UserManager

2007-04-16 Thread Struts2 Fan
dding, but not before 2.0 is released. > > Another thing you could do is to checkout AppFuse from SVN, make the > changes in the core and then install it in your local repository. If > you change the groupId from org.appfuse to com.yourcompany, you > shouldn't have to worry ab

[appfuse-user] How To Change field charsets automaticly

2007-04-17 Thread Struts2 Fan
Hi all, I am using 2.0m4 and making a project. You know the database is generated and I want to change the characterEncoding. It creates the database with latin5 character encoding but it doesn't make the column charsets latin5 and also the table charsets. What would I do to make this create the

[appfuse-user] How To Get All Users in an Action

2007-04-22 Thread Struts2 Fan
Hi All, I have a problem. I created the PersonAction as shown in the tutorials and in this PersonAction I want to use the userManager which defined in the BaseAction. And the userManager is null. What am I supposed to define to make it not null? userManager.get(User.class,"1"); doesn't work. It

Re: [appfuse-user] How To Get All Users in an Action

2007-04-22 Thread Struts2 Fan
>> > class="org.appfuse.tutorial.webapp.action.PersonAction" >> scope="prototype"> >> >> I added this to the ApplicationContext-struts.xml already but still it gets null. Do I put it ApplicationContext.xml? I know that we define Struts2-Actions in the ApplicationContext-struts.xml Thank

[appfuse-user] RequiredString message in struts2

2007-04-23 Thread Struts2 Fan
Hi all, I use locale=tr and I had a strange problem when I run the example Person in the tutorials It puts a message between the required field message and I couldn't find what puts it in there. The bundle in the ApplicationResources_tr.xml errors.required={0} gerekli bir alan. The name of th

Re: [appfuse-user] RequiredString message in struts2

2007-04-23 Thread Struts2 Fan
Thanks Matt. Yes it is there but it is defined as errors.required=${getText(fieldName)} alan\u00c4\u00b1 doldurulmas\u00c4\u00b1 gerekli bir alan. But it doesn't seem correct. Why can it be? Kategori Adı alanı doldurulması gerekli bir alan. it seems but it must seem Kategori Adı alanı doldur

Re: [appfuse-user] RequiredString message in struts2

2007-04-23 Thread Struts2 Fan
errors.twofields="şifrenizi Onaylayın" alanı "şifre" alanı ile aynı > değerde olmak zorunda. > > Matt > > On 4/23/07, Struts2 Fan <[EMAIL PROTECTED]> wrote: >> >> Thanks Matt. >> Yes it is there but it is defined as >> >> error

Re: [appfuse-user] RequiredString message in struts2

2007-04-23 Thread Struts2 Fan
:) You are right but I have a problem with Turkish characters :) When I change the errors_tr.properties in the target/.../WEB-INF/classes as you said the message seems wrong again. It doesn't show the "ı" character correct. For this in appfuse it is written with unicode. The bundles in target/..

[appfuse-user] [S2] How to make type Conversion

2007-04-26 Thread Struts2 Fan
Hi all, I wonder if any of you used the Type conversion as explained here http://struts.apache.org/2.x/docs/type-conversion.html I am trying to dynamically fill a table. I have a bean Person and Person has "List". What did I do is step by step. 1 - I defined "List houseList" in the PersonA

[appfuse-user] Which plugin creates the Database reading the POJOs

2007-04-26 Thread Struts2 Fan
Hi all, I sent here a message to learn how to set the database characterEncoding to latin5. But no answer were posted. So I will try to look somewhere else. :) Can anyone show me a way where do I start searching? For Example which plugin makes this creation. Thanks in advance. -- View this mes

[appfuse-user] How to change struts version to 2.1.0-SNAPSHOT

2007-05-11 Thread Struts2 Fan
Hi all, I just couldn't find how to change the struts-2.0.6 version to 2.1.0-SNAPSHOT. I know it is not stable but I want to test its ajax support. Thanks in advance. -- View this message in context: http://www.nabble.com/How-to-change-struts-version-to-2.1.0-SNAPSHOT-tf3725933s2369.html#a104

Re: [appfuse-user] How to change struts version to 2.1.0-SNAPSHOT

2007-05-11 Thread Struts2 Fan
it couldn't find the interceptor defined "servlet-config" it is struts related or appfuse related? - Caused by: Unable to find interceptor class referenced by ref-name servlet-config - interceptor-ref - file:/D:/Projects/test/target/test-1.2-SNAPSHOT/WEB-INF/classes/struts

Re: [appfuse-user] How to change struts version to 2.1.0-SNAPSHOT

2007-05-11 Thread Struts2 Fan
> > org.springframework > spring-web > > > > > > Mike > > On 5/11/07, Struts2 Fan <[EMAIL PROTECTED]> wrote: >> >> >> Hi all, >

Re: [appfuse-user] How to change struts version to 2.1.0-SNAPSHOT

2007-05-13 Thread Struts2 Fan
Thanks Matt, They made all the names of interceptors camel type. But when I changed that there were more errors when I run the application, so until they release 2.1.0 GA release, I don't use it in my project. I will test them in their struts-showcase project. -- View this message in context:

[appfuse-user] [Appfuse2][S2]Anyone who used s:tabbedPanel?

2007-06-13 Thread Struts2 Fan
Hi all, I couldn't make the s:tabbedPanel work in appfuse 2.0-M5. I copied a simple jsp file from the showcase application in the struts-core, but it is not working in my appfuse project. It gives the following javascript error. djConfig.baseScriptUri has no properties getBaseScriptUri()dojo.js

Re: [appfuse-user] [Appfuse2][S2]Anyone who used s:tabbedPanel?

2007-06-13 Thread Struts2 Fan
e barely using any of its features. > > Matt > > On 6/13/07, Struts2 Fan <[EMAIL PROTECTED]> wrote: >> >> Hi all, >> >> I couldn't make the s:tabbedPanel work in appfuse 2.0-M5. I copied a >> simple >> jsp file from the showcase

[appfuse-user] How to make hibernate3 Plugin to make Relationships cascade delete

2007-07-03 Thread Struts2 Fan
Hi Appfuse Users, I am using Appfuse 2.0-M5, Struts2, mysql and Hibernate. In my project I have a one-to-many relationship. Here is the sample code public class School extends BaseObject{ // @OneToMany(cascade = CascadeType.ALL, mappedBy = ("school")) public Set getStudents(

Re: [appfuse-user] AppFuse 2.0 code complete

2007-09-16 Thread Struts2 Fan
Nice work Matt, A problem I met http://static.appfuse.org/repository/org/appfuse/maven-warpath-plugin/2.0-SNAPSHOT/maven-warpath-plugin-2.0-SNAPSHOT.pom doesn't exist -- View this message in context: http://www.nabble.com/AppFuse-2.0-code-complete-tf4462199s2369.html#a12724955 Sent from the

Re: [appfuse-user] AppFuse 2.0 code complete

2007-09-16 Thread Struts2 Fan
Another problem I created a new project. Downloading: http://static.appfuse.org/repository/org/appfuse/appfuse-hibernate/ 2.0-SNAPSHOT/appfuse-hibernate-2.0-20070916.190810-88.pom [INFO] [ERROR] BUILD ERROR [INFO] --

Re: [appfuse-user] AppFuse 2.0 code complete

2007-09-16 Thread Struts2 Fan
It is ok now. I am moving forward. I'll inform you. mraible wrote: > > Can you try it again? > > On 9/16/07, Struts2 Fan <[EMAIL PROTECTED]> wrote: >> >> Another problem >> I created a new project. >> >> Downloading: >> http://

Re: [appfuse-user] AppFuse 2.0 code complete

2007-09-16 Thread Struts2 Fan
I didn't run "appfuse:full-source" Just created a new 2.0-SNAPSHOT and run mvn jetty:run [ERROR] FATAL ERROR [INFO] [INFO] Unable to load class declared as in the configuration: [INFO] -

Re: [appfuse-user] AppFuse 2.0 code complete

2007-09-16 Thread Struts2 Fan
It passed after 3. try. Another one. I am using struts-basic. [INFO] Starting jetty 6.1.5 ... 2007-09-16 23:18:13.067::INFO: jetty-6.1.5 2007-09-16 23:18:13.661::INFO: No Transaction manager found - if your webapp re quires one, please configure one. 2007-09-16 23:18:14.676:/:INFO: Initializi

Re: [appfuse-user] AppFuse 2.0 code complete

2007-09-16 Thread Struts2 Fan
mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-struts -DremoteRepositories=http://static.appfuse.org/repository -DarchetypeVersion=2.0-SNAPSHOT -DgroupId=com.mycompany.app -DartifactId=myproject mvn jetty:run-war or mvn jetty:run-exploded both

[appfuse-user] Logging Entity Activity Approach

2007-09-26 Thread Struts2 Fan
Hi all, I want to add a logging entity activities mechanizm to an application. Let's think about a bean and its log table. class Person{ Long id; String name; Date birthDate; } class Person_Log{ Long id; Long personId; String name; String birthDate; Integer activityType;

[appfuse-user] [Appfuse2.0] Best Practise Design Pattern for Multiple Dao Access from managers

2007-12-02 Thread Struts2 Fan
Hi Matt and All, I just wonder, how do you handle accessing two dao's from managers. Let me try to explain what I mean on an example. Two beans, two DAOs, two Managers I have named "GAME" and "MOVE". The relationship between them is "GAME has zero or more MOVEs" Here I want to write such a meth

Re: [appfuse-user] [Appfuse2.0] Best Practise Design Pattern for Multiple Dao Access from managers

2007-12-16 Thread Struts2 Fan
Hi all again, I want to reask the question in a different way. What I want to do is to define another dao in the manager class. What are the steps to define it in the manager and test classes? Thanks fo replies. -- View this message in context: http://www.nabble.com/-Appfuse2.0--Best-Practise

Re: [appfuse-user] [Appfuse2.0] Best Practise Design Pattern for Multiple Dao Access from managers

2007-12-17 Thread Struts2 Fan
Thanks for the reply, I did the same steps as you explained. I get this error, when I test the GameManagerImplTest. public class GameManagerImpl extends GameManager{ public Game autoPlay() { //. Move move = moveDao.getBestMove(); //. } } public class

Re: [appfuse-user] [Appfuse2.0] Best Practise Design Pattern for Multiple Dao Access from managers

2007-12-17 Thread Struts2 Fan
I have no expectation for the moveDao, must I define an expectation for each Dao I have used in methods? -- View this message in context: http://www.nabble.com/-Appfuse2.0--Best-Practise-Design-Pattern-for-Multiple-Dao-Access-from-managers-tp14116309s2369p14370264.html Sent from the AppFuse -

Re: [appfuse-user] [Appfuse2.0] Best Practise Design Pattern for Multiple Dao Access from managers

2007-12-18 Thread Struts2 Fan
mply add something like >> >> Game game = new Game(); >> EasyMock.expect(gameDAO.getGame(1L)).andReturn(game); >> >> to replay the Mock, use EasyMock.replay(gameDAO); >> >> In order to verify a mock, call EasyMock.verify(gameDAO); >> >&g

[appfuse-user] Will there be a appfuseGenerator for appfuse2.0?

2007-02-07 Thread Struts2 Fan
Hi all, I just wonder. Will there be a codeGeneration tool for generating a project after the database design is finished. (Maybe reading the mysql and generating the rest pages) -- View this message in context: http://www.nabble.com/Will-there-be-a-appfuseGenerator-for-appfuse2.0--tf3188700s2

Re: [appfuse-user] Will there be a appfuseGenerator for appfuse2.0?

2007-02-07 Thread Struts2 Fan
Thansk for quick reply. I searched for appfuse-maven-plugin and found a page http://mojo.codehaus.org/appfuse-maven-plugin/ It says it is moved to appfuse.org, but unfortunately I cannot find any information regarding this plug-in. Is it there or not put yet due to incomplete state of the plug-i

[appfuse-user] mvn org.appfuse:appfuse-maven-plugin:dbtoxml doesn't work

2007-02-07 Thread Struts2 Fan
I got the following error when i tried to use the appfuse-maven-plugin. I will put it no the jira but i could not find a suitable component for maven plugin. I didn't want to put it on tools - apgen and no component categories. mvn org.appfuse:appfuse-maven-plugin:dbtoxml [INFO] Scanning for proj

[appfuse-user] mvn integration-test error \helloworld\src\test\resources\web-tests.xml:145: Canoo Webtest: R_1454

2007-02-08 Thread Struts2 Fan
Hi all, I create the project by the command mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=appfuse-basic-spring -DremoteRepositories=http://static.appfuse.org/repository -DarchetypeVersion=1.0-m3 -DgroupId=com.mycompany -DartifactId=helloworld After that when i run the

Re: [appfuse-user] mvn integration-test error \helloworld\src\test\resources\web-tests.xml:145: Canoo Webtest: R_1454

2007-02-08 Thread Struts2 Fan
locale => tr It might be the problem. -- View this message in context: http://www.nabble.com/mvn-integration-test-error-%5Chelloworld%5Csrc%5Ctest%5Cresources%5Cweb-tests.xml%3A145%3A-Canoo-Webtest%3A-R_1454-tf3193304s2369.html#a8870714 Sent from the AppFuse - User mailing list archive at Nabble

Re: [appfuse-user] mvn integration-test error \helloworld\src\test\resources\web-tests.xml:145: Canoo Webtest: R_1454

2007-02-08 Thread Struts2 Fan
I created the project with this command as it is said in the quick start guide. mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=appfuse-basic-struts -DremoteRepositories=http://static.appfuse.org/repository -DarchetypeVersion=1.0-m3 -DgroupId=com.mycompany -DartifactId=m

Re: [appfuse-user] mvn integration-test error \helloworld\src\test\resources\web-tests.xml:145: Canoo Webtest: R_1454

2007-02-08 Thread Struts2 Fan
I uploaded a "swf" file showing the command window in a demo. Maybe it would help you understand the error. Or show me a way where to start looking at the mistake :) http://rapidshare.com/files/15625125/app2error.rar -- View this message in context: http://www.nabble.com/mvn-integration-test-

Re: [appfuse-user] mvn integration-test error \helloworld\src\test\resources\web-tests.xml:145: Canoo Webtest: R_1454

2007-02-08 Thread Struts2 Fan
http://rapidshare.com/files/15626636/app2error2.rar I uploaded the mvn jetty:run-war command window demo. I have nothing working on port 8080. (I am using this port for tomcat but it is currently not working for sure) -- View this message in context: http://www.nabble.com/mvn-integration-test-e

Re: [appfuse-user] mvn integration-test error \helloworld\src\test\resources\web-tests.xml:145: Canoo Webtest: R_1454

2007-02-08 Thread Struts2 Fan
I get this error with struts2.However I tried JSF, it works just fine. -- View this message in context: http://www.nabble.com/mvn-integration-test-error-%5Chelloworld%5Csrc%5Ctest%5Cresources%5Cweb-tests.xml%3A145%3A-Canoo-Webtest%3A-R_1454-tf3193304s2369.html#a8881618 Sent from the AppFuse - Us

[appfuse-user] Including Apache Cayenne in Appfuse

2007-02-09 Thread Struts2 Fan
Hi, I just think that extending the coverage of appfuse with apache Cayenne would be nice. http://cayenne.apache.org/ And I will work on this because I really like cayenne structure. -- View this message in context: http://www.nabble.com/Including-Apache-Cayenne-in-Appfuse-tf3199659s2369.html

[appfuse-user] Something must be wrong with the tutorials, Or I am doing sth wrong.

2007-02-09 Thread Struts2 Fan
Hi All, I checked out the appfuse-demos from code.google.com. And I'm trying to see the BUILD SUCCESSFUL message in any of the types(struts2,tapestry,jsf) but I could not manage. It gives the error. I tried it with two different computers and the same errors occur. [INFO] Executing tasks [m

Re: [appfuse-user] Something must be wrong with the tutorials, Or I am doing sth wrong.

2007-02-11 Thread Struts2 Fan
Thanks I try to help to you and myself :). When I run the command "mvn jetty:run-war" the login page works with no js errors. But there are problems with Turkish (the characters don't seem right.) appfuse-demos/tutorial-struts2 error when I run mvn integration-test

[appfuse-user] Javascript gives error in all appfuse-demos projects in the google-code trunk

2007-02-22 Thread Struts2 Fan
it gives the error when calling mvn integration-test My language is tr Signup: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error executing ant tasks Emb

Re: [appfuse-user] Javascript gives error in all appfuse-demos projects in the google-code trunk

2007-02-22 Thread Struts2 Fan
Yes it was me :) I just wanted to remind the mistake. I was testing it on two machines and they both fail. Next week I will install linux I hope it works. Maybe I should let you use my computer by a third party program to see the mistake because I really don't know where to look. -- View this me