Thanks, I know that that sentiment has been put out there. The challenge is that I have a couple of pages that I want to email. They are very close to existing web-pages so I'd like to be able to take advantage of my tapestry templates. I have contemplated just using a UrlConnection and grabbing the bytes that way, but that doesn't sit well...
Josh On 9/22/07, Chris Lewis <[EMAIL PROTECTED]> wrote: > > It's been suggested that using T5 rendering core as a generic templating > system is bad. Using a different system designed for this was the > suggested solution (something like velocity). My guess is that won't sit > well with you, being that you've progressed as far as you have. At any > rate, good luck and share your experience! > > Josh Canfield wrote: > >> Service interface org.apache.tapestry.services.Environment is matched > by 2 > >> services: Environment, MyEnvironment. Automatic dependency resolution > >> requires that exactly one service implement the interface. > >> > >> > > > > It appears that I can't Alias Environment with my own implementation > because > > I can't bind MyEnvironment since it implements the Environment interface > > (the above error). > > > > I've poked around a lot and I'm not finding a solution. > > > > I'd like to render 2 pages in one request, one for sending an email, and > one > > to reply to the http request. Environment has a perthread scope, so when > my > > email page renders it clears the environment and now my form from my > html > > page tries to use the environment and fails. > > > > Thoughts? > > > > Josh > > > > > > -- -- TheDailyTube.com. Sign up and get the best new videos on the internet delivered fresh to your inbox.
