Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[15:39:51 CDT(-0500)] <dmccallum54> so

[15:41:10 CDT(-0500)] <JasonElwood> they're just a mess. I don't know how half of them even work

[15:41:31 CDT(-0500)] <dmccallum54> works basically the same as a typical controller-JSP relationship where the controller makes a bunch of objects available to the JSP under well-known names and the JSP renders parts of that data however it wants. but the two components are still somewhat tightly coupled to the extent that the JSP can't render anything the controller doesn't make available to it

[15:41:48 CDT(-0500)] <dmccallum54> and of course they have to agree on these well-known names

[15:41:49 CDT(-0500)] <dmccallum54> so

[15:42:07 CDT(-0500)] <dmccallum54> in this case, here is the code that populates the map of objects made available to the email template

[15:42:08 CDT(-0500)] <dmccallum54> https://gist.github.com/dmccallum/5391113