Re: Loading templates at run-time in Tapestry 5.4

2016-02-29 Thread mailingl...@j-b-s.de
Well, Freemarker, Velocity. Tapestry Offline all require some dev knowledge. And I did not say you give your users a standard dataset, I said give them a standard way to describe it like json or xml. Thus transformation is like: array --> T5 loop (table, ol, ul) elements --> div's or whatever at

Re: Loading templates at run-time in Tapestry 5.4

2016-02-29 Thread Andreas Fink
Hi David. If you like the style of templating Tapestry offers i can only recommend using the Thymeleaf template engine over Freemarker. http://www.thymeleaf.org/ >> early 80ies jsp tag libs Haha, not bad :-) Cheers, Andi. On 01 Mar 2016, at 2:25 , David Diaz wrote: > Hi Jens, > > Yes, not

Re: Loading templates at run-time in Tapestry 5.4

2016-02-29 Thread David Diaz
Hi Jens, Yes, not all users will have software development backgrounds (of course). However, our users will not be the ones developing these renderer classes/templates, and thus it's fine if doing this requires some SDLC and Tapestry knowledge. I know it sounds a bit outlandish, but requirements a

Re: Loading templates at run-time in Tapestry 5.4

2016-02-29 Thread mailingl...@j-b-s.de
Hi David! Thanks for the explanation. Unfortunately I doubt your approach is the way to go. You are forcing all your users to get familiar with Tapestry, so they are all really aware of software development, java, Testing, the dev pipeline and everything? Who makes sure the tml and fictious jav

Re: Loading templates at run-time in Tapestry 5.4

2016-02-29 Thread David Diaz
Hi Thiago, I checked out Freemarker - that seems exactly like what I wanted! It would be better if I could just use tapestry directly but this works just fine as well. Thanks, David.

Re: Loading templates at run-time in Tapestry 5.4

2016-02-29 Thread David Diaz
Hi all, Thanks for the replies! I checked out your link Barry - it doesn't seem to be exactly what I want. (I'll explain later in the reply... I'm still new to mailing lists). Thiago & Jens: How I'm doing fetching-code-outside is someone writes a .java file that implements an interface. Say it ha

Re: Loading templates at run-time in Tapestry 5.4

2016-02-29 Thread mailingl...@j-b-s.de
I see. So a tapestry TML without a JAVA class is not considerably dynamic as it has no business logic at all. Either your 3rd party delivers TML+CLASS (only components from my point of view) than you can integrate it as module. But this is far away from "dynamic". If you provide the logic, the T

Re: Loading templates at run-time in Tapestry 5.4

2016-02-29 Thread Thiago H de Paula Figueiredo
On Mon, 29 Feb 2016 01:18:43 -0300, David Diaz wrote: Hi all, Hi! I have been using Tapestry for a little bit now and I have run into one problem that I can't figure out how to solve. In my application I need to be able to load external code & HTML to display to the user from a trusted s

Re: Loading templates at run-time in Tapestry 5.4

2016-02-29 Thread Barry Books
I did something like this a while ago. I stored the .tml file on Amazon S3 and I wrote an S3 asset to load the template. The code is here https://github.com/trsvax/tapestry-aws On Monday, February 29, 2016, David Diaz wrote: > Hi Jens, > > Yes I have external pages that I need to integrate. A

Re: Loading templates at run-time in Tapestry 5.4

2016-02-29 Thread David Diaz
Hi Jens, Yes I have external pages that I need to integrate. And by code I mean the actual .java page that would (hopefully) power the .tml. The problem I have is that I need to (obviously) render content in a specific way, but the application I am writing needs to load the templates dynamically.