sorry about re-beginning this thread but googlegroups decided to
"close" responses.  i accidentally replied privately to adam as a
result, and will endeavour to reproduce what i wrote.

as mentioned previously here on django-users, here is the beginnings
of achieving exactly what adam is referring to - tighter integration
between django and GWT:

http://pyjamas.svn.sourceforge.net/viewvc/pyjamas/trunk/pyjs/jsonrpc/django/jsonrpc.py?view=markup

as you can see it is a combination of Django Forms with a JSONRPC
service.  i've added the "save" command (untested) to demonstrate the
point.

what needs to be added to make this useful is a "describe" command.
the "describe" command must return a description of all fields, along
with default values, sizes, lengths, types, multi-values, and
basically absolutely everything that's needed so that a GWT or Pyjamas
app can dynamically create a complete form widget at the client /
browser end.

the creation can be done by a generic class in much the same way that
as_table() works - and so it will need EXACTLY the same full set of
information.

l.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to