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]&
ame).toString();
}
/**
* @see java.lang.Object#hashCode()
*/
public int hashCode() {
return new HashCodeBuilder(204206699, -1681338249).appendSuper(
234234234).append(this.phone).append(this.email).append(
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
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
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:
>>
>
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
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
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
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
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
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
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
> !"".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
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
>>
>>
>>
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
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
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:
>>
&
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
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
> 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
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
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=
22 matches
Mail list logo