Re: [appfuse-user] error running appgen with new POJO

2006-12-18 Thread ftravers
I apologize, I've been working with 1.9.1, I'll upgrade and try it again. Thanks Matt. Matt Raible-3 wrote: > > Are you having this problem with 1.9.4. I believe I fixed it so child > tables aren't put into sample-data.xml. > > Matt > > On 12/18/06, ftravers <[EMAIL PROTECTED]> wrote: >> >>

Re: [appfuse-user] Problem with CATALINA_HOME

2006-12-18 Thread Matt Raible
Yes, I've seen this issue on Tomcat 6 and corrected it in SVN. Regardless, it should show an error with the correct path, rather than the raw variable. Matt On 12/18/06, Richard Oss <[EMAIL PROTECTED]> wrote: I also ran into the same problem. Perhaps because my tomcat verion was 6.0.2 and ther

Re: [appfuse-user] Problem with CATALINA_HOME

2006-12-18 Thread Richard Oss
I also ran into the same problem. Perhaps because my tomcat verion was 6.0.2 and there is no server directory below it. I had to go back to version 5.0.28 as mentioned in the AppFue Development environment to get "ant new" to work. Zmaj wrote: > > Hallo, > > i have a strage problem seting up

Re: [appfuse-user] test-web fails

2006-12-18 Thread hquinn
Yeah, for some reason I'm getting that 'null' property, but I don't understand why... Here it is the part of my userformcontroller where I use the companyManager.. I can't see where is the problem.. public void setCompanyManager(CompanyManager companyManager){ this.companyManager = comp

Re: [appfuse-user] Use Resourcebundle in StartupListener

2006-12-18 Thread Matt Raible
Yeah, you won't be able to get the user's locale in the StartupListener because it pertains to all users. That's why doing it in your JSP (using and your web framework's tags) might work best. Matt On 12/18/06, Ding, Qin <[EMAIL PROTECTED]> wrote: Matt: If I want to do it in StartupListener

Re: [appfuse-user] Appfuse fame + Info

2006-12-18 Thread Bryan Noll
Welcome feel free to participate. Ramesh Mandaleeka wrote: Hi Just wonderful. Today I found appfuse community on orkut. http://www.orkut.com/Community.aspx?cmm=9170593 Kind Regards, Ramesh Mandaleeka - To unsubscrib

RE: [appfuse-user] Use Resourcebundle in StartupListener

2006-12-18 Thread Ding, Qin
Matt: If I want to do it in StartupListener, how can I get access to the localized resource bundle file from there? Thanks. Qin -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 3:22 PM To: users@appfuse.dev.java.net Subject: Re: [appfuse

Re: [appfuse-user] Use Resourcebundle in StartupListener

2006-12-18 Thread Matt Raible
I would do it in the StartupListener - or just do it directly in your JSPs if the data doesn't change very often. Matt On 12/18/06, Ding, Qin <[EMAIL PROTECTED]> wrote: My dropdown list requires localized contents. I can either look up the ResourceBundle at the lookupManagerImpl or at the

Re: [appfuse-user] error running appgen with new POJO

2006-12-18 Thread Matt Raible
Are you having this problem with 1.9.4. I believe I fixed it so child tables aren't put into sample-data.xml. Matt On 12/18/06, ftravers <[EMAIL PROTECTED]> wrote: Its been over a year, any luck? I'm having this problem myself. thx, fenton yes, I will work with sample-data.xml and try to

[appfuse-user] Use Resourcebundle in StartupListener

2006-12-18 Thread Ding, Qin
My dropdown list requires localized contents. I can either look up the ResourceBundle at the lookupManagerImpl or at the Startuplistener. Please advise how I can get the access to the resource bundle from either place. Thank you very much. Qin

Re: [appfuse-user] error running appgen with new POJO

2006-12-18 Thread ftravers
Its been over a year, any luck? I'm having this problem myself. thx, fenton yes, I will work with sample-data.xml and try to find out what's going on. I will post my solution to this thread when I find one. thanks, Terrance -- View this message in context: http://www.nabble.com/-appfuse

[appfuse-user] Appfuse fame + Info

2006-12-18 Thread Ramesh Mandaleeka
Hi Just wonderful. Today I found appfuse community on orkut. http://www.orkut.com/Community.aspx?cmm=9170593 Kind Regards, Ramesh Mandaleeka -- View this message in context: http://www.nabble.com/Appfuse-fame-%2B-Info-tf2842037s2369.html#a7935537 Sent from the AppFuse - User mailing list arc

Re: [appfuse-user] Problem with CATALINA_HOME

2006-12-18 Thread Zmaj
Hmm.. i see no space :) Strange but i have no answer to this.. heres my shell output: BUILD FAILED /home/ivan/Programmierung/DeveloperRessorces/Frameworks/Java/appFuse/appfuse/build.xml:1096: /home/ivan/Programmierung/DeveloperRessorces/Frameworks/Java/appFuse/appfuse/${env.CATALINA_HOME}/server

