On Thu, Jan 8, 2009 at 6:10 PM, Thomas G. Willis <[email protected]> wrote: > > > On Jan 7, 3:21 pm, "Dalius Dobravolskas" > <[email protected]> wrote: > >> <snip>...ToscaWidgets are nice >> and works for me but when I want to add something unusual I have to >> make hacks and other voodoo magic. >> >> -- >> Daliushttp://blog.sandbox.lt > > It's interesting that you say that. I've been using tw a lot lately, > and it has proved to be amazingly accommodating for the supposed fancy > stuff I'm trying to do(lots of integration with jquery plugins). It > seems to hold up pretty well, though I'll admit I suspect I may be > stretching it a little past it's original intent and likely doing > something wrong or inefficient or eventually unsupported. > > Can you elaborate on the hacks/voodoo you've had to do? I now remember only one problem. I think most of you who created public comments forms have met spamming problem. The easiest way to solve this problem is captcha. If you are not google that will stop all the spam. The problem: I have not found how to add not input field (<img> for captcha). Other problem with ToscaWidgets - it's very hard to read TW source code. That's very rare experience in python world.
Continuing on captcha problem - it is not very big problem. Captcha annoys users. So what I do I put captcha key into session, auto-fill it with jQuery JSON request on page load and hide (it is outside of form but since it is hidden usually it's not big problem). Most probably secure form would work against span equally successfully but can I create secure forms with TW? -- Dalius http://blog.sandbox.lt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
