questions on some moo tools components
questions on some moo tools components
- Subject: questions on some moo tools components
- From: Tim Worman <email@hidden>
- Date: Tue, 29 May 2012 12:54:06 -0700
Hello all:
I've been testing out some of the Moo Tools components when I have a chance. Today I've been trying some of the options for "in place" text fields. I just want to see if a problem I'm having is actually a problem with the operator. :-)
I've inserted the fancy in place editor into my app just as it is in the Moo Tools example. For some reason I can't figure out, the save and cancel buttons in the edit mode do not return the editor to view mode. My wod definitions for the buttons look like this:
FancySave : MTAjaxSubmitButton {
action = savePerson;
updateContainerID = "FullPersonViewUpdater";
value = "save";
class = "btn btn-primary";
onClick = "fancySave()";
}
FancyCancel : AjaxFunctionLink {
class = "btn";
onclick = "fancyCancel()";
}
Right now I'm using the same css as the example and "FullPersonViewUpdater" is a surrounding MTAjaxUpdateContainer. I don't know where "fancySave()" or "fancyCancel" live. (I've tried to use the Eclipse file search but right now it is in one of those moods where it generates an error on each search attempt.)
Can anyone push me in the right direction to figure out why the buttons to update the view?
Tim
UCLA GSE&IS
_______________________________________________
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