[appfuse-user] Integration with Eclipse Web Tools Project (WTP) Tutorial Problem

2007-09-20 Thread 罗霄
Hi All, I just start to learn Appfuse 2.0. When I integrates my project with WTP. I met some problem in the tutorial. # Use the AppFuse archetypes to create the project. I used the Struts-2 Modular version. If you're not using a modular archetype, you can skip to step #6. # Under

[appfuse-user] JSF - Drop down values from database

2007-09-20 Thread chichi
Good day sirs/ma'am. I'm trying to load database values to a drop down box. I've done a lot of trials and errors in doing this and researched online tutorials but I have no luck. I'm using appfuse 1.9.2 - jsf. Thank you :) -- View this message in context: http://www.nabble.com/JSF---Drop-down

Re: [appfuse-user] UnsatisfiedDependencyException with AppFuse Core Classes (2.0)

2007-09-20 Thread Matt Raible
On 9/20/07, Rob Hills <[EMAIL PROTECTED]> wrote: > Hi Matt, > > On 20 Sep 2007 at 19:56, Matt Raible wrote: > > > On 9/20/07, Rob Hills <[EMAIL PROTECTED]> wrote: > > > exception is java.lang.IllegalArgumentException: Cannot find class > > > [au.com.myapp.model.TrailerArchive]. Root > > > cause: j

Re: [appfuse-user] Does Appfuse2 move package?

2007-09-20 Thread Matt Raible
Are the package names wrong - is that why it can't find them? What are the package names and what do you think they should be? AMP keys off the < amp.fullSource> property in your pom.xml. If it's false, it uses org.appfuse. If it's true, it uses your pom.xml's groupId. The good news is you can use

[appfuse-user] @OneToMany Hibernate 3 @Filters not working

