rw.writeAttribute("title", itemData.get("shortDesc"), null);
if (!isDisabled)
{
// Write the script to evaluate once the item is selected
UIXCommand commandChild = (UIXCommand)itemData.get("component");
String destination = toString(itemData.get("destination"));
boolean immediate = false;
boolean partialSubmit = false;
if (destination == null)
{
immediate = getBooleanFromProperty(itemData.get("immediate"));
partialSubmit = getBooleanFromProperty(itemData.get("partialSubmit"));
if (partialSubmit)
{
AutoSubmitUtils.writeDependencies(context, arc);
}
String clientId = commandChild.getClientId(context);
// Make sure we don't have anything to save
assert(arc.getCurrentClientId() == null);
arc.setCurrentClientId(clientId);
// Find the params up front, and save them off -