On Tue, May 5, 2009 at 23:22, Krishnakant <krm...@gmail.com> wrote:
> Now my question is while I was reading grok tutorials, I realise that I
> could not quite find some widgets which can do dynamic self updating or
> database based validations.

Eeeehhhh, no, they are HTML widgets. You might as well ask for
SQL-statements that generate HTML widgets. It just doesn't make any
sense.

> For example if a user is making an invoice, the field holding entered
> quantity must quickly query the db for the available current stock and
> there has to be an error message which says "you don't have sufficient
> stock for the given item ".

Yes, you want to make a Javascript app. That's fine and good. For that
you would likely want some sort of Ajax library. Grok isn't an Ajax
library, but you can use Ajax libraries with Grok if you wish.

> I believe some ajax like functionality is needed here.

Exactly.

-- 
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to