pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gk_br...@verizon.net>
Subject Re: Examples still using namespace.get() instead of @BXML
Date Mon, 06 Jun 2011 16:43:09 GMT
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â„¢




Mime
View raw message