OpenNTF.org - XPages Extension Library
XPages Extension LibraryOpenDocument&Start=1&Count=300&Collapse=1[/Projects/pmt.nsf/ProjectView?ReadForm&Query=]

My Links (Not logged in)
User Name Password
Hosted by Prominic.NET

   Project: XPages Extension Library (Managed by Philippe Riand, Niklas Heidloff, Dave Delay, Akihiro Kosugi, Maire Kehoe, Tony McGuckin, John Piermarini, Martin Donnelly, James Quill, Darin Egan, Padraic Edwards, Andrejus Chaliapinas, Lorcan McDonald, Simon McLoughlin, Paul Hannan)
Actions:

Hide details for The requestThe request

The idea
Proposed by:Anonymous
Project Master Chef:Philippe Riand
Niklas Heidloff
Dave Delay
Akihiro Kosugi
Maire Kehoe
Tony McGuckin
John Piermarini
Martin Donnelly
James Quill
Darin Egan
Padraic Edwards
Andrejus Chaliapinas
Lorcan McDonald
Feature type:
Brief Description:Value Picker - More options to fire the dialog
Status:Submitted

Details

I'm sorry if there is a way already, but I couldn't find this.

I have a value picker and I want to launch the dialog via a button. Currently it may be an image or link automatically generated within picker control.

Some use cases may be using toolbar icon, keyboard event (told before), right click menu, onchange event of another control or onfocus event of the associated control.

I tried a workaround but the picker control does not generate a DOM id by design. Even it generates, some browsers limit the ability to fire onclick event from another part of the context. So, a client side function associated with the control's node will solve this.

Currently, the only workaround is putting the control inside a hidden span and copy the onclick event and put it into a button's onclick. It will not work in custom controls because the js call contains the id of the view.


Action taken
Status:Submitted
Implemented in Release:
Comments:


Modification history
Entered 01-Oct-2011 6:07 by Serdar Basegmez. Last Modified <none> by <none>.

Feedback

Show details for  (Serdar Basegmez... on 10/01/2011 06:07:38 AM ) (Serdar Basegmez... on 10/01/2011 06:07:38 AM )
Check out other projects