Re: [appfuse-user] errors when import m3 to eclipse

2007-02-08 Thread galen
archetype i used is basic-struts, the errrors is following: No start tag (). myproject/target/tomcat5x/container/server/webapps/manager html-manager-howto.html 第 21 行 1170924580912 72326 . Referenced file contains errors (http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd). F

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

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 Matt Raible
Do you have something else running on 8080? Does your app startup if you run: mvn jetty:run-war Can you browse it at http://localhost:8080 after running this command? You also might try deleting cargo/installs from your Temp directory (usually set in system properties). Matt On 2/9/07, Strut

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] HTML export option : Displaytag

2007-02-08 Thread Matt Raible
You could probably exclude SiteMesh when a certain parameter is passed in and that would allow you to just show the raw HTML table. Here's how: In sitemesh.xml, add a ParameterDecoratorMapper: In decorators

Re: [appfuse-user] HTML export option : Displaytag

2007-02-08 Thread Alvin Capil
hi matt, how can i create an export to HTML report ??? thanks ! good day ! =) - Original Message - From: Matt Raible To: users@appfuse.dev.java.net Sent: Wednesday, February 07, 2007 2:03 PM Subject: Re: [appfuse-user] HTML export option : Displaytag There is not "export

Re: [appfuse-user] mvn error during first build (java.lang.ClassCastException: java.io.File )

2007-02-08 Thread Matt Raible
Can you attach your pom.xml, or just paste in the section? Thanks, Matt On 2/8/07, PeteTh <[EMAIL PROTECTED]> wrote: Hi there, after create archetype using appfuse-basic-spring , mvn integration-test is giving an error during the resources:testResources phase :- Any ideas ? [DEBUG] C

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

2007-02-08 Thread Matt Raible
This could very well be a bug - but if I can't reproduce it, I can't fix it. ;-) Matt On 2/8/07, Struts2 Fan <[EMAIL PROTECTED]> wrote: I created the project with this command as it is said in the quick start guide. mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=ap

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] Call default JSF managed bean method

