Re: [appfuse-user] Error after modifying and adding User model

2008-10-29 Thread Greenhorn2005
I believe your TravelAgent object needs a @Column named "t_agent_id". Matt @ManyToOne(targetEntity = TravelAgent.class) @JoinColumn(name = "t_agent_id", nullable = true) public TravelAgent getTravelAgent() { return travelAgent; } Matt, if i did understand what you mea

Re: [appfuse-user] Error after modifying and adding User model

2008-10-29 Thread Matt Raible
I believe your TravelAgent object needs a @Column named "t_agent_id". Matt On Thu, Oct 30, 2008 at 12:03 AM, Greenhorn2005 <[EMAIL PROTECTED]> wrote: > > Hello Matt, > > here is the code of user model > > public class User extends BaseObject implements Serializable, UserDetails { >

Re: [appfuse-user] Error after modifying and adding User model

2008-10-29 Thread Greenhorn2005
Hello Matt, here is the code of user model public class User extends BaseObject implements Serializable, UserDetails { private static final long serialVersionUID = 3832626162173359411L; private Long id; . private boolean credentials

Re: [appfuse-user] Ant appgen .. properties file contain baseobject..

2008-10-29 Thread Matt Raible
Not like this one. I don't know what the problem could be. Matt On Wed, Oct 29, 2008 at 11:45 PM, zhang99 <[EMAIL PROTECTED]> wrote: > > ya. 1.9.4... any issue on this version? > > > > mraible wrote: >> >> I haven't seen this issue before. Are you using AppFuse 1.9.4? >> >> Thanks, >> >> Matt >>

Re: [appfuse-user] Ant appgen .. properties file contain baseobject..

2008-10-29 Thread zhang99
ya. 1.9.4... any issue on this version? mraible wrote: > > I haven't seen this issue before. Are you using AppFuse 1.9.4? > > Thanks, > > Matt > > On Mon, Oct 27, 2008 at 3:38 AM, zhang99 <[EMAIL PROTECTED]> wrote: >> >> i use Ant appgen to generate my pojo like below >> >> public class Gh

Re: [appfuse-user] Java 1.5.0 -> WebService error

2008-10-29 Thread Matt Raible
The following page should help explain how this annotation is used. http://appfuse.org/display/APF/Web+Services Matt On Mon, Oct 20, 2008 at 1:59 AM, Christian Decker <[EMAIL PROTECTED]> wrote: > > I'm using the appfuse-basic-spring artifact and then, after > appfuse:full-source, I started devel

Re: [appfuse-user] Accessing DAOs in the controllers

2008-10-29 Thread Christian Decker
I just found out what the problem was: I had a value="pictureDao" instead of a ref="pictureDao"... I could kick myself for that. Sorry for all the fuss. Regards, Chris Anil Gangolli wrote: > > > Christian: > > You need to check which spring bean definition file you are using to > define your

[appfuse-user] Equinox Spring DM equinox

2008-10-29 Thread Erich Heil
Hi, For my new project i will try to use appfuse as an Osgi Plugin for equinox with the new Spring DM. Has anyone tried this before? It would be awesome if you got some hints how to do this. PS: Sorry for my bad English, i am not a native speaker. mfg Erich signature.asc Description: OpenPG

Re: [appfuse-user] Accessing DAOs in the controllers

2008-10-29 Thread Matt Raible
On Wed, Oct 29, 2008 at 3:29 PM, Christian Decker <[EMAIL PROTECTED]> wrote: > > > > Reference: http://appfuse.org/display/APF/AppFuse+Maven+Plugin > > > >> Stop and think before generating code! >> At first, I didn't want to add a code-generation feature like this >> because you end up with a 1-to

Re: [appfuse-user] Accessing DAOs in the controllers

2008-10-29 Thread Christian Decker
Reference: http://appfuse.org/display/APF/AppFuse+Maven+Plugin > Stop and think before generating code! > At first, I didn't want to add a code-generation feature like this > because you end up with a 1-to-1 relationship between tables/pojos, > DAOs and Managers. On most of my projects, I hav

[appfuse-user] IE6 SSL + no-cache Problem

2008-10-29 Thread EdwardB
Hello all, There's a reasonably well-documented problem with IE6's interpretation of "Pragma: no-cache" and "Cache-control: no-cache" headers when served over SSL. IE6 will simply fail to complete the download because it determines that it shouldn't write the file to temporary space. My question

Re: [appfuse-user] 2 Java Processes

2008-10-29 Thread Matt Raible
I haven't heard of this or been concerned with it myself. However, it might be caused by the "forkMode" setting in the surefire plugin. See the "Forking" section on the following page for more information. http://maven.apache.org/plugins/maven-surefire-plugin/howto.html Matt On Wed, Oct 29, 2008

[appfuse-user] 2 Java Processes

2008-10-29 Thread Philip Barlow
Hi All, I searched the mailing list for this problem and i couldn't find any references to it. I have noticed that sometimes when I run mvn test, the tests hang. This is not an OOM error as we discussed some time ago, it seems to me that a second java process starts up at some point during my tes

Re: [appfuse-user] Accessing DAOs in the controllers

2008-10-29 Thread Matt Raible
On Wed, Oct 29, 2008 at 9:48 AM, Anil Gangolli <[EMAIL PROTECTED]> wrote: > > Christian: > > You need to check which spring bean definition file you are using to define > your daos and which one you are using to define your managers and what's > getting included in the webapp application context sp

Re: [appfuse-user] Accessing DAOs in the controllers

2008-10-29 Thread Anil Gangolli
Christian: You need to check which spring bean definition file you are using to define your daos and which one you are using to define your managers and what's getting included in the webapp application context spring bean definitions. You are probably exposing the manager bean definitions

RE: [appfuse-user] Accessing DAOs in the controllers

2008-10-29 Thread Christian Decker
I personlly don't see the difference between a Manager and a DAO from the purely bean perspective, as they both as simple beans that are passed to the controllers. I think in my case it would be a bit of an overkill to try to create Managers, as I do not intend to create alternative frontends, oth

Re: [appfuse-user] HREF error at runtime

2008-10-29 Thread Matt Raible
The reason you're seeing the error is because Struts 2 no longer allows JSP EL expressions in its tag attribute. You might try using a nested tag like: Matt On Wed, Oct 29, 2008 at 3:39 AM, Mike King <[EMAIL PROTECTED]> wrote: > > page) > The include statement is <%@ include file="/common/tag

RE: [appfuse-user] Accessing DAOs in the controllers

2008-10-29 Thread Aaron London
I would take a step back and try passing a PictureManager, if you've implemented one, to the PictureController. I've never passed a DAO directly to a controller. Sorry, A -Original Message- From: Christian Decker [mailto:[EMAIL PROTECTED] Sent: Tue 10/28/2008 8:42 PM To: users@appfuse.

Re: [appfuse-user] HREF error at runtime

2008-10-29 Thread Mike King
taglibs.jsp itself includes these lines (see the bold) which says that the uri for s: is /struts-tags. Does this help? <%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html;charset=utf-8" %> <%@ taglib uri="http://www.springframework.org/security/tags"; pref