Can I see your code that does this?

I am using Struts for my UI. I want to keep the UI and EJB seperate so I have used Value Objects throughout.
I can add them to the relationship just fine, but not remove them. So once I set a Contact as part of an Alert, they are _always_ part of that Alert. For beta testing I can work around this, but I can't go live like this.




---
Thanks...
Mick Knutson
---





From: Daniel Lopez <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [Xdoclet-user] updating a m-m value object?
Date: Sat, 28 Jun 2003 18:24:08 +0200 (CEST)

Hi Mick,
I just joined the list so I have not followed the issue, but I'm using n-m
CM-relationships and I'm adding & removing relations through them without
problems. However, I'm not using Value Objects for that but the regular
Collections that are returned by the relationship methods. It might sound
obvious but have you tried that? Are you having problems just when doing so
through value objects? As I said, I'm not using them, just using Data objects
and not handling relationships through them.
Good luck,
D.


> Am I the only person trying to delete the 'n' side of m-n relationships?
> or is there just no person in the past 3 weeks of my asking willing to help
> me fix this issue?
> Can someone please help?
>
>
> I can't seem to figure out how to delete the m-n relationships. I can create
> them just fine, but when I try to call clear() on my VO, the values do not
> sem to get cleared, and they are not deleted from the relation table.
>
>
> ---
> Thanks...
> Mick Knutson
> ---
... snipped


--
This message was sent using Sake Mail, a web-based email tool from
Endymion Corporation.  http://www.endymion.com/products/sake
<< Originalmessage >>

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to