I think in Render it's a matter of refactoring the TemplateCompiler interface to support a TemplatingProvider service, for which you choose implementation with:<br><br><div style="margin-left: 40px;">@Inject<br>private TemplateCompiler<VelocityProvider> compiler;<br>
</div><br>or <br><br><div style="margin-left: 40px;">@Inject<br>private TemplateCompiler compiler;<br></div><br>Then <br><br><div style="margin-left: 40px;">compiler.compile(VelocityProvider.class, "tpl/file.tpl")<br>
</div><br>or<br><br>
<div style="margin-left: 40px;">@Inject<br>private TemplateCompiler compiler;<br><br>
</div><div style="margin-left: 40px;">@Inject<br></div><div style="margin-left: 40px;">private VelocityProvider provider;<br><br></div>Then<br><br><div style="margin-left: 40px;">compiler.compile(provider, "tpl/file.tpl");<br>
<br>etc...<br><br></div>George, does this fit your needs?<br><br>~Lincoln<br><br><br><br><div class="gmail_quote">On Mon, Aug 8, 2011 at 6:57 PM, Jason Porter <span dir="ltr"><<a href="mailto:lightguard.jp@gmail.com">lightguard.jp@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I haven't had time to look at this yet. Perhaps you (Lincoln and George) can start things off with what you think would need to change for each of the modules.<div>
<div></div><div class="h5"><br><br><div class="gmail_quote">On Mon, Aug 8, 2011 at 16:50, George Gastaldi <span dir="ltr"><<a href="mailto:gegastaldi@gmail.com" target="_blank">gegastaldi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Any evolution so far ? It would be nice to get that ready before the<br>
Beta release.<br>
<br>
Regards,<br>
<br>
George<br>
<br>
2011/8/3 Jason Porter <<a href="mailto:lightguard.jp@gmail.com" target="_blank">lightguard.jp@gmail.com</a>>:<br>
<div><div></div><div>> I need to spend some time looking at the APIs for these (Render, Reports and<br>
> Mail) and see what needs to happen. I really like the idea of Seam Render<br>
> being our pluggable template solution .<br>
><br>
> On Wed, Aug 3, 2011 at 15:38, Lincoln Baxter, III <<a href="mailto:lincolnbaxter@gmail.com" target="_blank">lincolnbaxter@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Thoughts?<br>
>><br>
>> --<br>
>> Lincoln Baxter, III<br>
>> <a href="http://ocpsoft.com" target="_blank">http://ocpsoft.com</a><br>
>> <a href="http://scrumshark.com" target="_blank">http://scrumshark.com</a><br>
>> "Keep it Simple"<br>
>><br>
>> _______________________________________________<br>
>> seam-dev mailing list<br>
>> <a href="mailto:seam-dev@lists.jboss.org" target="_blank">seam-dev@lists.jboss.org</a><br>
>> <a href="https://lists.jboss.org/mailman/listinfo/seam-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/seam-dev</a><br>
>><br>
><br>
><br>
><br>
> --<br>
> Jason Porter<br>
> <a href="http://lightguard-jp.blogspot.com" target="_blank">http://lightguard-jp.blogspot.com</a><br>
> <a href="http://twitter.com/lightguardjp" target="_blank">http://twitter.com/lightguardjp</a><br>
><br>
> Software Engineer<br>
> Open Source Advocate<br>
> Author of Seam Catch - Next Generation Java Exception Handling<br>
><br>
> PGP key id: 926CCFF5<br>
> PGP key available at: <a href="http://keyserver.net" target="_blank">keyserver.net</a>, <a href="http://pgp.mit.edu" target="_blank">pgp.mit.edu</a><br>
><br>
> _______________________________________________<br>
> seam-dev mailing list<br>
> <a href="mailto:seam-dev@lists.jboss.org" target="_blank">seam-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/seam-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/seam-dev</a><br>
><br>
><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div>-- <br><div><div></div><div class="h5">Jason Porter<br><a href="http://lightguard-jp.blogspot.com" target="_blank">http://lightguard-jp.blogspot.com</a><br>
<a href="http://twitter.com/lightguardjp" target="_blank">http://twitter.com/lightguardjp</a><br>
<br>Software Engineer<br>Open Source Advocate<br>Author of Seam Catch - Next Generation Java Exception Handling<br><br>PGP key id: 926CCFF5<br>PGP key available at: <a href="http://keyserver.net" target="_blank">keyserver.net</a>, <a href="http://pgp.mit.edu" target="_blank">pgp.mit.edu</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com">http://ocpsoft.com</a><br><a href="http://scrumshark.com">http://scrumshark.com</a><br>"Keep it Simple"<br>