Can I do this in Web2Py?

As a way to evaluate Web2Py, I tried to reimplement the webpage in Web2Py. From the very beginning it was pretty simple, but I'm not sure if it works the way I think.

I have a simple page with an input field and a button to add an email address.

It has a menu bar that links to other pages.

And it has a pair of scrollable DIVs with content retrieved from the database.

To implement this in Web2Py, can I associate actions with various buttons and input fields? From my quick look at the sample code, it looks like all input requests are from database tables, where I have little control over formatting

I’m sure that I’m just looking at all this incorrectly, because I come from the background of J2EE, and I just need to switch my mind to another mode.

Any help pushing me in the right direction is greatly appreciated.

Ken

+5
source share
1 answer

Yes you can do it. Auto-generated forms use postback (self-learning), but this can be changed and, moreover, you can use custom forms.

I suggest sending the question to the web2py mailing list, possibly with a screenshot or sample Java code. We will send you the equivalent of web2py.

+4
source

All Articles