~Dean QuettootexflarDec 22, 2011, 5:43 AM22 PostsRe: @Prompt( ChooseDatabase]) equivalent in xPages?There is a custom control on OpenNTF http://www.openntf.org/internal/home.nsf/project.xsp?action=openDocument&name=XPages%20Database%20Open%20Dialog%20Custom%20Control
~Anita MinasteringsDec 22, 2011, 10:15 PM298 Posts*also check out the outline control in the Ext. Lib
~Manny RefanabergakolJan 17, 2012, 7:28 PM26 PostsRe: @Prompt( ChooseDatabase]) equivalent in xPages?How would the outline control be used to do this?
~Anita MinasteringsJan 20, 2012, 10:17 PM298 PostsSorry, I had that wrongThe outline control can do a list of views, not databases. You can use the outline control (need the Extension Lib/Upgrade Pack 1) to repeat stuff, basically any list type value. Below is code to do this. You could put this in a dialog or use a repeat control and put that in a dialog with an onClick event so the user can click a database title and store the database title/path/name (whatever you needed or the rep ID) into a viewScope variable. Howard