pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edvin Syse <ed...@sysedata.no>
Subject Re: Examples still using namespace.get() instead of @BXML
Date Mon, 06 Jun 2011 17:30:03 GMT


Den 06.06.2011 19:23, skrev Greg Brown:
>> What's the technical reason why @BXML only works for trusted code?
>
> It uses AccessibleObject#setAccessible() to set private member variables, and this method
can only be called by trusted code.

OK. I'm trying to understand a bit more about how things work in Pivot, 
so if you'd bear with me: Can you give me some examples of private 
member variables that are set using bxml? I can't seem to think of a 
case where you should be able to configure something with bxml but not 
do the same programatically :) I know you probably have good reasons for 
this, just want to understand.

-- Edvin

Mime
View raw message