![]() |
![]() |
There is one piece of unfinished business left over from the To-Do List applet that you created. To keep the applet as simple as possible, we did not include any kind of state checking. The Add and Remove buttons are always available. This is not the ideal behavior for the applet. For example, a user should only be able to select the Remove button if there is an item selected in the To-Do List.
This section leads you through the steps to add state checking to your applet. It's a chance for you to review what you learned when you created the To-Do List applet and to learn a bit more about how the Visual Composition Editor works. This section only deals with the Remove button, but if you want to experiment, you can try to add the same kind of state checking for the Add button.
Before we update the applet to include state checking, we'll go through the steps to find your applet and to create a versioned edition of it.
Note:
This section assumes that you have completed the steps described in Building your first applet. You should now have a
completed, working To-Do List applet. If you have not done so already, please complete the
steps to create the basic To-Do List applet.
![]() |
![]() |