RE: [appfuse-user] Weird problem with one-to-many and composite id

2007-02-09 Thread Travers Snyman
I agree composite keys are evil. Unfortunately I am stuck with a bad ERD model that can't be changed. I will post if I come up with something Travers From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Fri 2007/02/09 17:54 To: users@appfuse.dev.java.net Subject: R

[appfuse-user] Netbeans 5.5 with warpath

2007-02-09 Thread johne
Maybe this is not the right place to write this, but I am not sure where would be better. problem: Complex project compiling correctly, but ide not picking up on war classpaths in editor. I have a complex maven build with a hierarchy of war files depending on each other. I have been using th

Re: [appfuse-user] struts tags in messages.jsp causing stack trace after upgrade to struts2.0.5

2007-02-09 Thread Tim Azzopardi
my guess is sitemesh and ActionContextCleanUp Matt Raible-3 wrote: > > I experienced this issue yesterday and never figured out a solution. For > some reason, everything works fine in AppFuse. The only thing I can think > of > that I changed was moving the struts.properties into struts.xml. >

Re: [appfuse-user] Core JSF ( myFaces ) without Facelets in Appfuse 1.9.4

2007-02-09 Thread Attila
Thanks Bye Matt Raible-3 wrote: > > You could probably look at the output of the GoogleMaps JSP Tags and then > write that output yourself in your page. > > You could also look at FacesGoodies. It seems to have a Facelets and > Google > Maps example. > > http://jroller.com/page/mwessendorf?

[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] struts tags in messages.jsp causing stack trace after upgrade to struts2.0.5

2007-02-09 Thread Matt Raible
I experienced this issue yesterday and never figured out a solution. For some reason, everything works fine in AppFuse. The only thing I can think of that I changed was moving the struts.properties into struts.xml. Matt On 2/9/07, Tim Azzopardi <[EMAIL PROTECTED]> wrote: I modified my appfus

Re: [appfuse-user] RememberMe Cookie Not Being Set

2007-02-09 Thread Zakir
Matt Raible-3 wrote: > > Acegi should set the cookie for you. Adding attributes to the checkbox > Thanks for the response Matt. > > The problem was in my submit button...I was using an image with javascript > to submit the form, but for some reason it didnt like this. I changed it > to a an

[appfuse-user] struts tags in messages.jsp causing stack trace after upgrade to struts2.0.5

2007-02-09 Thread Tim Azzopardi
I modified my appfuse1.9.4 app to use struts2.0.1 and it was working fine. I've upgraded to 2.0.5 (which involves some changes to struts.xml) I have compared my web.xml and struts.xml configuration with appfuse2 m3 (over and over) and can't see any significant differences. *Every* page in my ap

Re: [appfuse-user] RememberMe Cookie Not Being Set

2007-02-09 Thread Matt Raible
Acegi should set the cookie for you. Adding attributes to the checkbox field shouldn't affect anything. Matt On 2/9/07, Zakir <[EMAIL PROTECTED]> wrote: Hello Experts. I am using appfuse 1.9.4, and I am trying to implement acegi's rememberMe service. I am aware that this works with appfuse

[appfuse-user] RememberMe Cookie Not Being Set

2007-02-09 Thread Zakir
Hello Experts. I am using appfuse 1.9.4, and I am trying to implement acegi's rememberMe service. I am aware that this works with appfuse right out of the box, but I have some how managed to mees it up. From what I see, my ACEGI_SECURITY_HASHED_REMEMBER_ME_COOKIE_KEY is not even being set in my

Re: [appfuse-user] Weird problem with one-to-many and composite id

2007-02-09 Thread Matt Raible
I haven't - if you can avoid composite keys with Hibernate - your life will be much easier. I know that doesn't help though. ;-) Matt On 2/9/07, Travers Snyman <[EMAIL PROTECTED]> wrote: I think my problem is really that the foreign key is part of the composite id. Has anyone done something

RE: [appfuse-user] Weird problem with one-to-many and composite id

