Is there a good/standard way to use FreeMarker (or Velocity) to
template emails sent by a Struts2 application?
I hacked up something that works, but my solution doesn't know about
struts2, so it can't use the taglibs to produce URL. (Ie sending an
email for a new account with an activation link).
I recently upgraded from Struts 2.0.x + SmartURLs to Struts 2.2.1 +
Convention plugin. However after upgrading all my static content is
no longer being served. I read all the release notes along the way
that I could find and nothing suggests that my old approach should
have stopped working. Can
ce code.
>
>In [org.apache.struts2.dispatcher.mapper.DefaultActionMapper],
>
>it use the extension of request url to detect if this request should
>be mapped to an Action.
>
>If you set this constant to "", then DefaultActionMapper will map all
>the request to Action.
>
Is there a good/standard way to use FreeMarker (or Velocity) to
template emails sent by a Struts2 application?
I hacked up something that works, but my solution doesn't know about
struts2, so it can't use the taglibs to produce URL. (Ie sending an
email for a new account with an activation link).
I recently upgraded from Struts 2.0.x + SmartURLs to Struts 2.2.1 +
Convention plugin. However after upgrading all my static content is
no longer being served. I read all the release notes along the way
that I could find and nothing suggests that my old approach should
have stopped working. Can
So I tried the "param." access path last night. That wasn't working, the
documentation referenced a "parameters." instead. I managed to get that working
with s:component, but no luck with s:include.
I don't really care if I use component versus include; however I liked the
include slightly bette
Dave Newton yahoo.com> writes:
> It already does; not sure what I was thinking there. (I do know; I was looking
at the wrong code.)
>
> I'm able to access parameters set via a nested using both
> and ${param.foo}.
>
> If the value is coming from the action then you shouldn't even need to set
7 matches
Mail list logo