The atg.epub.servlet.TextFileAssetFormHandler lets you create and update text assets. Text assets have a property called textContent that displays the file contents and makes them available for modification.

This class uses a request-scoped component that temporarily stores its contents in the session-scoped asset info component defined for a given page. That way, one TextFileAssetFormHandler component can service all form pages that are able to work with text assets. ATG Content Administration includes one component of this class called /atg/epub/servlet/TextFileAssetFormHandler.

Instead of creating pages that explicitly use this form handler, you create an item mapping that associates this form handler component with an asset type. The forms in JSPs rely on an asset editor to read the item mapping so that, when a user requests a text asset, for example, the TextFileAssetFormHandler is used.

By default, the TextFileAssetFormHandler is available in the following contexts:

 
loading table of contents...