: 4582 | 108668 | 12353

Improvement Prompt for ChooseDatabase (type=13) 
Use this IdeaSpace to post ideas about Domino Designer.

: 2
: 4
: 2
: Domino Designer
: lotusscript, @function, Prompt, NotesUIWorkspace, ChooseDatabase, 13
: Vlad Sh10448 24 Nov 2009
:
: / Email
Objects of review:
@Prompt( [style] : [NoSort] ; title ; prompt ; defaultChoice ; choiceList ; filetype )
variant = NotesUIWorkspace.Prompt( type%, title$, prompt$ [, default ] [, values ] )
For type=13 propose:
  1. Unify NUIWs.Prompt, adding the missing parameter filetype, so you can specify the type of the database by default (file mask for display).
  2. Parameter title now does not work. Make it to work.
  3. Рarameter default corresponds to the parameter defaultChoice, and in this case is not used. Use this option to specify a directory or file by default.
Format: server : file
file - can be a initial folder for the "Open Application ..." window and files by default.
  • If the file is not empty, then will attempt to open the folder on the specified server, with the file name should be displayed in the field "File name" dialog.
  • If the folder is not found, then an attempt should be made the opening of the parent folder. If the path fully does not exist, then the server must be open, just as it opens now.
4. It would be good to set multipleSelection (for this can be used in this case an unused parameter choiceList/values), and depending on this to display the "Open" button or "Select". If omit this parameter, then display the both buttons (as is now).
 
EDITED:
I am aware that a much better solution would be to create a separate method ChooseDatabase; do not understand why the engineers IBM went to add type=13 is in the method Prompt, if the choice of database is essentially (and parameters!) is much closer to the OpenFileDialog, than Prompt ... But something must be done about this, because the ability to customize the displayed window, in my opinion, is culture.



No documents found











:
:




Welcome to IdeaJam


You can run IdeaJam™ in your company. It's easy to install, setup and customize. Your employees, partners and customers will immediately see results.

Use IdeaJam to:

  • Collect ideas from employees
  • Solicit feedback and suggestions from employees and customers
  • Run innovation contests and competitions
  • Validate concepts
  • Use the power of "crowd-sourcing" to rank ideas and allow the best ideas to rise to the top

IdeaJam™ works with:

  • IBM Connections
  • IBM Lotus Quickr
  • Blogs and Wikis
  • Websphere Portal
  • Microsoft Sharepoint
  • and other applications.

IdeaJam has an extensive set of widgets and API's that allow you to extend and integrate IdeaJam™ with other applications.

Learn more about IdeaJam >>






IdeaJam developed by

Elguji Software Logo