Re: [appfuse-user] IllegatlArgumentException with hibernate

2007-03-01 Thread 23455432
that the person is also in a 1:N relatinoship with the user? I must be missing something simple. rk mraible wrote: > > If you remove id from your equals, toString() and hashCode() methods, > does that solve anything? > > Matt > > On 3/2/07, 23455432 <[EMAIL PROTECTED]&

Re: [appfuse-user] IllegatlArgumentException with hibernate

2007-03-01 Thread 23455432
ame).toString(); } /** * @see java.lang.Object#hashCode() */ public int hashCode() { return new HashCodeBuilder(204206699, -1681338249).appendSuper( 234234234).append(this.phone).append(this.email).append(

[appfuse-user] IllegatlArgumentException with hibernate

2007-03-01 Thread 23455432
I have the following setup: User has one to many calls, user has many to many roles, user has one to many persons, call has many to many persons I am trying to model the call to person (many to many) the same way as the user to roles. When I create a new call object and try to save it I ge

Re: [appfuse-user] One to many mapping question

2007-02-19 Thread 23455432
I figured this out. Thanks. Matt Raible-3 wrote: > > Did you get this solved? Have you tried writing a DaoTest that > verifies the behavior you're seeing? > > Matt > > On 2/10/07, 23455432 <[EMAIL PROTECTED]> wrote: >> >> I have a user obje

Re: [appfuse-user] dojotype issue and scriptaculous docs??

2007-02-18 Thread 23455432
27;s causing the issue as that's the only > thing that can add headers and footers. > > What happens if you disable SiteMesh completely (by commenting out the > filter-mapping in web.xml)? > > Matt > > On 2/17/07, 23455432 <[EMAIL PROTECTED]> wrote: >> >

Re: [appfuse-user] dojotype issue and scriptaculous docs??

2007-02-17 Thread 23455432
gt; > I would suggest trying to figure out the path that Dojo uses to load > its templates - and then configure decorators.xml to not decorate > those templates. You might also try removing FORWARD from the filter > mapping for SiteMesh. > > Matt > > On 2/16/07, 23

[appfuse-user] dojotype issue and scriptaculous docs??

2007-02-16 Thread 23455432
Whenever I use the in my JSP, for the div, the header and the footer of the app are included. any ideas? Are there any resources for creating cool pages with scriptaculous... I just feel like I don't know where the docs are. -- View this message in context: http://www.nabble.com/dojotype-is

Re: [appfuse-user] Need Help for Web services using struts framework

2007-02-16 Thread 23455432
Is the null pointer exception because of trying to access the dao? Are you setting the dao in your beans? Sarav wrote: > > I want to resue my business logic from struts action class file > to create a web services without changing any code. I put my logic > in service.impl class

[appfuse-user] Dojo Display Issue

2007-02-16 Thread 23455432
I believe I have integrated Dojo, but whenever I use a page from the Dojo library, it shows me the header and footer around the Dojo page itself... so I have multiple headers and footers appearing whenever I use dojo divs. Has anyone else had this issue? I tried to follow the directions in htt

Re: [appfuse-user] DWR not executing in form

2007-02-15 Thread 23455432
Thanks... I was having path issues in loading the scripts. It is working now. any suggestions on autocomplete? ~rk Matt Raible-3 wrote: > > You should try using Firebug to see if you have any JavaScript issues: > > http://getfirebug.com > > Matt > > On 2/15/07, 23

[appfuse-user] DWR not executing in form

2007-02-15 Thread 23455432
I have created a userDWRManager and the http://localhost:8080/app/dwr lists the manager. I can click on it and test the functions, and the function that I am using "getPersons" gives me the correct data as well. I copied the two script lines that the help page (when I click on userDWRManager) li

[appfuse-user] txProxyTemplate bean not found

2007-02-14 Thread 23455432
I am going through the tutorial to get a dwr page working and when I deploy I have the following error: ERROR [main] [/shotoncall].listenerStart(3767) | Exception sending context initialized event to listener instance of class org.appfuse.webapp.listener.StartupListener org.springframework.beans

Re: [appfuse-user] Parent object updates child object in one-to-many

2007-02-14 Thread 23455432
> !"".equals(request.getParameter("id")) > && request.getParameter("cancel") == null) { > // populate user object from database, so all fields don't > need to be hidden fields in form > return getUserManager().get

Re: [appfuse-user] Parent object updates child object in one-to-many

2007-02-14 Thread 23455432
ion. > > Matt > > On 2/14/07, 23455432 <[EMAIL PROTECTED]> wrote: >> >> I am using STruts. In which case, I should put the form in session. What >> does >> that mean? I noticed that in the form there are some hidden inputs like >> >> >>

Re: [appfuse-user] Parent object updates child object in one-to-many

2007-02-14 Thread 23455432
I am using STruts. In which case, I should put the form in session. What does that mean? I noticed that in the form there are some hidden inputs like Should I do the same for my personList? thanks. Matt Raible-3 wrote: > > On 2/14/07, 23455432 <[EMAIL PROTECTED]> wrote: &g

[appfuse-user] Parent object updates child object in one-to-many

2007-02-14 Thread 23455432
I have a user object that contains many persons in a one-to-many bag relationship. The relationship is set up as follows: // USER class /** * @hibernate.bag name="persons" lazy="false" cascade="save-update" * @hibernate.collection-key column="user_id" * @hibernate.collection-one

Re: [appfuse-user] Displaying information in one-to-many bag

2007-02-11 Thread 23455432
uld I just create a new controller, or add to the User controller? thanks again. ~rk Matt Raible-3 wrote: > > I believe you need to use ${userForm.personList} instead of > ${user.personList}. > > Matt > > On 2/11/07, 23455432 <[EMAIL PROTECTED]> wrote: >> &

Re: [appfuse-user] Displaying information in one-to-many bag

2007-02-11 Thread 23455432
ction to User.java which is similar to the getRoleList function. Thanks. ~rk 23455432 wrote: > > This is correct. I just checked, and struts is being used. > > The way I set up my relationship is shown below. I tried to follow the > weblog tutorial posted on the tutorial

Re: [appfuse-user] Displaying information in one-to-many bag

2007-02-11 Thread 23455432
return userId; } public void setUserId(Long userId){ this.userId = userId; } Matt Raible-3 wrote: > > Which version of AppFuse? I'm assuming 1.9.x. If so, you're using > Struts. > > On 2/11/07, 23455432

Re: [appfuse-user] Displaying information in one-to-many bag

2007-02-11 Thread 23455432
> results. > > Matt > > On 2/11/07, 23455432 <[EMAIL PROTECTED]> wrote: >> >> So I have set up a one-to-many relationship between my user and persons. >> Now >> I would like to display all the persons that are associated with a user, >> add >> a pers

[appfuse-user] Displaying information in one-to-many bag

2007-02-11 Thread 23455432
So I have set up a one-to-many relationship between my user and persons. Now I would like to display all the persons that are associated with a user, add a person to a user's person list and edit the persons in there. I am not sure how to start doing this. Should I set up a new controller/form/act

[appfuse-user] One to many mapping question

2007-02-10 Thread 23455432
I have a user object with whom i would like to relate multiple "persons" that contain some trivial information. I am new to the whole appfuse/webdev. This is what I have done so far: Added a set of persons (i call them contacts) to the user doing the following: /** * @hibernate.set table=