2007-09-20 Thread Anjan Bacchu
Hi All, Thanks in advance to any pointers and info. Google did not do the trick this time around :-( I have a DB schema design which uses "Soft/virtual Deletes" where every table has a column "del_ind"(number) which indicates(1/0) whether a row is considered "deleted" or not. If the app wants a

Re: [appfuse-user] UnsatisfiedDependencyException with AppFuse Core Classes (2.0)

2007-09-20 Thread Rob Hills
Hi Matt, On 20 Sep 2007 at 19:56, Matt Raible wrote: > On 9/20/07, Rob Hills <[EMAIL PROTECTED]> wrote: > > exception is java.lang.IllegalArgumentException: Cannot find class > > [au.com.myapp.model.TrailerArchive]. Root > > cause: java.lang.ClassNotFoundException: au.com.myapp.model.TrailerArch

Re: [appfuse-user] Does Appfuse2 move package?

2007-09-20 Thread mettamara
I am experiencing the same issue. I upgraded from 2RC1 to 2.0 tonight. After the upgrade, the AMP generation output code is extending BaseAction and BaseActionTestCase. Neither of these classes can be found by my IDE (eclipse). When I was using RC1 the code generation was able to find the BaseA

Re: [appfuse-user] UnsatisfiedDependencyException with AppFuse Core Classes (2.0)

2007-09-20 Thread Matt Raible
On 9/20/07, Rob Hills <[EMAIL PROTECTED]> wrote: > Hi All, > > Scott Ryan originally flagged this problem in another thread: > > http://www.nabble.com/forum/ViewPost.jtp?post=12729440 &framed=y&skin=2369 > > I've subsequently encountered it also, responding to Scott's post on the same > thread but

Re: [appfuse-user] What would make a good, very useful, AppFuse extension project?

2007-09-20 Thread Matt Raible
>From a "useful to AppFuse and other developers perspective", it'd be cool to build a webapp that allows users to create AppFuse applications from a web page. However, this likely wouldn't leverage many of AppFuse's features so it might be more appropriate for AppFuse Light. There was a Sunshine p

[appfuse-user] What would make a good, very useful, AppFuse extension project?

2007-09-20 Thread David Whitehurst
I want to come up with a project, and see if I can get some AppFuse developers interested in helping to work on it. If it were something that would really be useful for developers, it probably would take off. Everytime I get an idea to start something it's what I want and not what the community wa

[appfuse-user] UnsatisfiedDependencyException with AppFuse Core Classes (2.0)

2007-09-20 Thread Rob Hills
Hi All, Scott Ryan originally flagged this problem in another thread: http://www.nabble.com/forum/ViewPost.jtp?post=12729440 &framed=y&skin=2369 I've subsequently encountered it also, responding to Scott's post on the same thread but with a different subject: http://www.nabble.com/forum/View

Re: [appfuse-user] 2.0 problem with hibernate

2007-09-20 Thread ernasm
On 9/20/07, kace <[EMAIL PROTECTED]> wrote: > > on further inspection, after a cup of tea and a break, it turns out it is a > silly classpath issue . my bad. tis all better again . > > thanks > > ..kace kace, could you share your solution ? cause I'm having same problem only with 2.0. I also tri

Re: [appfuse-user] 2.0 problem with hibernate

2007-09-20 Thread masterg007
Seems like your class (com.kace.app.model.League) needs to be added to the persistence.xml file so hibernate knows about it. Example: http://java.sun.com/xml/ns/persistence"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/persist

Re: [appfuse-user] Problem with jetty:run in Tapestry basic archetype

2007-09-20 Thread Mark Rosenthal
Outstanding, Matt! I can continue development with frequent restarts, but it'll be so much nicer to have directory scanning and auto-reloading. I'm new to the world of Maven, and find it somewhat frustrating to not see what's going on under the covers. In the meantime, I'll give tomcat:run a

Re: [appfuse-user] Problem with jetty:run in Tapestry basic archetype

2007-09-20 Thread mraible
FWIW, I've posted this to the Tapestry users mailing list: http://www.nabble.com/Problem-with-jetty%3Arun-when-using-Tapestry-4.1.3-tf4489399.html#a12805568 Matt mraible wrote: > > That's certainly a strange one. I was able to reproduce it, but have > no idea how to fix it. jetty:run-war work

Re: [appfuse-user] struts can't find succes

2007-09-20 Thread Matt Raible
Have you tried adding a to your action definition? Matt On 9/13/07, tibi <[EMAIL PROTECTED]> wrote: > > i use 2.0m5 struts2 spring2 hibernate > > sometimes i have the following problem > i have an action in my struts.xml > with name succes. > i go to the url of the action and get the error messa

Re: [appfuse-user] can I uninstall Person

2007-09-20 Thread Matt Raible
If you're using 2.0, we added the ability to uninstall using "mvn appfuse:remove -Dentity=Person". Matt On 9/12/07, justin_wang <[EMAIL PROTECTED]> wrote: > > after I generate Person and install it, can I uninstall it? > -- > View this message in context: > http://www.nabble.com/can-I-uninstall-

Re: [appfuse-user] Continuum

2007-09-20 Thread Matt Raible
If you need to use Open Source for continuous integration, I recommend Hudson or CruiseControl. If you're open to commercial options, Bamboo and Pulse are really nice. I wouldn't recommend Continuum, at least not the first version. http://raibledesigns.com/rd/entry/artifactory_a_new_maven_2 Matt

[appfuse-user] Continuum

2007-09-20 Thread André Faria
What do you think about the Apache Continuum http://maven.apache.org/continuum/? Could it be an option to use instead of BuildX? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [appfuse-user] Problem with appfuse:gen-model with SQL Server 2005

2007-09-20 Thread Matt Raible
This is a bug I fixed yesterday. The problem surfaces when you try to generate objects and there aren't any tables to generate code for. Matt On 9/20/07, Lee Rosen <[EMAIL PROTECTED]> wrote: > I was trying to generate model objects from a SQL > server database and > got an error stating "Paramete

[appfuse-user] Problem with appfuse:gen-model with SQL Server 2005

2007-09-20 Thread Lee Rosen
I was trying to generate model objects from a SQL server database and got an error stating "Parameter 'directory' is not a directory" (see full trace below). I have not been able to figure out what to do to correct the problem, since the documentation on the AMP is still so sparse. Any clues

Re: [appfuse-user] Problem with character sets & fonts

2007-09-20 Thread baterman
Alright I've checked the solution You gave me and everything seems to be working alright. I used MySQL installer for Windows and during installation wizard I've chosen "UTF8" as a standard charset. Database accepts polish and spanish fonts without a problem and they are properly displayed on websi

Re: [appfuse-user] Testing File Upload

2007-09-20 Thread Matt Raible
I would suggest using Canoo WebTest to test file-upload. There's a test demonstrating how to do it in web-tests.xml. Matt P.S. I like the lingo. ;-) On 9/13/07, Yopy <[EMAIL PROTECTED]> wrote: > > Y halo thar, > > I've been working on a project using AppFuse, so far so good. I copied the > exist

Re: [appfuse-user] dojo tutorial extension

2007-09-20 Thread Matt Raible
What do you think about re-writing this tutorial in an AppFuse environment and seeing if we make it simpler? Matt On 9/13/07, tibi <[EMAIL PROTECTED]> wrote: > i would like to add this to the tutorial page: > > please eval. > > tibi > >

Re: [appfuse-user] Hibernate ManyToMany not updating collection

2007-09-20 Thread Matt Raible
This is a bug in Spring - I was able to find it a few days ago by googling the error message you're seeing. http://issues.appfuse.org/browse/APF-887 Matt On 9/13/07, syg6 <[EMAIL PROTECTED]> wrote: > > I tried reverting back to the way things were previous to upgrading Hibernate > (commenting ou

Re: [appfuse-user] hibernate transaction question ?

2007-09-20 Thread Matt Raible
Transactions are started in the manager methods by default, so no - they won't be in the same transaction. However, if you're using OSIV, it's possible the will be. Matt On 9/12/07, sudheerp <[EMAIL PROTECTED]> wrote: > > Hello, > > I am using appfuse-jsf 1.9.4. > > In the following save func

Re: [appfuse-user] Hibernate view/table (w/o PK) mapping.

2007-09-20 Thread Matt Raible
Sorry, I didn't read your full e-mail. The XDoclet documentation says "column" on @hibernate.id should work. http://xdoclet.sourceforge.net/xdoclet/tags/[EMAIL PROTECTED] Matt On 9/20/07, Matt Raible <[EMAIL PROTECTED]> wrote: > Have you tried @hibernate.id generate-class="assigned" column="id_t

Re: [appfuse-user] Hibernate view/table (w/o PK) mapping.

2007-09-20 Thread Matt Raible
Have you tried @hibernate.id generate-class="assigned" column="id_table1"? Matt On 9/11/07, Francisco Goldmeier Tochetto <[EMAIL PROTECTED]> wrote: > Hello guys, > > I am trying to map a view, which has three pairs of id/value from different > tables. I can generate the POJO from my table/view us

Re: [appfuse-user] 2.0 problem with hibernate

2007-09-20 Thread kace
on further inspection, after a cup of tea and a break, it turns out it is a silly classpath issue . my bad. tis all better again . thanks ..kace kace wrote: > > hey, > > no, I dont have duplicate files. I thought it might be a hibernate > problem so i went back to 3.2.1.ga version for hibe

Re: [appfuse-user] 2.0 problem with hibernate

2007-09-20 Thread kace
hey, no, I dont have duplicate files. I thought it might be a hibernate problem so i went back to 3.2.1.ga version for hibernate but to no avail. Same problems - modify user class with OneToMany and it messes up. kace mraible wrote: > > Make sure to don't have duplicate hibernate.cfg.xml

Re: [appfuse-user] 2.0 problem with hibernate

2007-09-20 Thread Matt Raible
Make sure to don't have duplicate hibernate.cfg.xml files in your classpath. Matt On 9/20/07, kace <[EMAIL PROTECTED]> wrote: > > I just tried it with another of my apps and the exact thing happened. Any > modification to the user class with @oneToMany and the tests fail. > > > > kace wrote: >

Re: [appfuse-user] 2.0 problem with hibernate

2007-09-20 Thread kace
I just tried it with another of my apps and the exact thing happened. Any modification to the user class with @oneToMany and the tests fail. kace wrote: > > Hey, > > yeah it is added. Everything was working on rc1 but stopped when i took > it over to 2.0. > > Anything else i can check fo

Re: [appfuse-user] AppFuse-2.0-Dependencies.zip

2007-09-20 Thread Matt Raible
Yep - it's already available: https://appfuse.dev.java.net/servlets/ProjectDocumentList?folderID=8047 Or a direct link: https://appfuse.dev.java.net/files/documents/1397/68819/appfuse-dependencies-2.0.zip Matt On 9/20/07, Irshad Buchh <[EMAIL PROTECTED]> wrote: > > Hi Matt, > > Is there any ch

Re: [appfuse-user] LDAP Authentication

2007-09-20 Thread Matt Raible
This may help: http://appfuse.org/display/APF/LDAP+Authentication Matt On 9/11/07, Fadi Samara <[EMAIL PROTECTED]> wrote: > appfusers, > > I am sure someone has done this before. Can someone please send examples of > doing LDAP authentication (SPRING + JBOSS) or point me to the right > directio

[appfuse-user] AppFuse-2.0-Dependencies.zip

2007-09-20 Thread Irshad Buchh
Hi Matt, Is there any chance of putting the AppFuse-2.0-Dependencies.zip file like you did for rc1. This would help us as we are behind a proxy and we get a lot of problems as a result. --Irshad. -- View this message in context: http://www.nabble.com/AppFuse-2.0-Dependencies.zip-tf4487780s2369

Re: [appfuse-user] cant integrate appfuse into MyEclipse

2007-09-20 Thread Matt Raible
Unfortunately, I don't have a MyEclipse license to figure out how to make this work. I could probably buy one, but I'd prefer to use IDEA. ;-) Matt On 9/11/07, nessus <[EMAIL PROTECTED]> wrote: > > Hi all, > > I failed to integrate MyEclipse into appfuse project after generating one by > running

