Re: S2: s:include tag and s:param

2008-07-28 Thread Eric Nielsen
Dave Newton newton.dave at 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 s:param.../ using both c:out value=${param.foo}/ and ${param.foo}. If the value is coming from the

Re: S2: s:include tag and s:param

2008-07-29 Thread Eric Nielsen
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 better

After upgrading from Struts 2.0.x to 2.2.x, static content no longer served...

2010-10-18 Thread Eric Nielsen
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

Using FreeMarker (or Velocity) to template emails sent by a struts2 app?

2010-10-18 Thread Eric Nielsen
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

Re: After upgrading from Struts 2.0.x to 2.2.x, static content no longer served...

2010-10-18 Thread Eric Nielsen
be mapped to an Action. If you set this constant to , then DefaultActionMapper will map all the request to Action. You can read the source of method [getMapping]/[dropExtension]/[dropExtension] for more information. On Mon, Oct 18, 2010 at 4:25 PM, Eric Nielsen ericdniel...@gmail.com wrote: I recently

After upgrading from Struts 2.0.x to 2.2.x, static content no longer served...

2010-10-20 Thread Eric Nielsen
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

Using FreeMarker (or Velocity) to template emails sent by a struts2 app?

2010-10-20 Thread Eric Nielsen
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