| Paste number 59505: | Notes on funds |
| Pasted by: | djfiander |
| 7 months, 1 week ago | |
| #openils-evergreen | Context in IRC logs | |
| Paste contents: |
| 21:46 < berick> actually, the fund, funding_source, and provider code will have their own internal local caches 21:47 < berick> as does the OrgUtils code 21:47 < djfiander> I need the full list of funds and providers, for building pulldown menus 21:47 < berick> i can help you there, too 21:49 < berick> openils.acq.[Fund|FundingingSource].createStore will retrieve all of the objects based on a given perm that the user has access to 21:49 < djfiander> I figure a couple of select widgets embeded in the dojo grid :) 21:49 < berick> i need to expand the code to accept a user-defined perm and .. 21:50 < berick> but it should be enough to get you started 21:50 < djfiander> heh... as long as I'm willing to rebuild my env with the new structure ;-) 21:50 < berick> so, you can create a ditit.form.FilteringSelect and set the store to a store created by one of those methods 21:50 < berick> heh 21:51 < berick> yeah.. there will be breakage |
Annotations for this paste:
| Annotation number 1: | grid access functions |
| Pasted by: | djfiander |
| 7 months, 1 week ago | |
| Context in IRC logs | |
| Paste contents: |
| 21:54 < miker_> if you just want to display values, use the get: property of the column def in the grid structure to define a function for finding the value |