2007-02-08 Thread Mark Dopheide
Hi Matt, I don't see the jar there either at the moment. It was in jsfExt-source.zip containing only one class file, which I've pasted below to give you an idea of how it works. Mark /* * Copyright 2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the

[appfuse-user] mvn error during first build (java.lang.ClassCastException: java.io.File )

2007-02-08 Thread PeteTh
Hi there, after create archetype using appfuse-basic-spring , mvn integration-test is giving an error during the resources:testResources phase :- Any ideas ? [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-resources-plugin:2.1:testResources' --> [DEBUG] (f) filters = []

Re: [appfuse-user] Error creating bean with name 'sessionFactory"

2007-02-08 Thread viggo
Sure, what mailaddress do you want me to send it to? As for the log4j.xml, I've created a jira issue: APF-633 Matt Raible-3 wrote: > > If you want to zip up and send me your project, I can try to fix #1. The > solution I provided seems like it should work. > > Matt > > On 2/8/07, viggo <[E

Re: [appfuse-user] Error creating bean with name 'sessionFactory"

2007-02-08 Thread Matt Raible
If you want to zip up and send me your project, I can try to fix #1. The solution I provided seems like it should work. Matt On 2/8/07, viggo <[EMAIL PROTECTED]> wrote: 1. I copied applicationContext-resources.xml to the core/src/test/resources, but it didn't work either. 2. I copied log4j.

Re: [appfuse-user] Error creating bean with name 'sessionFactory"

2007-02-08 Thread viggo
1. I copied applicationContext-resources.xml to the core/src/test/resources, but it didn't work either. 2. I copied log4j.xml from the web module to the core module, and the warning is gone :) So, it seems we have an issue with modular projects. ClassNotFoundException..hmm..classpath/classloader

Re: [appfuse-user] Error creating bean with name 'sessionFactory"

2007-02-08 Thread Matt Raible
Looks like you've found an issue with how modular projects are setup. Unfortunately, I did all the tutorials using the "basic" archetype, so I haven't found all the issues you might encounter. Try putting the attached file in core/src/test/resources: If that works, please enter an issue in JIRA a

Re: [appfuse-user] Error creating bean with name 'sessionFactory"

2007-02-08 Thread viggo
I have a modular spring project, so I guess that the applicationContext-resources.xml must be put into core/src/main/resources? I tried it, and ended up with this error: Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.782 sec <<< FAILURE! testFindPersonByLastName(com.xpoints.dao.

Re: [appfuse-user] Error creating bean with name 'sessionFactory"

2007-02-08 Thread viggo
Yes, I have upgraded from M2 to M3. I will try your "fix" in a second, and give feedback:) Matt Raible-3 wrote: > > On 2/8/07, viggo <[EMAIL PROTECTED]> wrote: >> >> Hi, >> I've tried to get through the Persistence chapter in the tutorial >> section. > I >> have added a Person model object whic

Re: [appfuse-user] Error creating bean with name 'sessionFactory"

2007-02-08 Thread Matt Raible
On 2/8/07, viggo <[EMAIL PROTECTED]> wrote: Hi, I've tried to get through the Persistence chapter in the tutorial section. I have added a Person model object which extends org.appfuse.modelUser. Besides that, I have followed the instructions in the Persistence and Hibernate chapter. When runni

[appfuse-user] Error creating bean with name 'sessionFactory"

2007-02-08 Thread viggo
Hi, I've tried to get through the Persistence chapter in the tutorial section. I have added a Person model object which extends org.appfuse.modelUser. Besides that, I have followed the instructions in the Persistence and Hibernate chapter. When running mvn test -Dtest=PersonDaoTest I get the fol

Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-08 Thread hiugong.gwok
This infamous BOM bug had been there since 2001, and will not be fix. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4508058 -- View this message in context: http://www.nabble.com/ApplicationResources_zh.properties-vs.-ApplicationResources_zh_CN.properties-tf3189261s2369.html#a8872759 Sent f

Re: [appfuse-user] tapestry-modular moving from m2 to m3

2007-02-08 Thread Matt Raible
This observation is correct - I'll add it to the Release Notes. In addition, you'll want to make sure you add your page classes to tapestry.application and change the package name in there as well: Matt On 2/8/07, Sib <[EMAIL PROTECTED]> wrote: Hi All, A quick note moving from m2

[appfuse-user] tapestry-modular moving from m2 to m3

2007-02-08 Thread Sib
Hi All, A quick note moving from m2 to m3 with tapestry-modular had a few issues in an sample application created from m2. It seems the BasePage and related classes moved packages from org.appfuse.webapp.action to org.appfuse.webapp.pages in case someone runs into a similar issue. You will get e

Re: [appfuse-user] help basic beginners error

2007-02-08 Thread Matt Raible
That's strange it's ignoring it. Are you behind a proxy server or anything like that? If so, you might have to do some additional configuration: http://maven.apache.org/guides/mini/guide-proxies.html Matt On 2/8/07, PeteTh <[EMAIL PROTECTED]> wrote: Hi there, I'm trying the quick start guide

Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-08 Thread hiugong.gwok
Matt Raible-3 wrote: > > How? I used Notepad++ to change them to UTF-8. > > Matt > I use notepad2 to do this (http://www.flos-freeware.ch/notepad2.html). Select File/Encoding/UTF-8 from the menu and then save. But I realize some editor might not be able to recognize UTF-8 without such sig

RE: [appfuse-user] Equinox 1.7 Post

2007-02-08 Thread Scott Purcell
Thank you Matt, I ended up using the static.appfuse.org/repository and 2.0.1 from that repository. All works great. Tests all ran flawlessly. Thank you very much for taking time out. If you need me to document this somewhere, please let me know. Sincerely Scott -Original Message- Fr

[appfuse-user] help basic beginners error

2007-02-08 Thread PeteTh
Hi there, I'm trying the quick start guide (I was keen to see how AppFuse uses Cargo etc), but when I try :- mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=appfuse-basic-spring -DremoteRepositories=http://static.appfuse.org/repository -DarchetypeVersion=1.0-m3 -DgroupI

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

2007-02-08 Thread Matt Raible
I tried it with -Duser.language=tr and it worked for me as well. Are you using m3 or m4-SNAPSHOT? [INFO] Executing tasks [delete] Deleting: C:\Source\helloworld\target\webtest-data\web-tests-result.xml [echo] Testing 'helloworld-1.0-SNAPSHOT' with locale 'tr' Login: log4j:WARN No appender

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] Equinox 1.7 Post

2007-02-08 Thread Matt Raible
You could try changing your Struts version to 2.0.5 and your repo to the one that supports it (see attached pom.xml). Unfortunately, I tried this and wasn't able to get things to work. It barfs on messages.jsp for some reason: <%-- ActionError Messages - usually set in Actions --%> <%-- Field

Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-08 Thread Matt Raible
On 2/8/07, hiugong.gwok <[EMAIL PROTECTED]> wrote: One more encoding problem. Currently "zh" and "zh_CN" are using UTF-8 with Signature, that signature will cause native2ascii to generate an extra "\ufeff" at the beginning. Therefore cause the system can't match the first key (user.status). Chan

Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-08 Thread hiugong.gwok
One more encoding problem. Currently "zh" and "zh_CN" are using UTF-8 with Signature, that signature will cause native2ascii to generate an extra "\ufeff" at the beginning. Therefore cause the system can't match the first key (user.status). Change to UTF-8 without Signature will fix this. -- Vie

Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-08 Thread hiugong.gwok
Matt Raible-3 wrote: > > Is JDK 6 working for you? I'd love to use it, but Maven seems to have > some issues with multi-module projects and JDK 6. > > http://jira.codehaus.org/browse/MNG-2709 > I don't know if I have the same problem, but when an appfuse update happened (daily:)), I have to

Re: [appfuse-user] SMTP Authentication with Struts 2 App

2007-02-08 Thread Matt Raible
On 2/8/07, paulie <[EMAIL PROTECTED]> wrote: I am using AppFuse 2. Added the mailSender bean id to the applicationContext-resources.xml and uncommented the authentication piece. Ran a mvn clean, then reran the mvn integration-test and got the same 'authentication required' message. Any ideas?

Re: [appfuse-user] Equinox 1.7 Post

2007-02-08 Thread Matt Raible
I'll work on fixing this right now. Matt On 2/8/07, Scott Purcell <[EMAIL PROTECTED]> wrote: OS: Win XP. Downloaded equinox-struts2-hibernate-1.7.zip. Ran ant test (per readme) and it began downloading artifacts. But I received an error just into it stating the following: [code] B

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

2007-02-08 Thread Matt Raible
I tried running the same commands and it worked fine for me: [INFO] Executing tasks [mkdir] Created dir: C:\Source\helloworld\target\webtest-data [echo] Testing 'helloworld-1.0-SNAPSHOT' with locale 'en' Login: log4j:WARN No appenders could be found for logger (com.canoo.webtest.ant.TestS

Re: [appfuse-user] ApplicationResources_pt.properties vs. ApplicationResources_pt_BR.properties

2007-02-08 Thread Matt Raible
OK - thanks. I'll leave both in place for now - if someone wants to create a different version of "pt", we'll add it when they do. There's no harm in keeping both pt and pt_BR as far as I see it - as long as we know they're the same (for now). Matt On 2/8/07, Gilberto C Andrade <[EMAIL PROTECTE

Re: [appfuse-user] Display Set information in the Form page

2007-02-08 Thread Simon Wu
On 2/8/07, Matt Raible <[EMAIL PROTECTED]> wrote: You should be able to nest in a displaytag column. However, I don't know if I'd advise doing this. If you're using a request-based framework, you're not going to want a nested/editable table in a form that folks can sort and page through. You'

Re: [appfuse-user] Treeview Display Information

2007-02-08 Thread Simon Wu
On 2/8/07, Scott Purcell <[EMAIL PROTECTED]> wrote: Upon some preliminary investigation, I found some "treeview dhtml" source code here: http://rollerjm.free.fr/pro/Treeview/Treeview.html#1, but upon other searches, I came across a Struts tag called Treeview also. I just need a simple solutio

Re: [appfuse-user] Display Set information in the Form page

2007-02-08 Thread Matt Raible
You should be able to nest in a displaytag column. However, I don't know if I'd advise doing this. If you're using a request-based framework, you're not going to want a nested/editable table in a form that folks can sort and page through. You'll probably be better of with c:forEach. With Strut

Re: [appfuse-user] Display Set information in the Form page

2007-02-08 Thread Simon Wu
On 2/7/07, Matt Raible <[EMAIL PROTECTED]> wrote: If you're using Struts 1.x, you can't use Sets AFAIK - only Lists. I asked this on the Struts mailing list a year or two ago and it was confirmed. Unfortunately, I can't find the e-mail in the archives. I used webwork-appfuse-1.9.3. And now I

Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-08 Thread Matt Raible
On 2/8/07, hiugong.gwok <[EMAIL PROTECTED]> wrote: wnqq wrote: > > I encountered some I18N issues when the bundle files are processed by > native2ascii or whatever translations. > For example, the new property files (for zh locale) become corrupt after > "ant new" (for all versions of Appfuse

[appfuse-user] Equinox 1.7 Post

2007-02-08 Thread Scott Purcell
OS: Win XP. Downloaded equinox-struts2-hibernate-1.7.zip. Ran ant test (per readme) and it began downloading artifacts. But I received an error just into it stating the following: [code] BUILD FAILED C:\work\s2hib\build.xml:31: Unable to resolve artifact: required artifacts missing:

Re: [appfuse-user] SMTP Authentication with Struts 2 App

2007-02-08 Thread paulie
I am using AppFuse 2. Added the mailSender bean id to the applicationContext-resources.xml and uncommented the authentication piece. Ran a mvn clean, then reran the mvn integration-test and got the same 'authentication required' message. Any ideas? Matt Raible-3 wrote: > > If you're using

[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] ApplicationResources_pt.properties vs. ApplicationResources_pt_BR.properties

2007-02-08 Thread Gilberto C Andrade
Matt Raible wrote: To AppFuse Portuguese Speakers: I did some diffs between AppFuse's "pt" and "pt_BR" resource bundles and they look exactly the same to me. Is there any reason to keep both? Yes! If you get rid of pt_BR locale, you'll have only portuguese from Portugal, that seems a lot di

Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-08 Thread hiugong.gwok
wnqq wrote: > > I encountered some I18N issues when the bundle files are processed by > native2ascii or whatever translations. > For example, the new property files (for zh locale) become corrupt after > "ant new" (for all versions of Appfuse v1.8/9.x). > It's no longer a problem for 2.0M3, t

Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-08 Thread wnqq
Matt Raible-3 wrote: > > Also, it seems they've already been converted to ASCII - when it's > probably better to have them in native format and then run them > through the native2ascii plugin. > > Matt > I encountered some I18N issues when the bundle files are processed by native2ascii or wh

Re: [appfuse-user] errors when import m3 to eclipse

2007-02-08 Thread viggo
I have successfully managed to import a appfuse m3 project (modular-spring) to Eclipse. Could you please tell what errors you got, and what archetype you used? galen wrote: > > I have set M2_REPO path. but many errors after build. > -- View this message in context: http://www.nabble.com/err

[appfuse-user] errors when import m3 to eclipse

2007-02-08 Thread galen
I have set M2_REPO path. but many errors after build. -- View this message in context: http://www.nabble.com/errors-when-import-m3-to-eclipse-tf3192111s2369.html#a8861718 Sent from the AppFuse - User mailing list archive at Nabble.com. ---