Hi all I'm building an web2py app on GAE which shall be able to manage different sensor types: - integer input - double input - boolean input
For each sensor I would like to be able to define a range of good values. For example the water sensor is in a good state when the input is false. The temperature sensor would be in a good state if the input is between 18.0 and 20.5. I did create a Polymodel: sensor - sensor integer - sensor double - sensor boolean Does web2py provide an out of the box interface to Polymodels? Something like SQLFORM.grid. But the "Add", "Edit" and "View" functionality should change the fields if I select an other class. For example I open the sensor form, press the "Add"-button, select the class, and enter the values which are required for this class. Or is there an other way to implement something like this? Best wishes -Luca. -- --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.