> From: Charles N. Harvey III [mailto:[EMAIL PROTECTED]] > > 1) For a really simple test I want to create one class, and one view page. > In this class file, what domify classes do I have to import/extend to > create a dom object? And, is there a certain type of collection that I > have to use, ie. Map, Collection, Vector...
You don't need to do anything special with your controllers to use domify. Just make sure you define the DomifyViewFactory module in your maverick.xml, and use <view type="domify"> (or set the default-view-type). Domify will translate the standard Java2 collection classes (which all basically implement Collection or Map). Vector implements List which extends Collection, so that's fine, but ArrayList is a much better implementation. > 2) I was wondering if some Velocity functionality could be added to > domify. > Specifically, the Tools subproject. The ability to write a tool and > have > it accessible to every view page via reflection is quite amazing. And > I > was wondering if such a thing would be possible in xsl. I'm not sure exactly what you're trying to do, but check out DVSL and Maverick's DVSL transform in the opt-velocity package. Much of the declarative power of XSL, but using the Velocity template engine. You can use domify with DVSL transforms - I wouldn't try to run a really high-traffic site this way, but it works great. Good luck, Jeff Schnitzer [EMAIL PROTECTED] ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Mav-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mav-user Archives are available at http://www.mail-archive.com/
