>
> 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.

Reply via email to