Re: [appfuse-user] Spring MVC : Multiple Form in One View?

2007-09-20 Thread Matt Raible
Yes, you should be able to do this. The best way to find out is to try it and see. ;-) Matt On 9/10/07, BruceLee <[EMAIL PROTECTED]> wrote: > > Oh, thanks Matt, I understand more. However, then each sub-form will has an > different Action class (nested in big class). Can I share a same Action > c

Re: [appfuse-user] pass parameter at sumbit form

2007-09-20 Thread Matt Raible
In your form, you should be able to add: Matt On 9/10/07, BruceLee <[EMAIL PROTECTED]> wrote: > > Thank Matt. However, I still use WW2.2.4 based on appfuse 1.9.4. And my > another question would be, > > When I click Submit, I also want to pass a param to the Action. That's to > say, to get a UR

Re: [appfuse-user] LDAP authentication in appfuse 1.7

2007-09-20 Thread Matt Raible
You should be able to use Tomcat's JNDIRealm to do this. However, you will need to disable the user management and signup features in AppFuse since they won't be talking to LDAP. Matt On 9/10/07, tiya tiya <[EMAIL PROTECTED]> wrote: > How can i implement LDAP authentication in appfuse 1.7? I impl

Re: [appfuse-user] 2.0 problem with hibernate

