Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Cheat Sheet programming issue <onCompletion>(Showing the <onCompletion> text after two skip-able subitems.)
Cheat Sheet programming issue <onCompletion> [message #691615] Fri, 01 July 2011 21:05 Go to next message
Rich Payton is currently offline Rich PaytonFriend
Messages: 21
Registered: June 2011
Junior Member
Here is the problem:

1. I have written a Cheat Sheet that has two sub-items that can be performed.
2. I user can pick which one to perform. They don't have to do both.
3. The step is only considered complete if both subitems are completed.
4. This is the final step of the Cheat Sheet.
5. I want to display <onCompletion> text, but the <onCompletion> text will only display if both subitems are completed.

I would like to write some code that checks both subitems complete as long as one of them is completed. I thought that I might be able to do this through using conditional-subitems.

Any ideas on how to solve this problem?

I could restructure the Cheat Sheet to get the behavior I want, but I would rather solve this problem directly.

Here's the code I am working with:

         title="Set Launch Time">
         The Launch Time (TFG) is defined as seconds after midnight of the launch day (TLDY).  Enter the launch time one of two ways.
Changes in one box will be reflected in the other box.  Choose <b>one</b> of the boxes to enter the time.
            label="Enter the launch time in seconds after midnight"
            label="Enter the launch time in hours, minutes, seconds (HHMMSS)"
      <onCompletion>You have successfully completed this tutorial.  All of the information in the <b>Event Launch Information</b> section should now be completed.

Re: Cheat Sheet programming issue <onCompletion> [message #698165 is a reply to message #691615] Mon, 18 July 2011 23:10 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
Cheat sheets don't have a construct which marks an item as complete when any one of the sub items is complete. This feature does exist for composite cheat sheets but it sounds as though that is not what you were looking for.
Previous Topic:conditional-subitem use in Cheat Sheets
Next Topic:Problem with Keyword Index (since 3.7)
Goto Forum:

Current Time: Sat Jun 23 12:29:27 GMT 2018

Powered by FUDForum. Page generated in 0.01923 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top