[appfuse-user] Mock testing - using advice vs interceptor

2006-12-18 Thread Jon Loken
Hi all, I am wondering if anyone can enlighten me regarding /test/web mocktests Previously I successfully AOP adviced a method (using MethodBeforeAdvice). Method 'before(Method method, Object[] args, Object target)' was called, BOTH during mocktests AS WELL AS on tomcat. However, since it

Re: [appfuse-user] db-unit bidirectional associations

2006-12-18 Thread Dale Newfield
Luiz Fernando Rodrigues wrote: I have a bidirectional (User-Address) association in my model. When I run db-unit it fails because it tries to insert user rows with association to address, but there is no address created, so I receive a FK violation. Single bi-directional associations are rar

Re: [appfuse-user] db-unit bidirectional associations

2006-12-18 Thread Jason Brice
Luiz, You could certainly remove the FK constraint, load user data, then re-create it. But will you *always* have an address to associate with a user before you save that user? If not you might reconsider forcing the user table to have a FK constraint to address. Jason On 12/18/06, Luiz Fern

Re: [appfuse-user] Writting Hibernate JUnit Tests Correctly

2006-12-18 Thread Bryan Noll
To get started, I would suggest you take a look at the *DaoTest.java classes in appfuse. Once you become familiar with what's going on there, feel free to come back and ask specific questions about what's going on. mas wrote: Hello everyone, Could someone please referer me to a tutorial

Re: [appfuse-user] test-web fails

2006-12-18 Thread Michael Horwitz
Hi, It would seem you are trying to navigate the relationship between a user and a company, but that the company on the specified user is null. So in your userform you have a path of the form 'user.company.x' and for this specific user the company attribute is null? Mike On 12/18/06, hquinn <[

[appfuse-user] test-web fails

2006-12-18 Thread hquinn
Greetings everyone! When I'm testing my application I get this error during the test-web. Can someone tell me why? It seems it has to do with a relationship I have (User-Company), but I'm not sure... any comments?? Thanx Testcase: testSave(mx.edu.um.musas.webapp.action.UserFormControllerTest): C

[appfuse-user] db-unit bidirectional associations

2006-12-18 Thread Luiz Fernando Rodrigues
Hello, I have a bidirectional (User-Address) association in my model. When I run db-unit it fails because it tries to insert user rows with association to address, but there is no address created, so I receive a FK violation. Can I turn off FK constrains before inserting the rows and the turn

[appfuse-user] Writting Hibernate JUnit Tests Correctly

2006-12-18 Thread maskkkk
Hello everyone, Could someone please referer me to a tutorial/book where I could learn to write unit tests for object relationships correctly? Thank you, Andrew J. Leer -- View this message in context: http://www.nabble.com/Writting-Hibernate-JUnit-Tests-Correctly-tf2840991s2369.html#a7932

Re: [appfuse-user] emailing users for log4j logs

2006-12-18 Thread Matt Raible
Rome is one of the best libraries I've found for RSS Publishing. https://rome.dev.java.net/ If you want to serve up your log4j error logs using RSS, here's a library that allows you to do that. I haven't tried it myself. http://blog.lorecraft.com/archives/2006/09/06/monitor-your-java-applicati

Re: [appfuse-user] emailing users for log4j logs

2006-12-18 Thread Ron Anderson
Matt nice suggestion which I think we'll look into implementing for our Jasper reporting. I've sort of decided based on your 'thousands' of messages issue that if our customer wants logs emailed, we'll just use log4j.xml since it won't change often. Do you have any RSS publishing tools you've

Re: [appfuse-user] Problem with CATALINA_HOME

2006-12-18 Thread Matt Raible
If you're getting this error from the command line and echoing $CATALINA_HOME works OK, I suspect you have an extra space in your path. If not, I'm stumped. Matt On 12/18/06, Zmaj <[EMAIL PROTECTED]> wrote: Hi Matt, the echo $CATALINA_HOME prints out the correct path to my tomcat.. Zmaj Ma

Re: [appfuse-user] setup-db, db-export, db-load

2006-12-18 Thread Matt Raible
On 12/18/06, Fan <[EMAIL PROTECTED]> wrote: 1) this task will call db-create to create the database, but will it overwrite the database if there is already existed ? It depends on your database. If you're using MySQL, then no: create database if not exists @DB-NAME@; 2) subsequently, d

Re: [appfuse-user] Problem with CATALINA_HOME

2006-12-18 Thread Zmaj
Hi Matt, the echo $CATALINA_HOME prints out the correct path to my tomcat.. Zmaj Matt Raible-3 wrote: > > It sounds like you haven't properly defined CATALINA_HOME in your > environment variables. Can you run echo $CATALINA_HOME (or echo > %CATALINA_HOME% on Windows)? If it doesn't print ou

