Thanks for the response James. The relevant part of the hivemodule.xml
in the version I downloaded looks like this:
module id=tapestry.captcha version=1.0.0
.
.
.
service-point id=CaptchaEngineService
interface=org.apache.tapestry.engine.IEngineService
invoke-factory
where did you find any documentation on tapestry-acegi ? I tried using it
breifly, but gave up as I couldn't find the source or any documentation.
On 10/5/06, Denis McCarthy [EMAIL PROTECTED] wrote:
Thanks for the response James. The relevant part of the hivemodule.xml
in the version I
HiveMind doesn't require you to explicitly set your properties. It has an
autowire feature. So, HiveMind will set those properties for you just
becuase it has service points defined which implement those interfaces.
Tapestry-Acegi is not very well documented currently, but it's not really
Thanks again James.
I see what you're saying, but the fact is that I _am_ getting an NPE
when calling a method on the LinkFactory in the CaptchaEngineService,
and the LinkFactory within the Service is indeed null (meaning that it
is not getting wired up, I assume). I'm sure I'm missing
Denis,
The tapestry-captcha library does work, at least in isolation. Have you
tried running with without the Acegi stuff baked in too? Can you turn up
logging to see what HiveMind is trying to wire in when it creates that
CaptchaEngineService? It will tell you what it wires and I'm pretty
Denis,
The hivemodule.xml file for Tapestry-Captcha will take care of wiring in the
linkFactory and imageCaptchaService.
James
-Original Message-
From: Denis McCarthy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 04, 2006 11:08 AM
To: Tapestry users
Subject: