Hello François,
On Fri, Mar 1, 2013 at 4:06 AM, François Delpierre < [email protected]> wrote: > I'm using Web2Py for 6 months now, and I'm very happy with it. But here > are the most missing features I found in Web2Py. Most of those missing > features concerns grids/smartgrids. > > - inline_editing parameter for SQLFORM.(smart)grid to allow inline > edition of some or all fields (ajax), without the need to go on a dedicated > Edit page for every change. > - Bulk editing: select some of the lines, and change one of the field > to the same value. Very usefull when contraint IS_IN_... . > - when a string field has the requires=IS_IN_SET(...) constraint, I > would expect to have those predefined choices in the search form also, (and > possibly keep one option for the free text search.) > - Allow wildcards for simple searchs, but also regular expression if > search string withing ! or / marks. > - Allow a different representation in table than in view, in order to > be able to have short fields in table when a mapping function is defined. > For instance, if in the view forms we have company department field with > requires=IS_IN_SET('Information Technology', 'Accounting & Finance', 'Human > Resources'), and if I defined the appropriate mapping function, I would > like to see IT, A&F and HR in the table view, to be able to display more > columns. > > This is possible with represent if you use IS_IN_DB... You can use your requires=IS_IN_DB(...) than your drop down will be the way you want them to be and you can set your represent to use a different representation for the select to be able to cast more columns in the same amount of space. For this will have to make a look table with 2 differents representation field (long represent and short reprensent) and refer to one of each in your requires and represent. Also, using IS_IN_SET is only for convenience, because you hardcode your modality... Imagine there is more sector in your business you need to go back in the app code to add the new sector or change there name, it make no sens for big app so you better create look up table for those drop down anyway. Also, IS_IN_SET() prevent you to make your database respect the normal form becase it spread the same value all over the table, so you are stuck with the second normal form for this table and you have to think to update all the record if you change you IS_IN_SET() modality. > > - Option to disable the "Delete confirmation" from the smartgrid > definition. (for only one form) > - Export computed fields, either as text, either as html, or maybe > default to export links, and provide a links_export similar to links but > used for exporting data. Set links_export to None to prevent exporting > links fields. > - Autocompletion / help in the online code editor. > > Code completion is possible if you use the "amy" editor included in web2py but not available by defaut in the admin interface. https://groups.google.com/d/msg/web2py/1l9JrYVvUvM/4QkZwtY2zL4J This post is old and can't ensure that amy is still available, but I guess that it is still available... But as soon as you get more serious at web app developping you would use a IDE or a good text editor like Geany or Gedit... I start using Geany recently and it pretty near a IDE and very ligth weigth for the set of feature it offers. That what I can answer to the set of requirement you post, as I am not aware of all the web2py cooking new features... I know that inline edition is a work and progress so we will maybe have this in the near future. Richard -- > > --- > 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. > > > -- --- 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.

