This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Aug 27, 2013, 2:39 PM
10 Posts

Possible to assign an action to widget double click?

  • Category: Widgets and LiveText
  • Platform: All Platforms
  • Release: 9.0
  • Role: Developer
  • Tags: widget,select,double,click,action
  • Replies: 2

Hi,

We distribute a couple of software features using the widget wrapper.  On several occasions we've had users complain that our app is broken because they are trying to interact with it in the widget panel.

Is it possible to assign an action when a user double clicks on the widget?  Even if we could just show a dialog, that would be better than nothing, but ideally I'd like to invoke Java code for displaying either preferences or the sidebar.

 

Thanks,

Colin.

Aug 27, 2013, 7:24 PM
18 Posts
Yes it is possible
You have two options:

1. You can automatically hide the widget from end users in the My Widgets sidebar panel. For more information see this article: http://www-01.ibm.com/support/docview.wss?uid=swg21429340

2. You can provide an action to execute when it is double clicked. The action will be defined in your plugin code and will be linked by an attribute in the widget xml file. See this article for more details: http://www-01.ibm.com/support/docview.wss?uid=swg21399534.
Aug 30, 2013, 7:59 PM
10 Posts
great news!

Thanks for the reply, that's great.


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal