Calling in controller

$c->create_captcha();

imediatelly displays the image. How can be the image passed to TT view?

In your TT template:
[% c.create_captcha %]

Accoring to the code I guess it is meant as calling create_captcha() in a controller that is accessed via an img tag:

 <img src="http://my.app/createcaptcha"; />

...where "createcaptcha" is the controller calling the Plugin::Captcha method.


--
rainboxx Matthias Dietrich
Freier Software Engineer

rainboxx                  |  Tel.: +49 (0) 151 / 50 60 78 64
Tölzer Str. 19            |  Mail: m...@rainboxx.de
70372 Stuttgart           |  WWW : http://www.rainboxx.de

XING: https://www.xing.com/profile/Matthias_Dietrich18
GULP: http://www.gulp.de/profil/rainboxx.html

NEU: Auf Perl spezialisierte Projektvermittlung!
     Bald mehr auf http://www.perl-experten.de



Attachment: PGP.sig
Description: Signierter Teil der Nachricht

_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to