Ajax-based in-page editing is fast becoming a standard feature in various web applications nowadays. It is a very useful feature when one wants to quickly edit data that is displayed on a web page.
We have pages in Sun Cluster Manager (SCM) that list all the properties corresponding to related resource groups and resources. To edit any of these properties, the latest performance-enhanced SCM version for Solaris Cluster 3.2 2/08 provides the option of using in-page editing. The idea is to just click on the data and you are ready to edit!
Compared with the earlier, tedious way of invoking the Edit Properties Wizard for the same task, in-page editing is surely a quick way to get around things.
As with the Edit Properties Wizard, the benefits of using in-page Editing include not having to remember the exact command you need to change a property. But for the ever-curious ones, this feature also displays the command executed and errors (ifany) while editing a property.
Care is taken to permit users to edit only editable properties; properties like Resource Group Name cannot be modified. Properties that can be edited are differentiated by the use of a rectangular “sweet spot” around the property value. On clicking this space, a popup appears that prompts the user to provide a modified value. Lastly, the modification is done by clicking the OK button on the popup, which then executes the corresponding command on the cluster.
To edit more than one property at once, which is not allowed through this feature, the best way is to use the Edit Properties wizard, which is invoked by clicking the Edit Properties button near the top of the Properties page. This wizard would also perform some extra validation checks before the command execution.