On Nov 10, 2011, at 4:48 PM, Nate Coraor wrote:

> On Nov 10, 2011, at 1:40 PM, Oren Livne wrote:
>> Dear Nate,
>> Uncommenting those three lines worked. I also tried to implement a change to 
>> the Grids feature that would allow injecting app.config into Grids, but this 
>> doesn't work yet. (Are all variables such as operations and standard_filters 
>> read and used by the framework as static vars even before a UserListGrid 
>> object is created?)
> Hi Oren,
> Unfortunately, I'm not familiar enough with Grids to be able to answer this 
> off the top of my head.

The best approach for doing this is to change grid attributes in a method whose 
signature includes trans ( so you have access to things like trans.app, etc ) 
before the method renders the grid.  Using this approach, we should be able to 
check a config setting before rendering the UserLisGrid so that the delete / 
purge Grid operations are rendered based on the config setting (rather than 
being commented out ). The current code in the UserListGrid is very old and 
needs updating in this way.  I am in the middle of other stuff currently, but 
I'll try to take a look at this shortly ( unless other get a chance first ).

Greg Von Kuster
Galaxy Development Team

Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:


Reply via email to