Hi Ed, I had a chance to look at your changes; looks good.
For the other readers: with the patch that Ed proposes, every document view with a path attribute will be a view with transforms internally, the first transform being the dispatch/ document transform with the given path. His patch makes it possible to have document views without a dispatch transform, functionality needed for his opt-freemarker package. If I mis-understood anything, please correct me... If everyone agrees (please take a look at CVS-HEAD) I can make a new build (v 2.2.3) next week. About the opt-freemarker package... It's great that you took the trouble to implement the friendbook example. As I do not work with Freemarker myself, I do not want to maintain it. But, if you'd like, we could give you write access, and you could maintain that module yourself. So, I hereby vote +1 for write access for Ed Ward. What about the other developers? Eelco -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ed Ward Sent: woensdag 4 augustus 2004 3:05 To: [EMAIL PROTECTED] Subject: Re: [Mav-user] opt-freemarker Hi Eelco, I appreciate you're busy at the moment but have you found time to look at the updates to DocumentView? Ed ----- Original Message ----- From: "Eelco Hillenius" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 23, 2004 7:27 PM Subject: RE: [Mav-user] opt-freemarker Sounds interesting. I am very busy with other things at the moment though, but I'll try to look at it next week. Cheers, Eelco -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ed Ward Sent: donderdag 22 juli 2004 4:22 To: [EMAIL PROTECTED] Subject: [Mav-user] opt-freemarker Hi, I came across a reference to the FreeMarker templating engine a couple of weeks ago whilst reading up on the Spring framework. It looked pretty interesting so I thought I'd have a go at writing an opt-freemarker package. Unlike Velocity though FreeMarker doesn't have a dispatch servlet but I still wanted to utilise the functionality of DocumentView (the setting of the model bean attribute in the scope specified on the document view). DocumentView currently assumes the use of a dispatcher though so I've made a few updates (attached) that allow the "document" view type to optionally use the existing DocumentTransform class to perform the task of dispatching the supplied document "path" rather than use an aggregated DispatchedView instance. The updated DocumentView class no longer needs DispatchedView since the dispatch include/forward is handled by the DocumentTransform that's created when the view configuration is loaded. Could you committers have a look at the updates please and let me know what you think? opt-freemarker is currently dependent on them. many thanks, Ed Ward PS. If you'd like to look at the opt-freemarker package, I've placed a copy at http://www.commlock.freeserve.co.uk/opt-freemarker-20040722.zip (632 KB) ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idG21&alloc_id040&op=ick [INVALID FOOTER] ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com [INVALID FOOTER] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ed Ward Sent: woensdag 4 augustus 2004 3:05 To: [EMAIL PROTECTED] Subject: Re: [Mav-user] opt-freemarker Hi Eelco, I appreciate you're busy at the moment but have you found time to look at the updates to DocumentView? Ed ----- Original Message ----- From: "Eelco Hillenius" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 23, 2004 7:27 PM Subject: RE: [Mav-user] opt-freemarker Sounds interesting. I am very busy with other things at the moment though, but I'll try to look at it next week. Cheers, Eelco -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ed Ward Sent: donderdag 22 juli 2004 4:22 To: [EMAIL PROTECTED] Subject: [Mav-user] opt-freemarker Hi, I came across a reference to the FreeMarker templating engine a couple of weeks ago whilst reading up on the Spring framework. It looked pretty interesting so I thought I'd have a go at writing an opt-freemarker package. Unlike Velocity though FreeMarker doesn't have a dispatch servlet but I still wanted to utilise the functionality of DocumentView (the setting of the model bean attribute in the scope specified on the document view). DocumentView currently assumes the use of a dispatcher though so I've made a few updates (attached) that allow the "document" view type to optionally use the existing DocumentTransform class to perform the task of dispatching the supplied document "path" rather than use an aggregated DispatchedView instance. The updated DocumentView class no longer needs DispatchedView since the dispatch include/forward is handled by the DocumentTransform that's created when the view configuration is loaded. Could you committers have a look at the updates please and let me know what you think? opt-freemarker is currently dependent on them. many thanks, Ed Ward PS. If you'd like to look at the opt-freemarker package, I've placed a copy at http://www.commlock.freeserve.co.uk/opt-freemarker-20040722.zip (632 KB) ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idG21&alloc_id040&op=ick [INVALID FOOTER] ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com [INVALID FOOTER] ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com [INVALID FOOTER]