: 4582 | 108638 | 12353

Disable-when Formula for Action Buttons/Menu Items 
New idea submissions, commenting and voting are no longer available on this site. Logins have also been disabled.
Use this IdeaSpace to post ideas about Domino Designer.

: 50
: 52
: 2
: Domino Designer
: enhancement, ui
: Randy Smith3913 30 Nov 2007
: / Email
For action buttons and menu items, include a "Disable-when" formula that would work similar to the "Hide-when" formula for these controls. The difference being that the "Disable-when" formula would display a grayed-out, disabled control when the formula evaluates to true. In most cases, if you don't want a user to do something, you don't even show them the control (by using a hide-when formula, for example). However, there are cases when it makes sense to display a grayed-out, disabled control to let the user know that the control is available, but not currently enabled. The Lotus Notes and Domino Designer clients have these types of controls, so why don't they provide the ability for developers to design applications with them?

1) Ron Kats642 (01 Dec 2007)
Why not make your own "gray" button to display (with no code or a prompt) and a hidewhen formula for the real button?
2) Peter LaComb682 (01 Dec 2007)
This would certainly fit with the way many Windows apps work (disabling action menus and items rather than hiding them when not available).
3) Randy Smith3913 (01 Dec 2007)
@1 - Yes there are always workarounds that you can include in your design to create *similar* behavior for the limitations in Domino Designer. However, why make it that complicated for the developer? I do use the technique that you described, but it still doesn't provide the exact UI behavior that truly *disabled* controls have in other client software (including the Lotus Notes, Domino Designer, and Domino Administrator client products). The "gray" buttons with no code still gain focus and fire events. Truly disabled controls do not.


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 >>

Use more customization features in ND9 NotesMail
Two-week Calendar view
@Formula library
Drafts - unsent count?
New Hide-When property
Activity Logging for Quickr
"follow-up complete" flag
Remake Resource Reservation template using XPage
Boolean operators on LDAP group based access control
Store IP Address / remote host data in Password Lockout documents
Checking Out-Of-Office status of others
Tool to show unreferenced design elements for easy cleaup
Bring sametime audio and video into the web browser using WebRTC
"Window Title" for views
QuickR application/widgets for Android/iPhone
Create Computed Text with the same text style as the current paragraph
@Function and LotusScript to "View..Customize This View" dialog
Extend the 'User detail' info of a database
Print of calendar in color
Shared Actions belong under Shared Elements
Facelift all web enabled templates with xPages
Please extend WebDAV to include calDAV & cardDAV support for contacts/calendar syncing
Skin-ing Notes Design elemens
Add some views into the "Views" section of the Notes 8.5 mailbox

IdeaJam developed by

Elguji Software Logo