Hello -

I have an AjaxSortableList. After a user moves a row and then tries to edit
it, it grabs the wrong item. Am I missing something obvious?

Sortable: AjaxSortableList {

list = theList;

item = theItem;

listItemIDKeyPath = "primaryKey";

id = "list-container-id";

listClass = "sortableList";

listItemClass = "sortableListItem";

ghosting = true;

action = sortList;

index = index;

handle = "sub-col-item drag";

}


ModalWindowEdit: AjaxModalDialogOpener {

dialogId = "ModalEditWindow";

title = "Edit Skill Set";

elementName = "a";

label="Edit";

action = giveItemToDialog;

}


public void giveItemToDialog(){

itemToEdit = theItem;

}
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to