[Seaside] ReCaptcha on Seaside 3.0

Norbert Hartl norbert at hartl.name
Thu Jul 22 19:31:20 UTC 2010


On 22.07.2010, at 21:17, dtrussardi at tiscali.it wrote:

> Nobert,
> 
> 	in reality my interested is to use ReCaptcha  into Gemstone.
> 
> 	I work on pharo only for test to solve the problem.
> 
Ok, there is less chance to get it going in pharo. If you are not in a hurry than I might help later. I'm planning to go to the newest gemstone myself as soon as I find some time. I can fix it then. But this could take a week or two.

Norbert

> 
> In original i do into Gemstone  :
> 
>> 
>>> 
>>> 	i load the RemoteService-Recaptcha-noha.7 into GLASS image with Seaside30.
>>> 
>>> 	The RSRecaptchaConfiguration class define the method:
>>> 
>>> 	attributes
>>> 	^{
>>> 		(WAStringAttribute key: #publicKey group: #recaptcha).
>>> 		(WAStringAttribute key: #privateKey group: #recaptcha).
>>> 		(WAStringAttribute key: #remoteIp group: #recaptcha).
>>> 	}
>>> 
>>> 
>>> 	Because WAStringAttribute don't define the key: group:  method i define it :
>>> 
>>> 	key: keySymbol group: groupSymbol
>>> 		| rsl |
>>> 		rsl :=  self  key: keySymbol.
>>> 		rsl group: groupSymbol.
>>> 		^rsl
>>> 
>>> 	
>>> 	After i register the captcha example application wtih :
>>> 
>>> 	RSRecaptchaExampleComponent initialize
>>> 	
>>> 	| app |
>>> 	app := WAAdmin register: self asApplicationAt: 'captcha'.
>>> 
>>>  	app configuration addParent: RSRecaptchaConfiguration instance . 
>>> 	
>>> 	app preferenceAt: #privateKey put: '6LcsEwcAAAAAAH0kf0...................'.
>>> 	app preferenceAt: #publicKey put: '6LcsEwcAAAAAAImhBhKTw.................'.
>>> 
> 
> 
> Now when i do web request of captcha  to Glass web application the browser answer:
> Unable to proceed - hit Refresh to retry
> 
> Some exceptions cannot be resumed. You will usually see this page if you hit Proceed while debugging one of these exceptions. Your request was aborted but you can retry it by refreshing the page.
> 
> 
> 
> 
> Any consideration are welcome.
> 
> 	Thanks,
> 
> 
> 	Dario
> 
> 
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100722/da2b31ff/attachment-0001.htm


More information about the seaside mailing list