[appfuse-user] setup-db, db-export, db-load

2006-12-18 Thread Fan
1) this task will call db-create to create the database, but will it overwrite the database if there is already existed ? 2) subsequently, db-prepare will be executed to create the schema & tables, will the existing schema or tables be overwritten ? 3) Finally , db-load will import the data

Re: [appfuse-user] Equinox version assistance

2006-12-18 Thread Matt Raible
Equinox uses SiteMesh instead of Tiles. This decision was based on experience and the fact that SiteMesh seemed (and still seems) like the best tool for the job. http://raibledesigns.com/page/rd?entry=should_i_ditch_tiles_in http://raibledesigns.com/page/rd?anchor=my_tiles_to_sitemesh_migration

Re: [appfuse-user] AppFuse 1.9.4 with maven 2 build.

2006-12-18 Thread Matt Raible
Mike is correct - 1.9.x will always be JDK 1.4-compliant and use Ant. For those users who want more advanced functionality with Java 5 and Maven 2, we suggest moving to AppFuse 2. If it weren't for the upcoming holidays, we could probably get a release out before the end of the year. Matt On 12/

Re: [appfuse-user] Problem with CATALINA_HOME

2006-12-18 Thread Matt Raible
It sounds like you haven't properly defined CATALINA_HOME in your environment variables. Can you run echo $CATALINA_HOME (or echo %CATALINA_HOME% on Windows)? If it doesn't print out anything, it means the variable is not set. Matt On 12/18/06, Zmaj <[EMAIL PROTECTED]> wrote: No right now i

[appfuse-user] Equinox version assistance

2006-12-18 Thread Scott Purcell
Hello, I am looking to convert a struts 1.29 application into a bit more of a robust framework. I do not want to go overboard with upgrades, but would like the ability to put the Spring framework, and Tiles framework into the mix. I do not need the full power of appfuse with acegi, etc. Is ther

Re: [appfuse-user] AppFuse 1.9.4 with maven 2 build.

2006-12-18 Thread Michael Horwitz
Hi, AppFuse 2.0 uses Maven 2 as the build system. AppFuse 2.0 is currently under development. Mike. On 12/18/06, Irshad Buchh <[EMAIL PROTECTED]> wrote: Hi, We are wondering if anyone has ever tried to get a maven 2 based build for AppFuse 1.9.4. Is this going to be part of the roadmap some

Re: [appfuse-user] Appfuse installation related

2006-12-18 Thread Michael Horwitz
Hi, You should find all you need under the AppFuse Wiki: http://raibledesigns.com/wiki/AppFuse.html. Take a look at the QuickStart guide to get up and running, and from there the User Guide should give you the information you require to integrate with WSAD. Good luck! Mike. On 12/18/06, Giri

[appfuse-user] AppFuse 1.9.4 with maven 2 build.

2006-12-18 Thread Irshad Buchh
Hi, We are wondering if anyone has ever tried to get a maven 2 based build for AppFuse 1.9.4. Is this going to be part of the roadmap sometime in future? --Irshad. -- View this message in context: http://www.nabble.com/AppFuse-1.9.4-with-maven-2-build.-tf2839703s2369.html#a7928209 Sent from the

[appfuse-user] Appfuse installation related

2006-12-18 Thread Giri
Can u provide more information in detail about installation of appfuse related things like, after downloading appfuse source code, what are the steps to do(for example, if we use appfuse in WSAD)? -- View this message in context: http://www.nabble.com/Appfuse-installation-related-tf2839665s2369.

Re: [appfuse-user] Problem with CATALINA_HOME

2006-12-18 Thread Zmaj
No right now i am running it from the command line. Jasper Huzen wrote: > > Are you using eclipse (or other IDE) to build the project? > > Maybe you should set the environmont variable on the eclipse ant > properties. > > You can do this at window->preferences->ant->runtime->properties > >

Re: [appfuse-user] Problem with CATALINA_HOME

2006-12-18 Thread Jasper Huzen
Are you using eclipse (or other IDE) to build the project? Maybe you should set the environmont variable on the eclipse ant properties. You can do this at window->preferences->ant->runtime->properties Zmaj wrote: > > Hallo, > > i have a strage problem seting up appFuse. > When i run ant se

[appfuse-user] Problem with CATALINA_HOME

2006-12-18 Thread Zmaj
Hallo, i have a strage problem seting up appFuse. When i run ant setip i got this error : .../appFuse/appfuse/${env.CATALINA_HOME}/server/lib not found. But when i echo $CATALINA_HOME - everything seems ok. thanks Zmaj -- View this message in context: http://www.nabble.com/Problem-with-C