Changing DefaultDOMWriter settings
Ron Alsobrook <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Organization | Origin Productions, LLC |
| Message-ID | <[email protected]> |
Is there a way to easily change DefaultDOMWriter settings without having to override handleViewEvent(ViewEventContext context)? Generally, I like to remain insulated from rendering/writing details so I often make use of BTemplateViewHandler or DefaultViewHandler to handle response events. But in some cases, I'd like to turn on prettyPrinting or set cache behavior at some point in the event cycle. I know I could override handleViewEvent(ViewEventContext vec) in DefaultViewHandler but there's so much going on in there I'd rather have an easier way of changing those DefaultDOMWriter settings. If there is no such mechanism, I'll go ahead and override but I thought I'd ask first. Thanks! Ron