2007-02-09 Thread Travers Snyman
I think my problem is really that the foreign key is part of the composite id. Has anyone done something like this? From: Travers Snyman [mailto:[EMAIL PROTECTED] Sent: 09 February 2007 01:54 PM To: users@appfuse.dev.java.net Subject: [appfuse-user] Weird prob

Re: [appfuse-user] JSF or Struts 2.0 ??

2007-02-09 Thread Matt Raible
Struts 2: http://raibledesigns.com/page/rd?entry=re_what_web_application_framework ;-) Actually, the decision really depends on what type of project you're developing. If you have a lot of forms (particularly more than one per page), JSF or Tapestry will work much better because they'll manage

[appfuse-user] JSF or Struts 2.0 ??

2007-02-09 Thread Petar Zaprianov
Hi all, Im about to start with a new application and i want to know what do you think on using JSF or Struts 2.0. Tks -- Atte: Petar Zaprianov Doychev

Re: [appfuse-user] Update child properties of User object

2007-02-09 Thread Matt Raible
On 2/9/07, Jarek Gilewski <[EMAIL PROTECTED]> wrote: Hello, I have added Projects property to user object (projects the user is involved in). For this property I have setProjects and getProjects. The tables looks like: app_user --> user_project --> project I get the user information from AC

Re: [appfuse-user] Log nightmare

2007-02-09 Thread Matt Raible
I would try upgrading to 2.0-m3 or 2.0-m4-SNAPSHOT. Matt On 2/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I believe it is 2.0-SNAPSHOT! Tommy [EMAIL PROTECTED] wrote: > > First of all I am not running the standard archetype Appfuse 2 setup, I > have created my project and simply depen

[appfuse-user] Update child properties of User object

2007-02-09 Thread Jarek Gilewski
Hello, I have added Projects property to user object (projects the user is involved in). For this property I have setProjects and getProjects. The tables looks like: app_user --> user_project --> project I get the user information from ACEGI security context and want to get the projects from t

Re: [appfuse-user] Log nightmare

2007-02-09 Thread [EMAIL PROTECTED]
I believe it is 2.0-SNAPSHOT! Tommy [EMAIL PROTECTED] wrote: > > First of all I am not running the standard archetype Appfuse 2 setup, I > have created my project and simply depend on the Appfuse -data/service/war > modules. > NOw my problem is with the commonslog, I just can't get any debug > i

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

2007-02-09 Thread Matt Raible
The error says it can find com.opensymphony.xwork2.interceptor.Interceptor, but interface file should exist: http://struts.apache.org/2.x/xwork-apidocs/com/opensymphony/xwork2/interceptor/Interceptor.html My guess is something happened while you were downloading JARs - can you rm -r ~/.m2/reposi

Re: [appfuse-user] Log nightmare

2007-02-09 Thread Matt Raible
What version of appfuse-service are you using? We mistakenly packaged a log4j.xml in the JAR at one point. Matt On 2/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: First of all I am not running the standard archetype Appfuse 2 setup, I have created my project and simply depend on the App

Re: [appfuse-user] applicationContext-resources.xml and hibernate.cfg.xml

2007-02-09 Thread Matt Raible
On 2/9/07, viggo <[EMAIL PROTECTED]> wrote: I created in m2 a modular spring project, which I have tried to update on every new milestone. Today (running m4) I have two applicationContext-resources.xml, one in core/src/test/resources and one in web/src/main/resources. Do I need both? If yes, wh

Re: [appfuse-user] Including Apache Cayenne in Appfuse

2007-02-09 Thread Matt Raible
If someone is willing to contribute the code, write documentation and support it on the mailing lists - I'm fine with adding it. Matt On 2/9/07, Struts2 Fan <[EMAIL PROTECTED]> wrote: Hi, I just think that extending the coverage of appfuse with apache Cayenne would be nice. http://cayenne.a

[appfuse-user] Log nightmare

2007-02-09 Thread [EMAIL PROTECTED]
First of all I am not running the standard archetype Appfuse 2 setup, I have created my project and simply depend on the Appfuse -data/service/war modules. NOw my problem is with the commonslog, I just can't get any debug information, no matter what I do nothing gets logged when the log statments

Re: [appfuse-user] Style problem with german version of AppFuse

2007-02-09 Thread Matt Raible
Peter - can you enter an issue for this in JIRA so we can track it in the release notes? http://issues.appfuse.org/browse/APF Thanks, Matt On 2/9/07, Peter Schneider-Manzell <[EMAIL PROTECTED]> wrote: Hi! There seems to be a small style problem with the german version of AppFuse in the navb

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

2007-02-09 Thread Matt Raible
You can safely ignore these issues. Eclipse is complaining about valid HTML and XML and while it may be right for #1, that's not a file we produce. The last 3 are invalid errors IMO. Matt On 2/9/07, galen <[EMAIL PROTECTED]> wrote: archetype i used is basic-struts, the errrors is following:

Re: [appfuse-user] Call default JSF managed bean method

2007-02-09 Thread [EMAIL PROTECTED]
Matt I am already using it in my project and it works just fine. Documentation isn't the best though. Still haven't really figured out what to do with the optional default that you can apply in the onload-config.xml. If you want I can send the jar and pom files to you. /Tommy [EMAIL PR

[appfuse-user] applicationContext-resources.xml and hibernate.cfg.xml

2007-02-09 Thread viggo
I created in m2 a modular spring project, which I have tried to update on every new milestone. Today (running m4) I have two applicationContext-resources.xml, one in core/src/test/resources and one in web/src/main/resources. Do I need both? If yes, what should the content be? core/src/test/resour

[appfuse-user] Weird problem with one-to-many and composite id

2007-02-09 Thread Travers Snyman
Hi, I have a one-to-many relationship model with the child side not having a primary key. So I use a composite key. The foreign key on the child side is part of the composite key. When I persist the model, the parent side is written to the table, but instead of an insert of the child side, if I lo

[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

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

2007-02-09 Thread Michael Horwitz
We have seen this before - it is maven related. You need to run mvn -U integration-test to update the core Plexus libraries in Maven. After that all should work as expected :-) Mike. On 2/8/07, Matt Raible <[EMAIL PROTECTED]> wrote: Can you attach your pom.xml, or just paste in the section?

[appfuse-user] Wrong german translation

2007-02-09 Thread Peter Schneider-Manzell
Hi! Theres a wrong translation in the german version of Appfuse 2.0-m3 and 1.9.4 In "ApplicationResources_de.properties" "menu.admin.reload=Optionen für erneutes Laden" Should be changed to "menu.admin.reload=Optionen neu laden" Added Issue http://issues.appfuse.org/browse/APF-638 Bye, Pet

[appfuse-user] Style problem with german version of AppFuse

2007-02-09 Thread Peter Schneider-Manzell
Hi! There seems to be a small style problem with the german version of AppFuse in the navbar (Text for key "menu.user" si too long). See the image attached. Problem can be reproduced with all demos (Only the Struts demo looks a little bit different due to the other CSS file) and german as default