[fusion-users] Toolbar's Button Item disabled by default

Michael Adair madair at dmsolutions.ca
Wed Mar 21 11:09:11 EDT 2012


Widgets can have a <Disabled>true|false</Disabled> element in their 
definition in the AppDef.xml which might do the trick.

Mike

On 21/03/2012 10:42 AM, Rachot Moragraan wrote:
> I believe this the buttons are specified in the ApplicationDefinition XML. Anyone please correct me if i am wrong.
>
> But try to use an authoring software or just a text editor to remove these buttons.
>
> ----- Original Message -----
> From: "firework"<alex_taillon at msn.com>
> To: fusion-users at lists.osgeo.org
> Sent: Tuesday, March 20, 2012 7:37:43 PM
> Subject: [fusion-users] Toolbar's Button Item disabled by default
>
> Hi,
>
> This one should be simple but I cannot figure out how to make a button in
> the toolbar by disabled by default.
>
> Even if I force it with this.disable() in the initializeWidget function of
> the button's widget js file, it seems to be that it gets enabled back.
>
> Any suggestions,
>
> Thank you
>
> --
> View this message in context: http://osgeo-org.1560.n6.nabble.com/Toolbar-s-Button-Item-disabled-by-default-tp4639181p4639181.html
> Sent from the Fusion Users mailing list archive at Nabble.com.
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users


More information about the fusion-users mailing list