Still hopeful for D2WList advice
Still hopeful for D2WList advice
- Subject: Still hopeful for D2WList advice
- From: Justin Tocci <email@hidden>
- Date: Wed, 25 Aug 2004 00:21:46 -0500
I've got a D2WList reusable component working with a fetchspec. Here's
my problem in a nutshell:
Enter WebObjects D2WList page.
Select an item in the list for edit.
edit the item. All is well.
change the item directly in the database to simulate another user
making an update to the same item with Microsoft Access.
go to edit the item again and i get an error saying record has changed
(user can not edit the record despite numerous re-tries).
I thought by using a fetchspec I could fetch on load, but that checkbox
and the "refreshes refetched" checkboxes aren't helping. I also thought
I could put the fetchspec in the appendToResponse method, but D2W
reusable components don't put the code for the fetchspec in the .java
file where I could do that, nor is there a saveChanges() method
anywhere that I can fiddle with.
Sorry for the lack of Java proficiency. I'm pretty sure I could fix
these issues with hand built components, its just that D2W was the only
reason I ever wanted to learn WebObjects, so I'm trying to go that way.
Problem is, locking someone out of editing a record is unacceptable in
my environment. Thanks all.
justin tocci
fort wayne, in
I still haven't got the Wonder Direct to Web frameworks working, does
anyone know if Wonder addresses this issue?
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.