2007-09-20 Thread kace
Hey, yeah it is added. Everything was working on rc1 but stopped when i took it over to 2.0. ...kace Mike Horwitz wrote: > > Have you checked that com.kace.app.model.League is included in > hibernate.cfg.xml? > > Mike > > On 9/20/07, kace <[EMAIL PROTECTED]> wrote: >> >> >> Hi fellas, >>

Re: [appfuse-user] Error with Latest AppFuse 2.0

2007-09-20 Thread Matt Raible
Your error states HTTP Error 407 - which is explained on the following page: http://www.checkupdown.com/status/E407.html Matt On 9/20/07, Irshad Buchh <[EMAIL PROTECTED]> wrote: > > Hi Matt, > > Now I tried the same with struts basic module and when I try mvn in the > directory, I get this: > Al

Re: [appfuse-user] 2.0 problem with hibernate

2007-09-20 Thread Michael Horwitz
Have you checked that com.kace.app.model.League is included in hibernate.cfg.xml? Mike On 9/20/07, kace <[EMAIL PROTECTED]> wrote: > > > Hi fellas, > > I have a rc1 app that i have copied over to a new 2.0 app > (jsf/modular/full-source) . It was working fine in rc1 but in 2.0 it > gives > a bun

[appfuse-user] 2.0 problem with hibernate

