I use Velocity. Implemented a 'Template Service' to expose velocity engine
to pages and components. Using Velocity's datasource resource loader to
load templates from database. Here's an outline:
public interface TemplateService {
public String getMergedTemplate(String templateName, Map
contex
On Wed, 11 Jun 2014 12:25:43 -0300, Oliver Pelz
wrote:
Dear group,
Hi!
p.s.: I have also looked into this link here
http://tapestry.machina.com.br/2013/10/1/tapestry-url-rewriter-2-0-0-released
but this seem not to work for me.
I'm the author of it. Please define what "this seem not to
On Wed, 11 Jun 2014 13:06:34 -0300, Norman Franke wrote:
Compared to using another tempting engine. One more thing to learn. This
solution also works back to Tapestry 5.0, and works for any non-tapestry
pages you may have just the same.
I had just mentioned three different ways of using th
Compared to using another tempting engine. One more thing to learn. This
solution also works back to Tapestry 5.0, and works for any non-tapestry pages
you may have just the same.
Norman Franke
Answering Service for Directors, Inc.
www.myasd.com
On Jun 11, 2014, at 11:17 AM, Thiago H de Paula
Dear group,
I am facing the problem that I want to rewrite a URL's domain, e.g.:
localhost:8080/Test -> helloworld:8080/Test
I am using T5.3.7 and looked into the new LinkTransformer API because
URLRewriterRule is deprecated (http://tapestry.apache.org/url-rewriting.html
)
Since there is not mu
On Wed, 11 Jun 2014 11:14:38 -0300, Norman Franke wrote:
Or even easer, use a web client library like jsoup to fetch the page
from localhost, strip out what you don’t want, create any inline image
attachments, and send.
I'm not sure how using another library would be easier than using Tape
Will start with FreeMarker and work our way down :)
Thank you everyone with quick answers
On Wed, Jun 11, 2014 at 4:32 PM, Dmitry Gusev
wrote:
> I agree with Ilya,
> it may be easier to use some template engine for this.
>
> For example, we're using StringTemplate.
>
> The only issue when usin
I agree with Ilya,
it may be easier to use some template engine for this.
For example, we're using StringTemplate.
The only issue when using external template engine is creating URLs to the
application, because you may be sending emails out of web request scope
and LinkSourceImpl won't work with
Or even easer, use a web client library like jsoup to fetch the page from
localhost, strip out what you don’t want, create any inline image attachments,
and send.
Norman Franke
Answering Service for Directors, Inc.
www.myasd.com
On Jun 11, 2014, at 9:48 AM, Thiago H de Paula Figueiredo
wrot
Will try it like that. Thanks
On Wed, Jun 11, 2014 at 3:46 PM, Ilya Obshadko
wrote:
> I'd better use (and in fact I do use) some other template engine for
> emails. Would be much easier for everything (including plain-text emails,
> for example). My choice is FreeMarker, but Velocity is equally
On Wed, 11 Jun 2014 10:20:29 -0300, Boris Horvat
wrote:
Hi everyone,
Hi!
I was wondering would it be possible to create a page (i.e. tml and java
code) and then sending that data to the database on certain event.
basically using tapestry as a template mechanism
Yep! See tapestry-offline
I'd better use (and in fact I do use) some other template engine for
emails. Would be much easier for everything (including plain-text emails,
for example). My choice is FreeMarker, but Velocity is equally good.
You can easily implement a service that encapsulates all template
operations. You may
I'm using 5.4 and I believe all you need to do is add the following code to
your AppModule and it will handle redirection to an error page when ever
you have an exception in production mode.
@Match("RequestExceptionHandler")
@Order("after:requestExceptionHandler")
public RequestExceptionHa
Hi everyone,
I was wondering would it be possible to create a page (i.e. tml and java
code) and then sending that data to the database on certain event.
basically using tapestry as a template mechanism
Can I serve row output of the page somehow? In other words to force
tapestry to compile html fo
Does anybody know if this is a framework bug? If so I'll create a jira
issue for it.
On Tue, Jun 10, 2014 at 11:56 AM, George Christman
wrote:
> Sorry, forgot to mention my version, 5.4 beta-10
>
>
> On Tue, Jun 10, 2014 at 11:52 AM, George Christman <
> gchrist...@cardaddy.com> wrote:
>
>> Hi
I am trying to have the Exception page shown in Tapestry when my GridDataSource
throws an exception. How do i catch a ComponentEventException and have Tapestry
redirect to the Exception page.
Your help is much appreciated!
Here is the logs..
org.mortbay.thread.QueuedThreadPool$PoolThread.run(Q
Hi Muhammad,
Here we go:
https://issues.apache.org/jira/browse/TAP5-2351
Best,
Thilo
From: Muhammad Gelbana
Sent: Wednesday, June 11, 2014 10:04
To: Tapestry users
Subject: Re: [t5.4-beta-10] Broken asset URL in Tapestry's maven archetype
Please mentio
Please mention the URL so I can "watch" it
*-*
*Muhammad Gelbana*
http://www.linkedin.com/in/mgelbana
On Wed, Jun 11, 2014 at 10:09 AM, Thilo Tanner
wrote:
> Hi Muhammad,
>
> This is something, I also recognized. The source map for the Bootstrap is
> not included in the cor
Thank you!
In fact, minified versions of library dependencies were causing problems; I
couldn't get it to work.
I have finally fixed it by downloading non-minified versions for tmpl,
image-load and canvas-to-blob modules, and updated dependencies in JS files
so everything is looked up in a single
Hi Muhammad,
This is something, I also recognized. The source map for the Bootstrap is not
included in the core stack (or the reference excluded from Bootstrap CSS
shipped with T5.4). I will file a JIRA issue.
Best,
Thilo
From: Muhammad Gelbana
Sent: W
After starting a new project based on Tapestry's maven archetype and
running it right away without further modifications, I looked into google
chrome's developer tool, the network tab and I saw that the below URL is
broken
http://localhost:8080/t5stock/assets/meta/z67dafee4/tapestry5/bootstrap/css
21 matches
Mail list logo