### JXMLPad - Tutorial

Creating a JSP 1.1 editor
STEP 3: Disable invalid actions
Version 1.0
http://www.japisoft.com

``
Some actions should not be enabled for non XML editing
Inside the JSPEditor constructor after the previous part :`
// Disable the parse and format action
ActionModel.setEnabledAction( ActionModel.REFRESH_ACTION, false );
ActionModel.setEnabledAction( ActionModel.FORMAT_ACTION, false );
ActionModel.setEnabledAction( ActionModel.SEARCH_ACTION, false );
`
Previous step | Next Step