2007-09-20 Thread kace
Hi fellas, I have a rc1 app that i have copied over to a new 2.0 app (jsf/modular/full-source) . It was working fine in rc1 but in 2.0 it gives a bunch of errors. If i leave the User class unmodified all the tests pass but when i add a OneToMany to user the following errors appear (see belo

Re: [appfuse-user] Error with Latest AppFuse 2.0

2007-09-20 Thread Irshad Buchh
Hi Matt, Now I tried the same with struts basic module and when I try mvn in the directory, I get this: Also what is this SQL warning? SQL Warning: 1287, SQLState: HY000 'TYPE=storage_engine' is deprecated; use 'ENGINE=storage_engine' instead C:\appfuse2-struts>mvn [INFO] Scanning for projects..

Re: [appfuse-user] Error with Latest AppFuse 2.0

2007-09-20 Thread Matt Raible
There's a couple of different things to try: 1. Configure Maven to recognize your proxy server: http://maven.apache.org/guides/mini/guide-proxies.html 2. Configure Ant to recognize your proxy server (since this is failing when using the antrun-plugin): http://ant.apache.org/manual/proxy.html 3

Re: [appfuse-user] Appfuse application developpement

2007-09-20 Thread Matt Raible
What's your ActionForward pointing to? Does a file exist there? If you know how Struts works, hopefully this won't be too difficult to figure out. Matt On 9/10/07, ramcis <[EMAIL PROTECTED]> wrote: > > I took appfuse as it is, that means i'm using the default web framework. > I created a pojo nam

Re: [appfuse-user] Error with Latest AppFuse 2.0

2007-09-20 Thread Irshad Buchh
Hi Matt, Yes I am behind a proxy server, you guessed it right. What is the temporary fix? Is it possible to revert to JSF 1.1, I guess I have to change pom.xml, any issues with that? --Irshad. mraible wrote: > > Are you behind a proxy server? MyFaces 1.2.0 has a bug where it won't > run if it

Re: [appfuse-user] Error with appfuse:full-source

2007-09-20 Thread Matt Raible
No worries - I linked my issue to yours since you provided a better description. Thanks! Matt On 9/20/07, kares <[EMAIL PROTECTED]> wrote: > > > Well, Your definitely faster then I am ;-) > > I did it too: http://issues.appfuse.org/browse/APF-907 > > Karol > > > > mraible wrote: > > > > I've ent

Re: [appfuse-user] Error with appfuse:full-source

2007-09-20 Thread kares
Well, Your definitely faster then I am ;-) I did it too: http://issues.appfuse.org/browse/APF-907 Karol mraible wrote: > > I've entered this in JIRA and I'm testing your suggested fix now. > > http://issues.appfuse.org/browse/APF-906 > > Thanks! > > Matt > > On 9/20/07, Matt Raible <[EM

Re: [appfuse-user] Error with Latest AppFuse 2.0

2007-09-20 Thread Matt Raible
Are you behind a proxy server? MyFaces 1.2.0 has a bug where it won't run if it can't connect to the internet. Matt On 9/20/07, Irshad Buchh <[EMAIL PROTECTED]> wrote: > > Hi, > > Just heard about the final AppFuse 2.0, couldn't wait to try it. This is > what I did: > > mvn archetype:create -Darc

[appfuse-user] Error with Latest AppFuse 2.0

2007-09-20 Thread Irshad Buchh
Hi, Just heard about the final AppFuse 2.0, couldn't wait to try it. This is what I did: mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-jsf -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0 -DgroupId=edu.ksu -Dartif

Re: [appfuse-user] Problem with character sets & fonts

