+++ This bug was initially created as a clone of Bug #593218 +++
Description of problem:
While creating a new alert sender type, each time you make a selection, you have to click save, in order for more selections to appear. For the Resource Operations type, this is 4 or 5 saves.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create a new alert definition.
2.Click on Edit for the Alert Notification.
3.On the Alert notification page, click on Add New. Select the Alert sender type as Resource Operations.
4.Select the resource selection mode as Relative Resource.
Save button is shown - if you click it you have to reselect the Notification and then more form items are shown with another save button.
All form items should be shown (either immediately or via ajax) and filled in before the user clicks save. He should only have to click save once.
Author: Joseph Marques <email@example.com>
Date: Thu Jun 10 05:18:02 2010 -0400
BZ-599691: automatically reselect the active notification each time "SAVE" is pressed
figure out which one should be selected from the backing store. updating
an alert notification will overwrite all existing notifications with the
latest data. since the ids of the alert notifications are different after
a save-action, but since we know what the updated data, we can select the
correct one by testing for data equality (instead of pk/id equality).
Comment above was for different bug. moving this one back to dev.
we won't fix this JSF view since our new GWT UI supercedes this and it doesn't have this problem.