This is actually done for a reason. @BXML only works for trusted code. Using 
get() allows many of the tutorials to be executed as unsigned applets.

On Jun 6, 2011, at 12:24 PM, Edvin Syse wrote:

> I noticed on for example http://pivot.apache.org/tutorials/data-binding.html 
> components are extracted from the namespace manually instead of using the 
> @BXML annotation. I think it is important to upgrade this to not discourage 
> new potential users of the framework, as:
> 
> loadJavaButton = (PushButton)namespace.get("loadJavaButton");
> 
> looks horrible compared to:
> 
> @BXML PushButton loadJavaButton;
> 
> Is there a ticket or plan to upgrade the examples?
> 
> -- Edvin

_____
Big Life: It's What You Make Itâ„¢



Reply via email to