[Seaside] ReCaptcha on Seaside 3.0

dtrussardi at tiscali.it dtrussardi at tiscali.it
Thu Jul 22 19:17:25 UTC 2010


Nobert,

	in reality my interested is to use ReCaptcha  into Gemstone.

	I work on pharo only for test to solve the problem.


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


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


More information about the seaside mailing list