Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: Disabling the Processing/Busy gif

  1. #1
    Join Date
    May 2010
    Posts
    18

    Question Disabling the Processing/Busy gif

    I have about twenty input components and one execute button in a dashboard. Is there a way to disable the Processing/Busy gif while users are selecting values from the components? I just need to enable the gif when the user click the execute button.

  2. #2
    Join Date
    Jan 2006
    Posts
    245

    Default

    mlui,

    Are you using autocomplete boxes? The busy icon is displayed only with that type of input component.

    The busy indicator is called whenever we've an interaction between the Dashboard and the server through Ajax. You can have such a behavior as soon as the fireChangeEvent is fired or the Dashboard.processChange method is called.

    If you use Autocomplete input component the processChange method is called very often because the component interacts with the server to get all the possible values based on the user input and in that case you have the busy icon showing. There isn't any option to disable that icon to appear, I'm sorry.

    If you use TextInputComponent the busy icon isn't displayed because you never have server interaction while the user is filling the text box.

    Regards
    S.
    Follow Me on Twitter: sramazzina
    My Skype account: sramazzina
    My Blog
    View my profile on LinkedIn: http://www.linkedin.com/in/sramazzina
    Author of Pentaho Data Integration Kitchen How-To and Pentaho Business Analytics Cookbook

    Join us on IRC server Freenode.net, channel ##pentaho ##saiku

  3. #3
    Join Date
    May 2010
    Posts
    18

    Default

    Most of the components are of the selectMultiComponent type. Whenever an option is selected, the "Processing" icon is displayed. There is absolutely no way of disabling this behavior at all? Either globally or individual component?

  4. #4

    Default

    Hi,

    Yes, there´s a way. Just edit pentaho-solutions/system/pentaho-cdf/js/Dashboards.js and comment the following calls:

    Dashboards.showProgressIndicator();

    Dashboards.hideProgressIndicator();

    This is the quick way, but for sure you can adjust the behaviour better with some logic (for example using a switch to enable/disable the progress indicator when needed). I prefer to avoid using the progress indicator for a better user experience (IMHO).

  5. #5
    Join Date
    Jan 2006
    Posts
    245

    Default

    ... of course you can do anything by customizing the code . Remember about that change when you'll update the framework or the platform version sooner or later. But without customizing the code you can't do what you want.
    In case you update the code remember to inhibit the user interaction in any case where the busy icon were previously displayed.

    S.
    Last edited by sramazzina; 07-21-2010 at 04:48 AM.
    Follow Me on Twitter: sramazzina
    My Skype account: sramazzina
    My Blog
    View my profile on LinkedIn: http://www.linkedin.com/in/sramazzina
    Author of Pentaho Data Integration Kitchen How-To and Pentaho Business Analytics Cookbook

    Join us on IRC server Freenode.net, channel ##pentaho ##saiku

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.