You should make this *very obvious* - put it on the wiki, in the
javadocs, and then print t-shirts saying 'Set the values of all
injectable things using the Tapestry Creator'.
As a newcomer to Tapestry I had to dig through quite a bit of mail to
find an answer for what I knew must have been a common question.
Cheers,
Nick
On 16/02/2006, at 9:34 AM, Jesse Kuhnert wrote:
You can set the values of all the injectable things by using tapestrys
"Creator" class.
http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/
tapestry/test/Creator.html
I should really add this to the wiki....
On 2/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Well, the idea is that you can provide your own mock objects
instead of
the real
services that the registry provides. This way you can have pure
unit tests
for
the page.
From Rolf Strijdhorst <[EMAIL PROTECTED]>:
Hi,
is there a way to test the injection of a hivmind service into a
page?
because the creator does not provide a full blown registry and
stuff.
thanx
Rolf
--
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: tapestry-user-
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]