> I never understand how to "inject" mock members annotated
> with @Parameter into a page when testing with Testify.

I'm not sure I understand the question. I thought @Parameter only made 
sense for components - not pages.


> PS. Oh, what about @Environmental members? Same question.

I haven't tried this for testing but, to get things to be available 
through @Environment, you get hold of (inject or lookup) the "Environment" 
service and use the push() and pop() methods. Have a look at this 
documentation:
http://tapestry.apache.org/tapestry5/guide/env.html

- Paul







---

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and delete this e-mail. Any unauthorized copying, 
disclosure or distribution of the material in this e-mail is strictly forbidden.

Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional 
EU corporate and regulatory disclosures.

Reply via email to