AjaxSortableList question: Edit after reorder?
AjaxSortableList question: Edit after reorder?
- Subject: AjaxSortableList question: Edit after reorder?
- From: James Cicenia <email@hidden>
- Date: Tue, 17 Jul 2012 15:45:40 -0400
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden