> Thanks for that link to the web3py code, that looks much neater, but I 
guess not all the functionality is there yet which might help.

If you don't want to wait for a new web<n>py release you can try the 
following in web2py:

def myaction():
    form = ...
    return dict(form.as_dict())

Then you can use whatever serialization method you like for the client to 
process form definitions and data. You can also directly return 
form.as_json(), in a more simple approach (no services or templates).

For custom forms in the UI, it's possible to define tables with 
migrate=False and then use them when creating forms as posted here:

https://groups.google.com/d/msg/web2py/DCsnCkQnIoA/GQRG-Lja9p0J


-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to