int levelsOfUndo =
ERXValueUtilities
.intValueWithDefault(System.getProperty("WODefaultUndoStackLimit"), 10);
if (levelsOfUndo == 0) {
ec.setUndoManager(null);
}
else {
ec.undoManager().setLevelsOfUndo(levelsOfUndo < 0 ? 10 :
levelsOfUndo);
}
On Dec 23, 2008, at 7:19 PM, Miguel Arroz wrote:
Hi!
Basically, that's it... I want to do it in code, not in properties
or command line arguments.
Yours
Miguel Arroz _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com
This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]