2007-09-20 Thread Matt Raible
I don't think you need to change anything else. You can verify by looking at the online demos: http://demo.appfuse.org Matt On 9/20/07, baterman <[EMAIL PROTECTED]> wrote: > > Alright I'll try to do that. Thanks for advice! There's one more question I > would like to ask. Besides changing MYSQL

Re: [appfuse-user] Error with appfuse:full-source

2007-09-20 Thread Matt Raible
I've entered this in JIRA and I'm testing your suggested fix now. http://issues.appfuse.org/browse/APF-906 Thanks! Matt On 9/20/07, Matt Raible <[EMAIL PROTECTED]> wrote: > Can you enter an issue for this in JIRA? Even though I can't reproduce > your issue, it sounds like a reasonable fix. > >

Re: [appfuse-user] Have problem with autowire

2007-09-20 Thread Matt Raible
Your problem is likely caused by the fact that appfuse:gen doesn't handle anything too fancy - especially complex relationships between objects. If you make a simple object with a Long id and no relationships, it'll probably work. We needed to start somewhere, that's why it doesn't support everythi

Re: [appfuse-user] Problem with character sets & fonts

2007-09-20 Thread baterman
Alright I'll try to do that. Thanks for advice! There's one more question I would like to ask. Besides changing MYSQL settings, is there anything else I need to take care of in order to use Unicode fonts? Best regards. mraible wrote: > > I would suggest using the Windows Installer - it has a s

Re: [appfuse-user] Have problem with autowire

2007-09-20 Thread Matt Raible
I've entered an issue in JIRA for this problem and fixed it in SVN. http://issues.appfuse.org/browse/APF-905 Matt On 9/19/07, Matt Raible <[EMAIL PROTECTED]> wrote: > This is something we should probably fix. Can you please enter this as > an issue in JIRA? > > http://issues.appfuse.org/browse/A

Re: [appfuse-user] Problem with character sets & fonts

2007-09-20 Thread Matt Raible
I would suggest using the Windows Installer - it has a setup wizard that allows you to set your default encoding to UTF-8. You also might try creating the my.ini - I don't believe one exists by default. Matt On 9/20/07, baterman <[EMAIL PROTECTED]> wrote: > > Thx for such a quick reply! I've foun

Re: [appfuse-user] Error with appfuse:gen-model on oracle 9 (Appfuse 2.0-rc1 Struts 2 Basic)

2007-09-20 Thread Matt Raible
On 9/20/07, Nguyen Thi Van An <[EMAIL PROTECTED]> wrote: > > Hi Matt, > > I have seen this thread: > http://www.nabble.com/Is-hibernate.reveng.xml-ignored-by-AMP--How-to-control-reverse-eng--t4480248s2369.html > > And I config pom.xml as you said: > > org.codehaus.mojo >

Re: [appfuse-user] Problem with character sets & fonts

2007-09-20 Thread baterman
Thx for such a quick reply! I've found that advice in FAQ on appfuse website but i couldn't locate "my.ini" in my Windows directory nor search did any results. I'm using "mysql-5.0.27-win32". I didn't install it, just unzipped it into my tools directory. Any other ideas, guys? Thanks in advance.

Re: [appfuse-user] Error with appfuse:full-source

2007-09-20 Thread Matt Raible
Can you enter an issue for this in JIRA? Even though I can't reproduce your issue, it sounds like a reasonable fix. http://issues.appfuse.org/browse/APF Matt On 9/20/07, kares <[EMAIL PROTECTED]> wrote: > > OK, wel I found a way to "fix" this full-source issue. > > Please note that it is still

Re: [appfuse-user] error when i run mvn install eclise:eclipse

2007-09-20 Thread Matt Raible
I didn't create these steps so I'm not sure what's causing the error. However, I have been successful in creating a new project with eclipse:eclipse and then going to project import and importing the two modules from the base directory. Unfortunately, I wasn't successful today: http://tinyurl.com/

Re: [appfuse-user] Appfuse 2 AcegiUtil improvement

