Re: Using Jivan in a Barracuda App
David R Robison <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
Thanks, when I try this without the xmlc.jar file, it complains that the class org/enhydra/xml/io/DOMFormatter is not found. Is the xmlc.jar files still required? david Thelmo Loisio wrote: >On Tue, 2003-11-18 at 17:19, David R Robison wrote: > > >>Do you have an example of what to set in the object-repository to use jivan? >>David >> >> > >From the contrib package here it is snippet from >object-repository.xml... > ><object name="$df" >class="org.enhydra.barracuda.core.util.dom.XMLCDeferredParsingDOMFactory"> > <!-- set the servlet context so that the dom factory can read >web.xml context params --> > <method name="setServletContext" arg="$sc"/> > </object> > > <object class="org.enhydra.barracuda.core.util.dom.DefaultDOMLoader"> > <method name="getGlobalInstance" return="$dl"/> > </object> > >... and from java within an handleViewEvent method... > >Document page = >DefaultDOMLoader.getGlobalInstance().getDOM(WaitHTML.class, >context.getViewCapabilities().getClientLocale()); > > > > -- David R Robison Open Roads Consulting, Inc. 708 S. Battlefield Blvd., Chesapeake, VA 23322 phone: (757) 546-3401 e-mail: [email protected] web: http://openroadsconsulting.com