Paste number 59505: Notes on funds

Index of paste annotations: 1

Paste number 59505: Notes on funds
Pasted by: djfiander
When:1 year, 2 months ago
Share:Tweet this! | http://paste.lisp.org/+19WX
Channel:#openils-evergreen
Paste contents:
Raw Source | XML | Display As
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
When:1 year, 2 months ago
Share:Tweet this! | http://paste.lisp.org/+19WX#1
Paste contents:
Raw Source | Display As
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

Colorize as:
Show Line Numbers
Index of paste annotations: 1

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.