2007-09-20 Thread Matt Raible
I think users should login and vote for it in Acegi's JIRA - then we won't have to add it - it'll be a part of Acegi. ;-) Matt On 9/20/07, benoit moraillon <[EMAIL PROTECTED]> wrote: > I found this add on spring forum in order to manage more easily user granted > authorithies in appfuse webapp: >

Re: [appfuse-user] Error with appfuse:full-source

2007-09-20 Thread kares
OK, wel I found a way to "fix" this full-source issue. Please note that it is still reproducable with AppFuse 2.0 final. It's definitely an Ant 1.6.5 bug (see the bugzilla bellow) ... might be reproduced under linux and windows, it might not be under Mac, as it is a "File.createTempFile() and th

[appfuse-user] Appfuse 2 AcegiUtil improvement

2007-09-20 Thread benoit moraillon
I found this add on spring forum in order to manage more easily user granted authorithies in appfuse webapp: http://opensource.atlassian.com/projects/spring/browse/SEC-545 I vote for including AcegiUtil in the appfuse 2.x maven archetype. Matt, what is your opinion about this ? --

Re: [appfuse-user] Problem with character sets & fonts

2007-09-20 Thread Matt Raible
You might try adding the following to your c:\Windows\my.ini or /etc/my.cnf file: [mysqld] default-character-set=utf8 Then re-creating your database. Matt On 9/20/07, baterman <[EMAIL PROTECTED]> wrote: > > Hello! > > Currently I'm writing a web application which will help other people to > lea

[appfuse-user] Problem with character sets & fonts

2007-09-20 Thread baterman
Hello! Currently I'm writing a web application which will help other people to learn foreign languages. I have the following question: what can I do to enable input of foreign fonts? When I try to type in some polish fonts from my webapp I get Hibernate exception, when I do that from SQLYog i ge

Re: [appfuse-user] Have problem with autowire

2007-09-20 Thread phamvubinh
I found out the reason but can not solve it. :(( I make a fool of myself with JPA annotation in my pojos java files. I don't know how to use JPA annotation to define the relationships between my pojos... phamvubinh wrote: > > Thanks Matt, that problem was fixed. But I got another one. Can yo

Re: [appfuse-user] Have problem with autowire

2007-09-20 Thread phamvubinh
I found out the reason but can not solve it. :(( I make a fool of myself with JPA annotation in my pojos java files. I don't know how to use JPA annotation to define the relationships between my pojos... phamvubinh wrote: > > Hi all, > > I'm using Appfuse with JSF framework and I got an erro

Re: [appfuse-user] Error with appfuse:gen-model on oracle 9 (Appfuse 2.0-rc1 Struts 2 Basic)

2007-09-20 Thread Nguyen Thi Van An
Hi Matt, I can't see file hibernate.reveng.xml in src/main/resources. Where is it? If I create one in src/main/resources as you said. But when generate, Oracle seems have a lot of users and generate all tables of all users. How can I exclude them? Still have error: 16:15:16,617 WARN org.hiberna

Re: [appfuse-user] jMock in Tutorial not self-explaining

2007-09-20 Thread Martin Homik
Thanks Matt for your detailed and structured reply. I really appreciate your tons of replies! I forgot to look into the UserManager class which is useful for understanding. In addition, I'd like to provide a few links I came across the other day: 1. A paper about jMock taken at jmock.org: http:/

[appfuse-user] error when i run mvn install eclise:eclipse

2007-09-20 Thread ForreShao
Hi I want use eclise for appfuse. I created a project on this path d:\dev\apptest\myproject\ I do it like this step At this page http://appfuse.org/display/APF/Eclipse " 1.Use the AppFuse archetypes to create the project. I used the Struts-2 Modular ersion. If you're not using a modular archet

Re: [appfuse-user] Have problem with autowire

2007-09-20 Thread phamvubinh
Thanks Matt, that problem was fixed. But I got another one. Can you help me? When I run mvn jetty:run-war, I got this error message: [webgisdulich] ERROR [main] BasicPropertyAccessor.set(94) | IllegalArgumentException in class: com.giavaviet.app.model.Phuong, setter method of property: id_quan [w