[web2py] Re: New Widget and Slice - SELECT_OR_ADD_OPTION

2011-02-21 Thread Massimo Di Pierro
+1 On Feb 20, 2:54 pm, Brian M wrote: > I've created a widget to augment the IS_IN_DB select widget with the ability > to add a new option record within a dialog on the same page. Check it out; > feedback is welcome. > > http://web2pyslices.com/main/slices/take_slice/121 > > ~Brian

[web2py] Re: New Widget and Slice - SELECT_OR_ADD_OPTION

2011-02-20 Thread Brian M
You could absolutely pull in the jqueryUI stuff from a local copy in your static folder. Then in your controller use something like: response.files.append(r=request, c="static", f="jqueryui/1.8.9/jquery-ui.js")response.files.append(r=request, c="static", f="jqueryui/1.8.9/themes/smoothness/jqu

[web2py] Re: New Widget and Slice - SELECT_OR_ADD_OPTION

2011-02-20 Thread tomt
I just tried your widget and it's a great idea. I was wondering if this concept could be expanded to allow a user to edit a record with a similar popup dialog. At first glance it seems that this might be possible, but I don't understand your code well enough to say for sure. A second question, I'